# Achieving 8x Lower Cost Analytics with GPU-Accelerated DuckDB

## Abstract

DuckDB has become the analytical engine of choice everywhere—from notebooks and embedded applications to production data workflows. At the same time GPUs have rapidly evolved into powerful and cost-efficient engines for general-purpose parallel compute. Sirius brings these two trends together by enabling GPU-native execution for DuckDB—without requiring users to change how they write queries. In this session, we’ll explore how Sirius offloads DuckDB workloads to GPUs, accelerating analytics by up to 8x at the same hardware rental cost. Learn how this new architecture combines DuckDB’s simplicity with the power of GPU compute, unlocking faster, more cost-efficient interactive analytics while preserving the elegance of a single-node engine.

## AI Summary

- Presented a GPU-native SQL engine, Sirius, which accelerates DuckDB for improved performance and cost efficiency.
- Demonstrated a 9x speedup in TPC-H queries and achieved top rankings in ClickBench, showcasing significant performance gains.
- Highlighted the modular, interoperable, composable, and extensible (MICE) design principles of Sirius, allowing easy integration and customization.
- Discussed the future roadmap of Sirius, including support for single-node multi-GPUs, spilling to disk, remote data sources, and becoming a core DuckDB extension.
- Emphasized the importance of community contributions and partnerships, inviting researchers and users to participate in the development.
- Sirius managed its own caching system, ensuring efficient data handling and performance, even with large datasets.

## Transcript

**[00:00:05 – 00:00:08]** All right, thank you very much, Kara, for the introduction.

**[00:00:08 – 00:00:15]** It's super exciting here to be here to talk about Sirius and how we

**[00:00:15 – 00:00:20]** use GPU to accelerate DuckDB by ADX in terms of performance per dollar.

**[00:00:20 – 00:00:26]** So my name is Xiangyao, and so the other speaker, Bobby,

**[00:00:26 – 00:00:28]** so we'll talk about this together.

**[00:00:28 – 00:00:31]** And we also have a guest speaker.

**[00:00:31 – 00:00:36]** Hannah Muehlisen, who is the creator of DuckDB, and he

**[00:00:36 – 00:00:38]** has some really exciting news to announce in the middle

**[00:00:38 – 00:00:42]** of this talk, so stay for that.

**[00:00:42 – 00:00:44]** So here's the agenda for this talk.

**[00:00:44 – 00:00:47]** I will first give you an introduction, like

**[00:00:47 – 00:00:51]** why DuckDB, and why GPU, why GPU database, and why now.

**[00:00:51 – 00:00:55]** Why this is a great time to do this kind of work today.

**[00:00:56 – 00:00:58]** And then I will talk about the architecture and design

**[00:00:58 – 00:00:59]** principles of Sirius.

**[00:00:59 – 00:01:03]** We'll give you a demo of Sirius, like show you how it works.

**[00:01:03 – 00:01:07]** After that Hannes will make the exciting announcement

**[00:01:07 – 00:01:12]** and after that Bobby will take over to explain some details of

**[00:01:12 – 00:01:15]** the Sirius architecture and design.

**[00:01:16 – 00:01:18]** Okay, so DuckDB, right?

**[00:01:18 – 00:01:22]** So DuckDB is this embedded database that appeared in

**[00:01:22 – 00:01:23]** the last ten years.

**[00:01:23 – 00:01:27]** Like, it's amazing, in-process database that has great

**[00:01:27 – 00:01:32]** performance, and is completely open source under MIT license.

**[00:01:32 – 00:01:35]** So we have seen tremendous growth and adoption of DuckDB

**[00:01:35 – 00:01:38]** in the past ten years.

**[00:01:38 – 00:01:42]** And DuckDB has been widely adopted, used by data engineers,

**[00:01:42 – 00:01:47]** scientists, researchers, and also industry companies, independent

**[00:01:47 – 00:01:48]** software vendors.

**[00:01:48 – 00:01:51]** So here the slide shows only a few companies, but there

**[00:01:51 – 00:01:55]** are like hundreds, thousands, or even more users of DuckDB,

**[00:01:55 – 00:01:58]** like in almost all companies today.

**[00:01:58 – 00:01:59]** DuckDB has great performance.

**[00:01:59 – 00:02:02]** At the bottom of the slide, I'm showing the...

**[00:02:02 – 00:02:05]** The performance ranking on ClickBench, and you can see DuckDB

**[00:02:05 – 00:02:10]** is on the top view of the list.

**[00:02:11 – 00:02:14]** All right, so at the same time, we also see, okay, if

**[00:02:14 – 00:02:19]** DuckDB, DuckDB is great, so can we use GPU to accelerate it?

**[00:02:19 – 00:02:24]** And traditionally, GPU were not fantastic in accelerating

**[00:02:25 – 00:02:28]** data analytics, so there were some challenges in GPU in

**[00:02:28 – 00:02:34]** the past, but we see that we are at an inflection point today, and it's

**[00:02:34 – 00:02:39]** becoming more and more promising to use GPU for this kind of workloads.

**[00:02:39 – 00:02:44]** So first, GPU is no longer a pure accelerator, it's becoming

**[00:02:44 – 00:02:47]** more and more of a general-purpose computing platform.

**[00:02:48 – 00:02:53]** And data analytics is actually one of the first few applications

**[00:02:53 – 00:02:55]** that are a great fit for GPU architecture.

**[00:02:55 – 00:02:59]** Like data analytics is all about, like I'm talking about structured

**[00:02:59 – 00:03:01]** data, it's all about tables.

**[00:03:01 – 00:03:03]** And you're performing similar operations for

**[00:03:03 – 00:03:04]** every row in that table.

**[00:03:04 – 00:03:07]** So that is actually perfectly parallelizable and it can

**[00:03:07 – 00:03:11]** run really efficiently on GPU.

**[00:03:11 – 00:03:16]** So, however, there has been a few challenges that stops the wider

**[00:03:16 – 00:03:18]** adoption of GPU data analytics.

**[00:03:18 – 00:03:21]** So, for example, GPU memory has been limited in size in

**[00:03:21 – 00:03:25]** the past, and the interconnection between CPU and GPU has always

**[00:03:25 – 00:03:27]** been a bottleneck in these systems.

**[00:03:27 – 00:03:31]** And finally, building a database is a lot of engineering work, and

**[00:03:31 – 00:03:35]** if we have to restart that whole process on GPU, that's going to

**[00:03:35 – 00:03:38]** be a lot of engineering complexity.

**[00:03:38 – 00:03:41]** But in recent years, the hardware and software trends are kind

**[00:03:42 – 00:03:44]** of changing this landscape.

**[00:03:45 – 00:03:47]** For example, in the first challenge, GPU memory

**[00:03:47 – 00:03:51]** capacity, we're seeing HBM memory size to be increasing

**[00:03:51 – 00:03:53]** tremendously over the years.

**[00:03:53 – 00:03:56]** The latest one has 288 gigabytes of GPU memory.

**[00:03:58 – 00:04:02]** And the CPU-GPU interconnect is also getting much faster, like

**[00:04:02 – 00:04:07]** the PCIe was not super fast, but with NVLink-C2C, we're not talking

**[00:04:08 – 00:04:12]** about a terabyte or two terabytes per second of bandwidth between

**[00:04:12 – 00:04:17]** CPU and GPU, which is even faster than your CPU memory bandwidth.

**[00:04:17 – 00:04:20]** And finally, in terms of the engineering complexity, we

**[00:04:20 – 00:04:23]** are seeing two software trends.

**[00:04:23 – 00:04:26]** The first one is database systems are becoming more

**[00:04:26 – 00:04:27]** and more composable.

**[00:04:28 – 00:04:31]** So when you design a database today, you don't have to write

**[00:04:31 – 00:04:33]** everything from scratch.

**[00:04:33 – 00:04:35]** You can just change the module that you want to change.

**[00:04:35 – 00:04:39]** For example, you just change the execution engine to a

**[00:04:39 – 00:04:42]** GPU engine, but you don't need to change the rest of the

**[00:04:42 – 00:04:44]** system, which makes it much easier.

**[00:04:44 – 00:04:50]** And even better, now we have more and more mature GPU libraries.

**[00:04:50 – 00:04:54]** So they have already, like CUDA X, they implemented a

**[00:04:54 – 00:04:57]** lot of features for us.

**[00:04:57 – 00:05:00]** So when you build a database, you don't need to rebuild

**[00:05:00 – 00:05:03]** the operators, like a join, aggregation, they are all

**[00:05:03 – 00:05:06]** already implemented.

**[00:05:07 – 00:05:10]** So here is the architecture of Sirius, the GPU-native

**[00:05:10 – 00:05:14]** SQL engine that we are building.

**[00:05:15 – 00:05:18]** If you look at the architecture, as I said, Sirius is this

**[00:05:18 – 00:05:24]** layer that's inside an existing architecture stack.

**[00:05:25 – 00:05:29]** On the top, we have DuckDB, which is our primary support engine.

**[00:05:29 – 00:05:31]** Then we take the logical plan of DuckDB.

**[00:05:31 – 00:05:34]** We don't change the internal of DuckDB.

**[00:05:34 – 00:05:38]** With the logical plan, we send that to GPU for execution.

**[00:05:38 – 00:05:40]** And that is where Sirius sits.

**[00:05:40 – 00:05:43]** And below Sirius layer, there are different libraries

**[00:05:43 – 00:05:48]** developed by NVIDIA like CUDA, CUDAx, that supports

**[00:05:48 – 00:05:52]** different operators like join, aggregation, memory management,

**[00:05:52 – 00:05:57]** malloc, nixel for data exchange across different nodes, and

**[00:05:57 – 00:05:59]** cuCascade for buffer management.

**[00:05:59 – 00:06:03]** So Sirius leveraged all of these libraries and leveraged

**[00:06:03 – 00:06:06]** the existing database frontends.

**[00:06:06 – 00:06:10]** So for single node, DuckDB is our primary focus today.

**[00:06:10 – 00:06:15]** We have some support for Doris, and maybe more support in the future.

**[00:06:16 – 00:06:18]** And the architecture allows us to support even more database

**[00:06:18 – 00:06:21]** systems on the roadmap.

**[00:06:22 – 00:06:27]** So, yeah, so DuckDB, Sirius can, through this architecture, it can

**[00:06:27 – 00:06:32]** achieve 9x speedup in terms of cost efficiency, and we will show you

**[00:06:32 – 00:06:36]** a lot more results in later slides.

**[00:06:37 – 00:06:42]** So, this is one popular benchmark called ClickBench.

**[00:06:42 – 00:06:46]** And we made an announcement last year in December that

**[00:06:46 – 00:06:49]** we became the world number one in ClickBench, and we optimized

**[00:06:49 – 00:06:51]** performance even more since then.

**[00:06:51 – 00:06:56]** So, the results you see here is the latest numbers we...

**[00:06:57 – 00:07:01]** In terms of Hot Run, Sirius is actually on two different

**[00:07:01 – 00:07:04]** hardware platforms, number one and number two.

**[00:07:04 – 00:07:07]** And the combined run, which is combining both Hot Run

**[00:07:07 – 00:07:11]** and Code Run, we also got number one recently.

**[00:07:11 – 00:07:16]** And this is on GH200 hardware, which is actually much cheaper

**[00:07:17 – 00:07:20]** than the hardware that the CPU databases use.

**[00:07:20 – 00:07:23]** They are, like the CPU database, they actually, they use one

**[00:07:23 – 00:07:27]** of the, probably the most expensive instance on AWS today.

**[00:07:27 – 00:07:30]** So GH200 is actually pretty cheap.

**[00:07:30 – 00:07:33]** LambdaLabs is only $2 per hour.

**[00:07:33 – 00:07:35]** It's actually much cheaper.

**[00:07:35 – 00:07:38]** So it's fast and cheap.

**[00:07:38 – 00:07:41]** Yeah, so in terms of the design of Sirius, we follow a few

**[00:07:41 – 00:07:43]** major principles, right?

**[00:07:43 – 00:07:47]** The first one is, we want Sirius to be GPU-native execution.

**[00:07:47 – 00:07:52]** So GPU is the primary execution engine, and it's GPU-first.

**[00:07:52 – 00:07:56]** We do not retrofit existing CPU design.

**[00:07:56 – 00:08:00]** And we made a decision that Sirius is not going to have hybrid

**[00:08:00 – 00:08:02]** execution across CPU and GPU.

**[00:08:02 – 00:08:06]** So GPU only, but if the query doesn't work, because maybe

**[00:08:06 – 00:08:10]** some feature is not supported, then we fall back completely to DuckDB.

**[00:08:10 – 00:08:13]** So we try to query on GPU, if it doesn't work, we run

**[00:08:13 – 00:08:15]** it completely in DuckDB in CPU.

**[00:08:15 – 00:08:20]** So that decision simplifies the design space substantially,

**[00:08:20 – 00:08:23]** so it's not as complex.

**[00:08:23 – 00:08:25]** The second design principle is called

**[00:08:25 – 00:08:30]** MICE, Modular, Interoperable, Composable, and Extensible.

**[00:08:30 – 00:08:34]** And so we want, as I said, we want this to be a drop-in solution.

**[00:08:34 – 00:08:38]** You can take Sirius, and if you want to use different

**[00:08:38 – 00:08:41]** operator implementation, you can add your own, it's easy

**[00:08:41 – 00:08:43]** to try your own operator.

**[00:08:43 – 00:08:47]** If you want a different front-end, you can do that.

**[00:08:47 – 00:08:52]** So we make it very easy to integrate Sirius into whatever

**[00:08:52 – 00:08:58]** environment or system that you are using and optimize it as well.

**[00:08:58 – 00:09:02]** So let me show you a demo of how it works.

**[00:09:02 – 00:09:05]** So on this demo, I'm going to show you only one query,

**[00:09:05 – 00:09:07]** and we will show you results for many, many queries later, but

**[00:09:07 – 00:09:13]** the demo is just TPC-H query nine with scale factor one terabyte,

**[00:09:13 – 00:09:15]** and the data is in Parquet format.

**[00:09:15 – 00:09:18]** The CPU instance we're using is actually the

**[00:09:18 – 00:09:20]** most expensive instance on AWS.

**[00:09:20 – 00:09:22]** It's like $21 per hour.

**[00:09:22 – 00:09:26]** We run DuckDB there, and on GPU, we run DGX station, which

**[00:09:26 – 00:09:30]** is a single GB300 instance.

**[00:09:30 – 00:09:33]** And you can note that the data size is actually bigger

**[00:09:33 – 00:09:34]** than the memory size of the GPU.

**[00:09:34 – 00:09:38]** So the system works even if the data doesn't fit in GPU.

**[00:09:38 – 00:09:41]** We can automatically figure out the data movement between GPU

**[00:09:41 – 00:09:46]** memory and CPU memory stashed SSD.

**[00:09:46 – 00:09:48]** OK, so here's the query.

**[00:09:48 – 00:09:52]** On the left is the DuckDB query, TPC-H query 9.

**[00:09:52 – 00:09:55]** If you're familiar, you probably can recognize this.

**[00:09:55 – 00:09:59]** And on the right, we are running exactly the same query.

**[00:09:59 – 00:10:01]** It's exactly the same.

**[00:10:01 – 00:10:05]** The only difference is here we call GPU execution.

**[00:10:05 – 00:10:08]** So in the future, we will make it a configuration flag

**[00:10:08 – 00:10:12]** so that these two queries look identical in terms of

**[00:10:12 – 00:10:14]** the highlighted color, et cetera.

**[00:10:14 – 00:10:18]** So let's run it.

**[00:10:20 – 00:10:25]** So, yeah, so they start to run.

**[00:10:26 – 00:10:28]** And on the right, you can see, okay, the query has already

**[00:10:28 – 00:10:29]** finished on Sirius.

**[00:10:29 – 00:10:32]** It took about 2.5 seconds.

**[00:10:32 – 00:10:35]** If you look at the bottom, the real number after the

**[00:10:35 – 00:10:38]** real, it takes about 2.5 seconds.

**[00:10:38 – 00:10:41]** On the left, okay, on the left, DuckDB also finished.

**[00:10:41 – 00:10:43]** It takes about 16 seconds.

**[00:10:43 – 00:10:48]** So you can see in this particular query, Sirius is about more

**[00:10:48 – 00:10:51]** than six times faster, and the results are identical.

**[00:10:51 – 00:10:53]** You can compare these two output tables there.

**[00:10:53 – 00:10:56]** They just produce the same result.

**[00:11:01 – 00:11:05]** Okay, so now it's a great honor for me to invite Hannes to

**[00:11:05 – 00:11:11]** make a super exciting announcement between Sirius and DuckDB.

**[00:11:12 – 00:11:15]** Hello everybody.

**[00:11:15 – 00:11:18]** Of course, I'm not happy that they make us look so bad with

**[00:11:18 – 00:11:20]** their performance.

**[00:11:20 – 00:11:25]** But so in case you don't know me, my name is Hannes.

**[00:11:25 – 00:11:29]** I, many years ago, I decided together with Mark that a

**[00:11:29 – 00:11:31]** new database system was needed.

**[00:11:31 – 00:11:36]** And indeed that has sort of seemed to have struck a nerve.

**[00:11:36 – 00:11:39]** It is the fastest growing data management system that

**[00:11:39 – 00:11:41]** has been around ever.

**[00:11:41 – 00:11:43]** And it has an ecosystem of extensions.

**[00:11:43 – 00:11:45]** So DuckDB

**[00:11:45 – 00:11:48]** Because we can't really solve all the problems, we have

**[00:11:48 – 00:11:52]** made it possible for other people to build things very deeply in

**[00:11:52 – 00:11:55]** the system that we call extensions.

**[00:11:55 – 00:11:58]** And so Sirius is actually one of those extensions.

**[00:11:58 – 00:12:03]** So basically what they have done is they built an extension

**[00:12:03 – 00:12:08]** for DuckDB that is able to do this GPU sort of execution

**[00:12:08 – 00:12:11]** of queries, making it faster.

**[00:12:11 – 00:12:14]** There's different sort of tiers of extensions.

**[00:12:14 – 00:12:18]** There's community extensions, which basically, think of it

**[00:12:18 – 00:12:22]** a bit like this pip, where anything goes, but we've started actually

**[00:12:22 – 00:12:30]** working recently with NVIDIA, and we will be elevating Sirius

**[00:12:30 – 00:12:35]** as a core DuckDB extension, which means it's part of the core system.

**[00:12:35 – 00:12:38]** And it will be the sort of blessed way of running queries

**[00:12:38 – 00:12:40]** on GPUs with DuckDB.

**[00:12:40 – 00:12:44]** And we're really excited to be working together in the future

**[00:12:44 – 00:12:47]** to make this work really smoothly.

**[00:12:47 – 00:12:49]** So that's the announcement.

**[00:12:49 – 00:12:51]** I have one minor other announcement.

**[00:12:51 – 00:12:55]** I have a bunch of stickers up here if you want to grab them later.

**[00:13:02 – 00:13:04]** Thank you so much, Hannes, for the announcements.

**[00:13:05 – 00:13:08]** We are really looking forward to the partnership that we

**[00:13:08 – 00:13:12]** will have with DuckDB between NVIDIA, Sirius, and DuckDB.

**[00:13:12 – 00:13:14]** Really looking forward.

**[00:13:14 – 00:13:17]** And for the next sessions, I'm going to talk a little

**[00:13:17 – 00:13:21]** bit about the technical details of Sirius and how we achieved

**[00:13:21 – 00:13:22]** this great performance.

**[00:13:22 – 00:13:25]** We will also talk a little bit about more evaluations

**[00:13:25 – 00:13:27]** and more experiments that I'm going to show you guys.

**[00:13:27 – 00:13:33]** So, let's start with some of the key features of Sirius.

**[00:13:33 – 00:13:35]** I'm not going to go through all of these key features,

**[00:13:35 – 00:13:39]** but I want to highlight one of them, which is spilling.

**[00:13:39 – 00:13:44]** So, we know that our workload does not always fit in the GPU memory.

**[00:13:45 – 00:13:49]** And then often we have to sort of like spill between like GPU memory

**[00:13:49 – 00:13:51]** to host or like even to disk.

**[00:13:51 – 00:13:52]** So this is some feature.

**[00:13:52 – 00:13:55]** This is a feature that we just recently introduced

**[00:13:55 – 00:13:57]** in Sirius for GDC.

**[00:13:57 – 00:14:01]** And we do spilling through a library called QCascade.

**[00:14:01 – 00:14:04]** So QCascade is open-source

**[00:14:04 – 00:14:12]** GPU memory management library for data analytics that we introduced.

**[00:14:12 – 00:14:14]** And there will be a talk about QCascade.

**[00:14:14 – 00:14:17]** So for those of you who are interested in like how to manage

**[00:14:17 – 00:14:23]** GPU memory, how to do spilling, there is like a talk at 2 p.m.

**[00:14:23 – 00:14:28]** in this room today to talk like more details about QCascade.

**[00:14:29 – 00:14:33]** All right, let's talk a little bit about what it's like Sirius

**[00:14:33 – 00:14:39]** designs looks like and how the query lifecycle works in Sirius.

**[00:14:39 – 00:14:43]** So we are developing Sirius as a library that can be plugged

**[00:14:43 – 00:14:45]** in as a DuckDB extension, right?

**[00:14:45 – 00:14:49]** So we don't make any modifications to DuckDB codebase.

**[00:14:49 – 00:14:51]** It's running as an extension.

**[00:14:51 – 00:14:55]** We don't make any modifications to like the DuckDB UI itself.

**[00:14:55 – 00:14:58]** So like we are still, you can still use like DuckDB command line

**[00:14:58 – 00:15:03]** interface, you can still use DuckDB Python API if you want to use it.

**[00:15:03 – 00:15:06]** And we also support like fallback execution to DuckDB when there

**[00:15:06 – 00:15:09]** is like features that are not supported in Sirius.

**[00:15:09 – 00:15:10]** We just like fall back to DuckDB.

**[00:15:10 – 00:15:14]** So the worst performance that you can get is a DuckDB performance,

**[00:15:14 – 00:15:16]** which is pretty damn good.

**[00:15:16 – 00:15:18]** Right, so let's see how it works.

**[00:15:18 – 00:15:22]** So we use DuckDB Query Parser and Query Optimizers, which

**[00:15:22 – 00:15:26]** will produce like DuckDB logical plan, right?

**[00:15:26 – 00:15:29]** This DuckDB logical plan will be consumed by a component

**[00:15:29 – 00:15:33]** in Sirius that does the plan conversions, which is essentially

**[00:15:33 – 00:15:36]** like converting this logical plan into a physical plan

**[00:15:36 – 00:15:38]** that will be executed on GPUs.

**[00:15:38 – 00:15:41]** After that, we have like a task creator, which is like

**[00:15:41 – 00:15:42]** basically based on those plans.

**[00:15:42 – 00:15:46]** It's like creating tasks to be executed.

**[00:15:46 – 00:15:50]** These tasks will be submitted into our executors.

**[00:15:50 – 00:15:54]** Our executors is built on top of libcuDF, which is one of

**[00:15:54 – 00:16:00]** the CUDAx libraries at NVIDIA, to implement these database operators.

**[00:16:00 – 00:16:05]** When the data is not being executed in the executors,

**[00:16:05 – 00:16:09]** the data is gonna be contained or sit in a component called

**[00:16:09 – 00:16:10]** the data repository.

**[00:16:10 – 00:16:13]** So this is basically a container of data when the data is

**[00:16:13 – 00:16:16]** not in processing.

**[00:16:16 – 00:16:19]** This is a component that we implement using a library

**[00:16:19 – 00:16:25]** called QCascade, and we also have another executors, which is like

**[00:16:25 – 00:16:28]** we call it the downgrade executors, which is like we'll be the

**[00:16:28 – 00:16:30]** executors who manage the spilling.

**[00:16:30 – 00:16:33]** So downgrade executors can basically identify data in

**[00:16:33 – 00:16:37]** the data repositories of like which data they want to spill and so on,

**[00:16:37 – 00:16:40]** and also build on top of QCascade.

**[00:16:40 – 00:16:43]** If you notice here, we do have separate executors between

**[00:16:43 – 00:16:47]** downgrade executors and our actually compute executors.

**[00:16:47 – 00:16:50]** We do this so that we can do the spilling asynchronously

**[00:16:50 – 00:16:51]** to the executions.

**[00:16:51 – 00:16:54]** That's pretty important in GPUs, because in GPUs the

**[00:16:54 – 00:16:56]** execution is very fast, so we don't want the spilling

**[00:16:56 – 00:17:00]** to bottleneck the execution.

**[00:17:01 – 00:17:04]** All right, let's see how the plan conversion works, right?

**[00:17:04 – 00:17:09]** We have this like DuckDB, let's say like logical plan.

**[00:17:09 – 00:17:14]** Typically in DuckDB, we convert this logical plan into a pipeline.

**[00:17:14 – 00:17:16]** Let's just call it the DuckDB pipeline.

**[00:17:16 – 00:17:19]** For Sirius, we're gonna like convert it again into

**[00:17:19 – 00:17:22]** something that I will call like a Sirius pipeline.

**[00:17:22 – 00:17:25]** The main difference between DuckDB Pipeline and Sirius

**[00:17:25 – 00:17:28]** Pipeline is that in Sirius, we introduce some new operators.

**[00:17:28 – 00:17:31]** Like if you can see here, there's like a partition operators,

**[00:17:31 – 00:17:33]** concatenation operators.

**[00:17:33 – 00:17:37]** And some of these operators like are needed for, it's gonna help

**[00:17:37 – 00:17:40]** for like when we want to expand to like multi-GPUs, for example.

**[00:17:40 – 00:17:42]** If you're like single-node multi-GPUs or like

**[00:17:42 – 00:17:45]** multi-node multi-GPUs for distributed executions.

**[00:17:45 – 00:17:50]** And also this will help with like spilling and out-of-core

**[00:17:50 – 00:17:51]** execution as well.

**[00:17:51 – 00:17:52]** Because, like,

**[00:17:52 – 00:17:55]** We now no longer have to sort of like fit in the whole hash

**[00:17:55 – 00:17:57]** table inside a GPU memory.

**[00:17:57 – 00:18:00]** We can actually just like fit in like a partition of a hash table

**[00:18:00 – 00:18:02]** in the GPU memory, for example.

**[00:18:02 – 00:18:06]** So most of our sort of like plan modifications is to support

**[00:18:06 – 00:18:09]** spilling on GPUs.

**[00:18:10 – 00:18:12]** And let's see how the spilling actually works.

**[00:18:12 – 00:18:16]** So after we break down the query into what we call Sirius

**[00:18:16 – 00:18:19]** Pipelines, this is like the Sirius Pipelines, the thing

**[00:18:19 – 00:18:21]** that we're going to do next is that we're going to insert a

**[00:18:21 – 00:18:25]** component called a data repository in between these pipelines.

**[00:18:25 – 00:18:29]** In this example, we have four pipelines and we insert

**[00:18:29 – 00:18:31]** four data repositories in between these pipelines.

**[00:18:31 – 00:18:35]** The data repository is exactly connecting the pipelines, so like

**[00:18:35 – 00:18:40]** the output of one pipeline will be pushed into the repository and

**[00:18:40 – 00:18:47]** then the subsequent pipeline will take its input from the repository.

**[00:18:47 – 00:18:50]** So inside a repository, it's just like a collection of data.

**[00:18:50 – 00:18:53]** This is a collection of data that's sitting in between the pipeline.

**[00:18:53 – 00:18:55]** We call it a data batch.

**[00:18:55 – 00:19:00]** This is like our sort of like unit of operations in Sirius.

**[00:19:00 – 00:19:03]** In DuckDB, they call it like data channel, for example.

**[00:19:03 – 00:19:06]** Here, we just, you know, in order to avoid confusions,

**[00:19:06 – 00:19:08]** we call it the data batch.

**[00:19:08 – 00:19:13]** And a data batch itself can have like different representations.

**[00:19:14 – 00:19:18]** So, for example, a data batch can be a GPU, sort of like

**[00:19:18 – 00:19:19]** resident data batch.

**[00:19:19 – 00:19:23]** In this case, like it will be a wrapper around QDF table

**[00:19:23 – 00:19:26]** because like we are using QDF operators, right?

**[00:19:26 – 00:19:30]** But it can also be a data that's like sitting on the

**[00:19:30 – 00:19:32]** host, like pin memory, for example.

**[00:19:32 – 00:19:35]** In this case, we make it as a wrapper of like a fixed

**[00:19:35 – 00:19:38]** size allocations in the pin memory.

**[00:19:38 – 00:19:44]** And there is a converter between the data representations,

**[00:19:44 – 00:19:47]** and all of these are implemented inside QCascade.

**[00:19:47 – 00:19:50]** So if you guys want to use these features, you can use

**[00:19:50 – 00:19:53]** the library of QCascade to implement it yourself.

**[00:19:53 – 00:19:57]** And one of the favorite things that I like about QCascade

**[00:19:58 – 00:20:02]** is that you can also define your own custom data representations.

**[00:20:02 – 00:20:08]** For example, for Sirius, we want to have like a DuckDB data

**[00:20:08 – 00:20:11]** representation, for example, which is a wrapper around DuckDB data

**[00:20:11 – 00:20:14]** channel, because we have to sort of like return the results to DuckDB.

**[00:20:14 – 00:20:17]** So we implement like DuckDB data representations, and

**[00:20:17 – 00:20:22]** we can also implement a custom converter between our custom

**[00:20:22 – 00:20:26]** data representations with like existing data representation that's

**[00:20:26 – 00:20:28]** already implemented in QCascade.

**[00:20:28 – 00:20:31]** So this is all abstracted and customizable, extensible,

**[00:20:31 – 00:20:35]** and yeah, it's great.

**[00:20:35 – 00:20:38]** Another thing is that I will highlight again that we have

**[00:20:38 – 00:20:41]** a downgrader or a downgrade executors, right?

**[00:20:41 – 00:20:43]** And its job is just looking at the data that's sitting

**[00:20:43 – 00:20:46]** in the data repositories, and then see which data that has

**[00:20:46 – 00:20:48]** the opportunity to be downgraded.

**[00:20:48 – 00:20:51]** And it will be scanning the downgrade targets.

**[00:20:51 – 00:20:53]** And when it's downgraded, it just needs to call this

**[00:20:53 – 00:20:59]** converter, in QK's case, to convert between these data representations.

**[00:21:01 – 00:21:04]** And how about the execution itself, right?

**[00:21:04 – 00:21:06]** The granularity of executions will happen

**[00:21:06 – 00:21:08]** in the granularity of a task.

**[00:21:08 – 00:21:13]** A task here in Sirius consists of two things, basically.

**[00:21:13 – 00:21:16]** The first is the pipeline that it's going to execute.

**[00:21:16 – 00:21:18]** In this example, let's say it's a pipeline of filter

**[00:21:18 – 00:21:20]** followed by groupby.

**[00:21:20 – 00:21:22]** So that's the pipeline that you are trying to execute.

**[00:21:22 – 00:21:26]** And then the second thing in a task is the input to those pipelines.

**[00:21:26 – 00:21:28]** In this example, it's like

**[00:21:28 – 00:21:32]** Most of the pipelines will have an input of data batch or some data

**[00:21:32 – 00:21:37]** batch into the pipeline, but some operators might also need metadata

**[00:21:37 – 00:21:40]** and so on for its input, so the task is basically the pipeline

**[00:21:40 – 00:21:43]** and the input to the pipeline.

**[00:21:43 – 00:21:48]** This task will be queued in a component called the TaskScheduler,

**[00:21:48 – 00:21:51]** which will basically queue this task and then dispatch

**[00:21:51 – 00:21:53]** it to different GPU executors.

**[00:21:54 – 00:21:56]** In this example, for example, we have, let's say, two GPUs,

**[00:21:56 – 00:22:00]** then we can have two GPU executors.

**[00:22:00 – 00:22:03]** Currently Sirius is a single node, single GPU engine, so

**[00:22:04 – 00:22:06]** our scheduler right now is pretty simple, it's just doing a

**[00:22:06 – 00:22:09]** FIFO, because we only have one GPU.

**[00:22:09 – 00:22:12]** But we make it extensible, so in the future if you want

**[00:22:12 – 00:22:15]** to add multiple GPU executors, we have this task scheduler

**[00:22:15 – 00:22:18]** that can dispatch things for us.

**[00:22:18 – 00:22:23]** The GPU executor will just execute the operators using QDF, right?

**[00:22:24 – 00:22:26]** Another capability that we have is that we can retry

**[00:22:26 – 00:22:28]** the task on failures.

**[00:22:28 – 00:22:32]** So, for example, if the task is, like, for whatever reasons,

**[00:22:32 – 00:22:36]** it's, like, failing to execute in the GPU executors, you can actually

**[00:22:36 – 00:22:42]** retry the task by, like, queuing it again in the task scheduler.

**[00:22:44 – 00:22:49]** And aside from that, we are also doing some explorations ourselves

**[00:22:49 – 00:22:52]** with how Sirius would look like in a distributed architecture.

**[00:22:52 – 00:22:58]** Our initial explorations is like we use this distributed

**[00:22:58 – 00:23:00]** engine called Doris.

**[00:23:01 – 00:23:03]** So here I'm just like comparing to two of like what is like

**[00:23:03 – 00:23:06]** the query lifecycle in Doris looks like and query lifecycle

**[00:23:06 – 00:23:07]** in Sirius looks like.

**[00:23:07 – 00:23:11]** This is like still a very early stage, but it's in our roadmap.

**[00:23:11 – 00:23:15]** In Doris itself, they have like a coordinator which produce

**[00:23:15 – 00:23:17]** like Doris internal query plan.

**[00:23:17 – 00:23:21]** It will be divided into query plan fragments that will be executed by

**[00:23:21 – 00:23:25]** this like Doris worker, which can exchange data between one another

**[00:23:25 – 00:23:28]** using the RPC as their protocol.

**[00:23:28 – 00:23:33]** For Sirius, we take the same approach as we did with DuckDB.

**[00:23:33 – 00:23:38]** We intercept Dory's internal query plan fragments, and then

**[00:23:38 – 00:23:41]** we have, like, a Sirius backend that is currently written on Rust

**[00:23:41 – 00:23:45]** that will convert this, like, plan fragments into substrate format and

**[00:23:45 – 00:23:47]** then running Sirius Compute Layer.

**[00:23:47 – 00:23:51]** Sirius Compute Layer here is actually running Sirius on DuckDB

**[00:23:51 – 00:23:54]** extensions using DuckDB substrate This is a great extension to sort

**[00:23:54 – 00:23:58]** of like consume the substrate plan and then executing it on Sirius.

**[00:23:58 – 00:24:01]** If you want to do an exchange between different compute

**[00:24:01 – 00:24:05]** nodes, we are using another CUDAx library, another NVIDIA

**[00:24:05 – 00:24:11]** library called Nixle, that can be used for data exchange.

**[00:24:11 – 00:24:18]** Now, let's see some exciting evaluations, exciting numbers here.

**[00:24:18 – 00:24:22]** So the first number here is of a TPC-H of scale

**[00:24:22 – 00:24:24]** factor one terabytes.

**[00:24:24 – 00:24:26]** I'm running here on a DGX stations.

**[00:24:26 – 00:24:30]** By the way, we just announced yesterday that like DGX stations

**[00:24:30 – 00:24:32]** now like you can order DGX station.

**[00:24:32 – 00:24:36]** Now I'm going to show you like how to make your data

**[00:24:36 – 00:24:39]** analytics great with the DGX stations that you can buy.

**[00:24:39 – 00:24:43]** The data is on the Parquet Format, and we accelerate

**[00:24:43 – 00:24:45]** DuckDB here by 5x.

**[00:24:45 – 00:24:49]** If you notice as well, we achieve great speedup across

**[00:24:49 – 00:24:54]** all queries, and then the sum of our performance here is 21 seconds.

**[00:24:54 – 00:24:57]** I will not spoil anything, but if you are following the

**[00:24:57 – 00:25:01]** TPC-H benchmark and so on, the TPC-H official record

**[00:25:01 – 00:25:04]** is actually slower than 21 seconds.

**[00:25:04 – 00:25:07]** I'm just going to say that.

**[00:25:08 – 00:25:10]** We also try to run Sirius across different scale factors.

**[00:25:10 – 00:25:12]** There's like here, I'm sweeping the scale factor from scale

**[00:25:12 – 00:25:16]** factor 10 to scale factor 1,000.

**[00:25:16 – 00:25:19]** We are running here on the DGX station as well.

**[00:25:19 – 00:25:21]** And we see a trend here that like, the larger the scale

**[00:25:21 – 00:25:24]** factor, we get like better speedup.

**[00:25:24 – 00:25:25]** There is a little bit of performance degradation

**[00:25:26 – 00:25:31]** on scale factor 1000 because there are spillings going on.

**[00:25:31 – 00:25:33]** Our spilling features are still very early.

**[00:25:33 – 00:25:35]** There are a lot of optimizations that we can do in our

**[00:25:35 – 00:25:36]** spilling features.

**[00:25:36 – 00:25:39]** I'm pretty confident that this number will improve.

**[00:25:39 – 00:25:42]** But the trend that we see is that the higher your scale factor,

**[00:25:42 – 00:25:45]** the better the number can be.

**[00:25:46 – 00:25:50]** We also try to run a cost-normalized comparison, right?

**[00:25:50 – 00:25:54]** So here, in a scale factor of 300, what we do is that

**[00:25:54 – 00:25:59]** we run a DuckDB on a CPU instance that has the same on-demand

**[00:26:00 – 00:26:04]** price compared to the GPU instance that we are running Sirius on.

**[00:26:04 – 00:26:07]** In this case, I run DuckDB on this AWS instance, which

**[00:26:07 – 00:26:13]** costs $2 per hour, and I run Sirius on GH200 that costs $2 per hour.

**[00:26:13 – 00:26:16]** The data is on Parquet Format, and this is a hot run.

**[00:26:16 – 00:26:20]** And this also shows that Sirius accelerates DuckDB by 9x,

**[00:26:20 – 00:26:23]** and we are using the same hardware cost, so we achieve

**[00:26:23 – 00:26:26]** 9x better TCO as well.

**[00:26:28 – 00:26:32]** Alright, and then for our Doris explorations, this is a very,

**[00:26:32 – 00:26:36]** very early stage, but we still have some sort of quick experiment to

**[00:26:36 – 00:26:41]** show you guys some of the queries that's already working in Doris.

**[00:26:41 – 00:26:43]** We ran it on four node clusters of A100.

**[00:26:43 – 00:26:46]** We got 2.4 to 12.5 times speedup.

**[00:26:49 – 00:26:52]** And just to come back, circle back on this, Xiangyao already

**[00:26:52 – 00:26:54]** mentioned this a little bit in the beginning of the talk.

**[00:26:54 – 00:26:58]** This is our ClickBench performance, another benchmark

**[00:26:58 – 00:27:00]** that we are running.

**[00:27:00 – 00:27:04]** We are currently, if you check the ClickBench website yourself,

**[00:27:04 – 00:27:08]** Sirius is like sitting on number one and number two on the hot run.

**[00:27:08 – 00:27:11]** Number one is like running on a GH200.

**[00:27:11 – 00:27:15]** Number two is running on H100 on AWS.

**[00:27:15 – 00:27:18]** And we also recently achieved the number one on combined runs.

**[00:27:18 – 00:27:23]** So, the combined run is like combining the hot run, cold run,

**[00:27:23 – 00:27:26]** data size, and also the load time.

**[00:27:26 – 00:27:29]** And we achieved first recently on the GH200 as well.

**[00:27:30 – 00:27:33]** We submitted a really cool blog post between NVIDIA

**[00:27:33 – 00:27:34]** and UW-Madison here.

**[00:27:34 – 00:27:38]** If you guys are interested in seeing how this can be achieved,

**[00:27:38 – 00:27:41]** please check our blog post.

**[00:27:42 – 00:27:46]** All right, now let's see some of like exciting like future

**[00:27:46 – 00:27:50]** timeline of like what will we do with Sirius next, right?

**[00:27:50 – 00:27:52]** The timeline here is like tentative, but there are like

**[00:27:53 – 00:27:55]** several features that we want to improve in Sirius.

**[00:27:56 – 00:27:58]** Like for example right now Sirius is running on single

**[00:27:58 – 00:27:59]** node single GPUs.

**[00:27:59 – 00:28:02]** We want to make it to be able to run on single node multi

**[00:28:02 – 00:28:04]** GPUs with DuckDB.

**[00:28:05 – 00:28:08]** Currently, we only handle spilling to the host memory,

**[00:28:08 – 00:28:12]** but like ideally we want to be able to spill to disk as well.

**[00:28:12 – 00:28:15]** We want to be able to support a bunch of remote data sources,

**[00:28:15 – 00:28:19]** like S3 Object, and then Apache Iceberg, and so on.

**[00:28:19 – 00:28:24]** And as Hannes already announced, we want to work together to

**[00:28:24 – 00:28:28]** be like DuckDB core extension.

**[00:28:28 – 00:28:31]** And finally, the multi-node, multi-GPUs, which is our

**[00:28:32 – 00:28:34]** explorations that we did with Doris, we're going

**[00:28:34 – 00:28:37]** to continue those explorations.

**[00:28:38 – 00:28:41]** And I also, at the end of my presentations, I want

**[00:28:41 – 00:28:45]** to thank all of the Sirius contributors and partners.

**[00:28:46 – 00:28:51]** Sirius is currently jointly developed by NVIDIA and UW-Madison.

**[00:28:51 – 00:28:55]** We have around 10 engineers at NVIDIA who are developing

**[00:28:55 – 00:28:59]** Sirius, and we have made great progress in the past few months.

**[00:28:59 – 00:29:02]** There are also students contributing from UW-Madison

**[00:29:02 – 00:29:06]** and also Xiangyao as well, from the university side.

**[00:29:06 – 00:29:09]** And we also recently announced partnerships with DuckDB,

**[00:29:09 – 00:29:11]** really looking forward to that.

**[00:29:11 – 00:29:13]** And then we also have some industry partners, like for

**[00:29:13 – 00:29:15]** example Fastdata.

**[00:29:15 – 00:29:18]** Here has been like very interested with Sirius.

**[00:29:18 – 00:29:22]** They announced like a press release like a couple weeks

**[00:29:22 – 00:29:27]** ago announcing how they sort of like re-architected their engine to

**[00:29:27 – 00:29:31]** sort of like use Sirius in their...

**[00:29:32 – 00:29:36]** So really looking forward and I also want to say that

**[00:29:36 – 00:29:40]** like we welcome contributions from everyone whether you

**[00:29:40 – 00:29:44]** are in academia, in industry, Sirius is an open source project

**[00:29:44 – 00:29:47]** and we want to build a community here together with you guys.

**[00:29:47 – 00:29:51]** So if you guys are interested in like Sirius, GPU acceleration,

**[00:29:51 – 00:29:55]** DuckDB, anything those related, we want to build a community

**[00:29:55 – 00:29:56]** together with you guys.

**[00:29:56 – 00:29:58]** Just reach out to us, right?

**[00:29:58 – 00:29:59]** And how do you reach out to us?

**[00:29:59 – 00:30:01]** No, I guess the question is.

**[00:30:01 – 00:30:03]** So we have like a project website.

**[00:30:03 – 00:30:05]** Check out our project website.

**[00:30:05 – 00:30:07]** We are open source on github.

**[00:30:07 – 00:30:10]** So you guys can check our github.

**[00:30:10 – 00:30:11]** Can try to run Sirius.

**[00:30:11 – 00:30:14]** If you find issues and stuff, feel free to post on Sirius.

**[00:30:14 – 00:30:18]** Our engineers are very responsive to those kind of things.

**[00:30:18 – 00:30:22]** And then we also have like email if you want to like...

**[00:30:22 – 00:30:25]** Send email to us, and we have like a Slack workspace.

**[00:30:25 – 00:30:27]** I guess not a Slack channel, Slack workspace.

**[00:30:27 – 00:30:33]** This is a QR code to join our Slack workspace, Sirius Slack workspace.

**[00:30:34 – 00:30:37]** And yeah, so you if you want to like sort of like say hi

**[00:30:37 – 00:30:41]** like you want to like ask questions Feel free to post it in the general

**[00:30:41 – 00:30:45]** channel if you are like a little bit shy like me Just feel free

**[00:30:45 – 00:30:49]** to DM me right away And I'm happy to answer your question as well

**[00:30:49 – 00:30:53]** or direct you to like anyone who can answer your questions But like

**[00:30:53 – 00:30:56]** yeah, we're looking forward like

**[00:30:56 – 00:31:03]** That would be the end of my talk, thank you so much for coming,

**[00:31:03 – 00:31:06]** I'm happy to take questions.

**[00:31:10 – 00:31:16]** Thank you for the great talk, and do we have questions?

**[00:31:19 – 00:31:23]** Um, once DuckDB, you know, formulates a query plan, does

**[00:31:23 – 00:31:27]** Sirius apply any query plan-related optimizations, or just takes

**[00:31:27 – 00:31:29]** that and executes as is?

**[00:31:29 – 00:31:31]** Um, yeah, that's like, um, a very good question.

**[00:31:31 – 00:31:35]** So, currently we do not change, like, the query plan shape

**[00:31:35 – 00:31:36]** itself from DuckDB.

**[00:31:36 – 00:31:40]** We insert new operators, like the partitions, concat, like,

**[00:31:40 – 00:31:42]** before the joins and so on, but, like, we don't, like, change,

**[00:31:43 – 00:31:45]** like, the query plan shapes of...

**[00:31:45 – 00:31:49]** It's still using the same join order with DuckDB and so on.

**[00:31:49 – 00:31:53]** And what we found so far, interestingly, is that DuckDB

**[00:31:53 – 00:31:57]** has really, really good optimizers that we don't feel like we

**[00:31:57 – 00:31:59]** need to make any changes.

**[00:31:59 – 00:32:01]** We run it, and the performance is already great.

**[00:32:01 – 00:32:05]** So please thank DuckDB for the great optimizer that I have.

**[00:32:05 – 00:32:08]** I think that's the best optimizer that I know out

**[00:32:08 – 00:32:09]** of open source optimizers.

**[00:32:09 – 00:32:13]** I will always say that DuckDB has the best optimizers.

**[00:32:13 – 00:32:17]** We have time for more questions.

**[00:32:22 – 00:32:23]** Thanks for the talk, guys.

**[00:32:23 – 00:32:28]** I guess the 21 seconds is from hot OS cache memory?

**[00:32:28 – 00:32:29]** It's a hot run.

**[00:32:29 – 00:32:33]** It's from like the host memories, but like we put

**[00:32:33 – 00:32:35]** it in the pin memory.

**[00:32:35 – 00:32:39]** So it's like not... OS cache is going to be pageable memory.

**[00:32:39 – 00:32:42]** We have like a caching system that we implement in Sirius.

**[00:32:42 – 00:32:46]** So when we are running a hot run, it can run it from the pin memory.

**[00:32:46 – 00:32:51]** So, Sirius itself handles the caching, not the OS?

**[00:32:51 – 00:32:54]** Sirius itself handles the caching, not the OS.

**[00:32:54 – 00:32:57]** And the reasons... Yeah, just to continue the conversation.

**[00:32:57 – 00:33:02]** The reason we do that is that we noticed that even with GB300, when

**[00:33:02 – 00:33:07]** we run it from the pageable memory, transfer it from the pin memory

**[00:33:07 – 00:33:10]** compressed to pageable memory, it can be 2x faster, the throughput.

**[00:33:10 – 00:33:13]** So, performance is number one, right?

**[00:33:13 – 00:33:17]** So, we want to manage the caching ourselves.

**[00:33:17 – 00:33:20]** Any more questions?

**[00:33:20 – 00:33:22]** Thank you for your talk.

**[00:33:22 – 00:33:23]** I have a question.

**[00:33:23 – 00:33:29]** When you showed the benchmark, did the GB300 increase five times

**[00:33:29 – 00:33:39]** faster and GH200 shows nine times faster than... So it means the...

**[00:33:39 – 00:33:44]** The slow motion needs to get more bigger performance or...

**[00:33:44 – 00:33:48]** No, so actually what that means is that, so in the GB300

**[00:33:48 – 00:33:55]** experiments, I'm running both Sirius and DuckDB on the GB300

**[00:33:55 – 00:33:58]** experiments, not this one.

**[00:34:00 – 00:34:03]** No, I'm showing this one first.

**[00:34:03 – 00:34:06]** So in this one, in the DGX station, the GB300, I'm running both

**[00:34:06 – 00:34:10]** Sirius and DuckDB on the GB300.

**[00:34:10 – 00:34:13]** So this is actually showing how good the great CPU is

**[00:34:13 – 00:34:17]** at NVIDIA because it's achieving a very good performance, even

**[00:34:17 – 00:34:20]** the CPU part of a GB300.

**[00:34:20 – 00:34:23]** In this one, I am running it cost normalized, and I'm running it on

**[00:34:23 – 00:34:27]** a different instance, like the CPU is running on an Intel CPUs here at

**[00:34:27 – 00:34:31]** AWS, and then the GPU is running on like NVIDIA GPUs, so this is like

**[00:34:31 – 00:34:34]** running on two different instances.

**[00:34:37 – 00:34:41]** Yeah, the gray CPUs are amazing, and fairer CPUs

**[00:34:41 – 00:34:42]** will be even more amazing.

**[00:34:42 – 00:34:46]** And then, yeah, basically, we got the last speed up because

**[00:34:46 – 00:34:49]** the gray CPUs are amazing.

**[00:34:49 – 00:34:51]** Go NVIDIA.

**[00:34:52 – 00:34:55]** All right, one more question.

**[00:34:59 – 00:35:05]** So what were the options between, besides libcdf?

**[00:35:05 – 00:35:09]** I mean, have you tried working with like Triton

**[00:35:09 – 00:35:12]** or, because I think that...

**[00:35:13 – 00:35:21]** The entire core of your extension is based on libcuDF, so it both

**[00:35:21 – 00:35:27]** limits you and empowers you, so... Okay, that's a very good question.

**[00:35:27 – 00:35:31]** So, yes, it's true that we are running our extensions on libcuDF.

**[00:35:31 – 00:35:33]** And libcuDF so far has been great.

**[00:35:34 – 00:35:37]** The best things I think about libcuDF is that it provides

**[00:35:37 – 00:35:38]** us with so many features.

**[00:35:38 – 00:35:41]** Like I don't have to think about like supporting each

**[00:35:41 – 00:35:45]** different data types or like each different like types of like group

**[00:35:45 – 00:35:48]** by or like operators using libcuDF.

**[00:35:48 – 00:35:50]** Can the performance be better?

**[00:35:50 – 00:35:54]** Yes, but like what what I see here in Sirius is that

**[00:35:55 – 00:36:00]** like we can we make Sirius to be extensible, right?

**[00:36:00 – 00:36:04]** If you are a researcher or if you are a user of Sirius,

**[00:36:04 – 00:36:08]** what you can do is that you can also introduce your own operator.

**[00:36:08 – 00:36:11]** We made it extensible so that you can introduce your own operator

**[00:36:11 – 00:36:13]** that does not have to use libcuDF.

**[00:36:13 – 00:36:16]** You can use your own CUDA kernel, for example, to implement

**[00:36:16 – 00:36:20]** some of the operators that you think is a bottleneck in libcuDF.

**[00:36:20 – 00:36:22]** And then after that,

**[00:36:22 – 00:36:25]** We can actually take those optimizations and tell the

**[00:36:25 – 00:36:28]** libcuDF team, it's like, look at this, there is some sort

**[00:36:28 – 00:36:31]** of better optimizations that can happen, and then they

**[00:36:31 – 00:36:36]** can streamline it to libcuDF as well to make libcuDF better.

**[00:36:36 – 00:36:40]** So Sirius can also be a tool to make libcuDF better by

**[00:36:40 – 00:36:42]** identifying those opportunities.

**[00:36:42 – 00:36:45]** But if you prefer your own thing, we make it so that

**[00:36:45 – 00:36:48]** it's extensible enough so that you can bring your own operator.

**[00:36:48 – 00:36:50]** At least if you want to write your own CUDA kernels, for

**[00:36:50 – 00:36:53]** example, you can do that.

**[00:36:54 – 00:36:59]** Right, we have time for one short final question.

**[00:37:00 – 00:37:02]** All right.

**[00:37:02 – 00:37:04]** First of all, congratulations on the ClickBench result.

**[00:37:04 – 00:37:07]** That was pretty remarkable, in my opinion.

**[00:37:07 – 00:37:08]** Thank you.

**[00:37:08 – 00:37:12]** Yeah, it just came out of nowhere, I feel.

**[00:37:12 – 00:37:15]** I'm curious if you could talk more about your, like, multi-GPU

**[00:37:15 – 00:37:19]** and multi-node roadmap and, like, why you chose to use

**[00:37:19 – 00:37:25]** DORS over, like, I don't know, Dask, or, like, I've tried

**[00:37:25 – 00:37:28]** out Dask, and I'd like to see if you could, like, have any comments

**[00:37:28 – 00:37:33]** on using, like, Dask, and, like, why, like, Nixle versus, like, UCX.

**[00:37:33 – 00:37:34]** Okay.

**[00:37:34 – 00:37:35]** Yeah, great questions.

**[00:37:35 – 00:37:38]** So, um...

**[00:37:38 – 00:37:41]** So for Doris, it's actually because there are, like, a lot

**[00:37:41 – 00:37:45]** of, like, ISVs, like, a couple ISV companies that's, like, reaching

**[00:37:45 – 00:37:48]** out to us, like, some of them from China, some of them from the

**[00:37:48 – 00:37:53]** US, and then they are, like, using either Doris or StarRocks as their

**[00:37:53 – 00:37:56]** engine because they have, like...

**[00:37:56 – 00:37:59]** They are one of the sort of modern distributed engines

**[00:37:59 – 00:38:03]** that has really good performance.

**[00:38:03 – 00:38:07]** So that's why we're starting from there, because we got

**[00:38:07 – 00:38:11]** this intention from these companies to sort of like,

**[00:38:11 – 00:38:14]** hey, we are using Doris, and we are looking to accelerate with GPUs.

**[00:38:14 – 00:38:18]** Doris is like C++ based, which is like what I like as well.

**[00:38:18 – 00:38:22]** Regarding the Nixle, this is actually something

**[00:38:22 – 00:38:24]** that's like still an ongoing explorations, right?

**[00:38:24 – 00:38:26]** We are for like our sort of like explorations, right?

**[00:38:26 – 00:38:30]** Now we are currently using Nixles because it's pretty easy to use.

**[00:38:30 – 00:38:33]** We don't close our possibilities of like if like we identify that

**[00:38:33 – 00:38:35]** like UCXX is better, for example.

**[00:38:35 – 00:38:36]** This is just like an exploration.

**[00:38:36 – 00:38:39]** So it's still like an open question, basically.

**[00:38:39 – 00:38:41]** But like for now, for like our early prototype,

**[00:38:41 – 00:38:42]** we are using Nixle.

