WEBVTT

1
00:04:17.850 --> 00:04:29.000
Liang Geng: So for the presentation, I will like be talking about 15 min, and anyone may have some questions can directly ask me and interrupt.

2
00:04:32.000 --> 00:04:33.340
Liang Geng: Let's move forward.

3
00:04:33.630 --> 00:04:36.110
Liang Geng: Yes. Not a problem.

4
00:05:12.940 --> 00:05:29.629
Liang Geng: Okay, it's 12 p.m. now, so welcome. Yeah, okay. Everyone, welcome to my defense, and the dissertation title is Accelerating Spatial Data Processing by Repurposing Retracing Calls.

5
00:05:29.680 --> 00:05:38.150
Liang Geng: And thanks, Dr. Baina, Dr. Guo, Dr. Kong, and Dr. Zhang to serve my committee. So.

6
00:05:38.630 --> 00:05:40.929
Liang Geng: Please let me introduce myself.

7
00:05:42.240 --> 00:06:01.989
Liang Geng: I'm a PhD candidate since last year, and I was admitted in 2022 spring semester, and I am advised by Professors Zhang, Dr. Li, Rubali, and Dr. Hao Wang for my first year, and my research interests are HPC databases and systems.

8
00:06:02.470 --> 00:06:14.840
Liang Geng: Before I was admitted at OSU, I was a professional programmer for 3 years, working on, graphs, and, some research works in the experimental part.

9
00:06:15.230 --> 00:06:23.160
Liang Geng: I'm also an Apache project committer due to my contribution of a project called Apache Sedona.

10
00:06:23.750 --> 00:06:27.960
Liang Geng: And I got, several owners at OSU,

11
00:06:28.240 --> 00:06:40.039
Liang Geng: This year, Graduate Research Award, and last year, I got a presidential fellowship to support my presentation year, and I got a best poster in 24.

12
00:06:40.690 --> 00:06:50.869
Liang Geng: And here's a list of my publications during my PhD years. Basically, they published in the HPC venue and the database venue.

13
00:06:50.920 --> 00:07:02.150
Liang Geng: Notably, several works like Rebooster, LabRTS, and Rejon has been adopted in production, the product called the Apache SonataDB, which will be talked later.

14
00:07:02.600 --> 00:07:06.879
Liang Geng: So, this is the content of this presentation.

15
00:07:07.220 --> 00:07:15.229
Liang Geng: First, we are talking about, Moore's Law. There's a famous code of prediction from Moore.

16
00:07:15.350 --> 00:07:21.440
Liang Geng: Which says the number of transistors will be doubled, basically, every 24 months.

17
00:07:21.720 --> 00:07:35.069
Liang Geng: And there's a now-done, well-known code from Denard, called Denard Scaling, which says that we can keep the power consumption constant as we're adding more transistors.

18
00:07:35.550 --> 00:07:39.379
Liang Geng: So, these two laws, has pushed the…

19
00:07:39.540 --> 00:07:55.180
Liang Geng: performance of programs that grows naturally. You don't have to change one line of your code, you just buy the latest generation of processor, and you'll, you'll got automatically speed up. But that ship has sailed.

20
00:07:55.180 --> 00:08:16.870
Liang Geng: So, since 2015, and this figure shows the relative performance number compared to an antique CPU called VAX11. So, the VAX axis are the speedups, and axis are the years. We can see that after 2015, the relative performance gains has been almost zero.

21
00:08:17.350 --> 00:08:19.570
Liang Geng: So… Yep.

22
00:08:20.430 --> 00:08:30.170
Liang Geng: So, like, the free lunch is over, right, with the regular CPU, so can we, like, still have performance gains?

23
00:08:31.640 --> 00:08:44.930
Liang Geng: So let's first review the computing devices currently available. First is a CPU, a multi-core CPU, which is very easy to program in general purpose.

24
00:08:44.930 --> 00:08:52.870
Liang Geng: But the power efficiencies can be increasingly low. And then the GPUs are becoming more popular recently.

25
00:08:52.870 --> 00:09:05.720
Liang Geng: It is very, it is relatively easy to use due to the CMate execution model, and it provides high power efficiency, but it's not designed for handling irregular workloads.

26
00:09:05.720 --> 00:09:22.800
Liang Geng: having branches and irregular memory accesses. And we have FPGAs, which has very high energy efficiencies, but it can be very hard to program. Not a lot of people know how to program PGAs, and it has also low

27
00:09:22.800 --> 00:09:39.210
Liang Geng: clock rate, and very low on chip memory and bandwidth. And lastly, the ASICs, which is completely not flexible, is hardware circuits, but it provides highest efficiency. So, from…

28
00:09:39.440 --> 00:09:51.080
Liang Geng: top to bottom, we can see that the efficiency is increasing, and from bottom to top, you can see, they become more general purpose.

29
00:09:51.230 --> 00:10:00.669
Liang Geng: So, I believe that continued high-performance computing can only be achieved by hardware acceleration.

30
00:10:01.050 --> 00:10:06.140
Liang Geng: So, what is the hardware acceleration about? It's about, using

31
00:10:06.140 --> 00:10:24.169
Liang Geng: custom-designed chips for target applications, achieving high performance and high energy efficiency at the same time, such as AI accelerators, and, for example, ASIC blocks in iPhone neural processor.

32
00:10:24.520 --> 00:10:26.190
Liang Geng: And currently.

33
00:10:26.400 --> 00:10:50.210
Liang Geng: I think the modern GPUs is a good device to practice hardware acceleration. First, it contains general-purpose cores following the same execution model. It's also equipped with customized circuits, such as tester cores, RT cores, and the compression engines. And GPUs are widely available, from PCs to workstations to data centers.

34
00:10:50.320 --> 00:10:55.539
Liang Geng: And GPUs strike a balance between performance, cost, and accessibility.

35
00:10:55.810 --> 00:11:00.400
Liang Geng: So, let's review the evolution of GPU programming.

36
00:11:00.590 --> 00:11:02.999
Liang Geng: So, in the early 90s.

37
00:11:03.200 --> 00:11:17.890
Liang Geng: to early 2000s, GPUs are specifically designed for rendering purpose, such as 3D video games. And then, some researchers have found that they can creatively employ

38
00:11:17.920 --> 00:11:29.459
Liang Geng: GPUs do, no rendering works, such as scientific computing, by mapping the matrices to textures and mass operations, to shaders.

39
00:11:29.800 --> 00:11:48.329
Liang Geng: And this area I call the acrobatic programming. So, researchers have found a way to, like, creatively exploit these unique devices to achieve very high performance. Then, there is a guy called Ivan Bach published a paper.

40
00:11:48.330 --> 00:12:07.280
Liang Geng: on transaction, on graphics in 2004, the product called Brook GPU, which is a set of compilers and runtime that systematically wrap up these techniques. And then NVIDIA hired this guy in 2007.

41
00:12:07.430 --> 00:12:11.789
Liang Geng: They formalized the term GPGPU,

42
00:12:12.220 --> 00:12:26.009
Liang Geng: providing the abstractions, like threads, blocks, and memory hierarchy, and then we, enter the era of commercialization of GPGPU. So, we can see that

43
00:12:26.590 --> 00:12:33.879
Liang Geng: Hacking the rendering pipelines created the foundation of modern general-purpose computing with GPU.

44
00:12:34.260 --> 00:12:44.109
Liang Geng: So, this is the story of how we, come here. And more than general-purpose computing.

45
00:12:44.410 --> 00:12:58.979
Liang Geng: Due to the efficiency wall of general-purpose CMATE execution model, the GPU become more heterogeneously recently, more recent days. It has general-purpose GUDA cores.

46
00:12:58.980 --> 00:13:09.550
Liang Geng: Which was presented in 2006, and it also has tensor calls, which focused on matrix multiplication operations.

47
00:13:09.550 --> 00:13:15.940
Liang Geng: And we have articles, and I will talk a bit more.

48
00:13:16.160 --> 00:13:23.630
Liang Geng: And the articles was introduced in 2018 in Turing Architecture, and we can see that.

49
00:13:23.780 --> 00:13:33.999
Liang Geng: With the, very heterogeneous GPUs, we can do a lot of more things, than scientific computing.

50
00:13:34.280 --> 00:13:38.370
Liang Geng: So, in the early days, they hacked the GPU,

51
00:13:38.400 --> 00:13:53.910
Liang Geng: of the rasterization pipeline, and the GPGPU has been created. And there's another rendering technique called retracing, which provides photorealistic render results. So how about we repeat the history?

52
00:13:53.910 --> 00:14:00.199
Liang Geng: We hacked the retracing pipelines beyond the graphics. So this is about my thesis.

53
00:14:00.870 --> 00:14:07.450
Liang Geng: And repurposing retracing calls need to find the right workload.

54
00:14:07.700 --> 00:14:11.549
Liang Geng: So, unlike the general purpose CUDA call.

55
00:14:11.750 --> 00:14:25.519
Liang Geng: RT calls are very specific circuits that are designed specifically for BVH tree, bounded volume hierarchy tree traversal. So not all workloads can benefit this unique hardware.

56
00:14:26.230 --> 00:14:30.310
Liang Geng: So what makes a workload failure retracing calls?

57
00:14:30.310 --> 00:14:55.059
Liang Geng: There's an observation, so we want to find some workloads that bear some similarities between the tracing tasks and your new workload that will be running on the RT calls, such as data will be in 2D, 3D, Euclidean space, and operations such as tree search, nearest neighbor search, and we can see that there are some early researchers have been

58
00:14:55.060 --> 00:14:57.759
Liang Geng: this topic in 2019.

59
00:14:57.840 --> 00:15:14.080
Liang Geng: published in High Performance Graphics. The work is called Tide Mesh Point Location, and there's another famous work published in PPOP22. It's about using RT calls to do the k-nearest neighbor search.

60
00:15:14.330 --> 00:15:15.350
Liang Geng: So…

61
00:15:15.560 --> 00:15:25.879
Liang Geng: In my dissertation, I believe that RT calls will potentially benefit spatial data systems. Why I picked this workload? Because

62
00:15:25.880 --> 00:15:37.979
Liang Geng: I see there's a bunch of similarity between the rendering and geospatial domain. Both works on 2D or 3D spaces, and involves a lot of tree search, index search problem.

63
00:15:39.030 --> 00:15:43.419
Liang Geng: So, the core problem is that RT hardware is ultra-fast.

64
00:15:43.550 --> 00:15:51.020
Liang Geng: And how can we build a missing bridge between the retracing and the geospatial databases?

65
00:15:51.830 --> 00:16:05.830
Liang Geng: And it will introduce the thesis question, how do we systematically addressing semantic precision and load balance gaps to repurpose the retracing calls for spatial databases?

66
00:16:06.400 --> 00:16:10.150
Liang Geng: And why I'll focus on spatial data? Because

67
00:16:10.330 --> 00:16:17.540
Liang Geng: There's a report from Esri that 80% of big data has spatial properties, like coordinates.

68
00:16:17.760 --> 00:16:41.280
Liang Geng: And we will find spatial data everywhere, from our cell phones, satellites, and autonomous vehicles, and spatial data can be changing rapidly due to the moving objects. And it is also time-sensitive, so for a spatial query, if it runs very slow, the query results become outdated, because.

69
00:16:41.280 --> 00:16:44.300
Liang Geng: The location of objects has been changed.

70
00:16:44.490 --> 00:16:59.300
Liang Geng: And in industry, we usually use spatial databases to process spatial data with spatial SQL. Spatial SQL is just a regular SQL with spatial functions, such as spatial drawing, spatial predicts, spatial functions.

71
00:16:59.890 --> 00:17:05.160
Liang Geng: And there's a big challenge in spatial databases called spatial joints.

72
00:17:05.670 --> 00:17:18.030
Liang Geng: So, what is spatial drawing? So, spatial drawing has two stages. The first is called filter, and the second stage is called refine.

73
00:17:18.079 --> 00:17:29.410
Liang Geng: And these two stages, constitute the spatial joint. So in the filtering stage, we will find the intersecting, MBRs, or rectangles.

74
00:17:29.410 --> 00:17:54.319
Liang Geng: So, these potentially intersected rectangles, right, we get the result, then we will run a spatial function, or spatial predict, to further filtering out the pair of geometries that does not satisfy the predicate, called refinement. And both two stages will be… become the bottleneck of spatial joints, and we will use RTCos to accelerate these two stages.

75
00:17:54.320 --> 00:18:14.549
Liang Geng: And now, other aspect of spatial data is spatial functions, such as, distance metrics, which will be evaluate the relationship between spatial objects, such as host of distance. We will use that to describe the similarity between the two trajectories.

76
00:18:15.150 --> 00:18:28.539
Liang Geng: And there's many computational bottlenecks when handling this type of data, such as many types of geometries you have to handle, how to efficiently install them, how to compute over

77
00:18:28.540 --> 00:18:48.519
Liang Geng: points, line stream, polygons, and we will face, scalability issues, such as polygon will have thousands of verticals, and a table in database may contain millions of rows, so we have a lot of geometries to handle. And additionally, spatial operations can be compute-intensive, such as

78
00:18:48.520 --> 00:18:51.819
Liang Geng: Pointed polygon and line segment intersections.

79
00:18:52.500 --> 00:18:54.249
Liang Geng: So, what…

80
00:18:54.250 --> 00:19:17.509
Liang Geng: Don't we use regular GPU to accelerate spatial operations? Because the regular GPU do not fit these workloads because, yeah, spatial operations, we will use tree search problem such as R tree, and it has a lot of branches. So you search a tree, you have a lot of random memory access and branches.

81
00:19:17.510 --> 00:19:21.600
Liang Geng: And GPU is now designed for these purposes.

82
00:19:22.190 --> 00:19:30.710
Liang Geng: So, in this dissertation, I use Articore to tackle all these problems and accelerate spatial databases.

83
00:19:30.710 --> 00:19:54.550
Liang Geng: So, my dissertation has four interconnected research contributions, from algorithms to production systems. The first is called, Rejoin, focused on accelerating spatial joints with retracing calls, and has been published in ICS24. And next work is about how we repurpose retracing calls to serve as a general purpose

84
00:19:54.550 --> 00:20:06.289
Liang Geng: index… spatial indexing library called LabRTS, and this work has been published in PVOP25. And next work is about special functions, specifically host of distance.

85
00:20:06.290 --> 00:20:21.129
Liang Geng: addressing redundant computation challenge and the load balancing challenge. And this work has been published in SES26, and last is a systematic work that integrates the first two works into a production.

86
00:20:21.130 --> 00:20:26.930
Liang Geng: called Apache SalunaDB, and this work has been published in VLDB this year.

87
00:20:27.240 --> 00:20:31.120
Liang Geng: So, next section is about the background.

88
00:20:31.870 --> 00:20:35.239
Liang Geng: I will introduce some basics.

89
00:20:35.300 --> 00:20:50.030
Liang Geng: of retracing. So, what is a retracing? So, retracing is a rendering technique, right? And to rendering, we will have a model. The model will… has a lot of triangles called primitives, right?

90
00:20:50.030 --> 00:20:57.639
Liang Geng: And, seen in modern video games contains maybe tens of millions of these small triangles.

91
00:20:57.740 --> 00:21:16.599
Liang Geng: And the cortex of retracing is kind of like physical simulation, so you cast a ray towards a model, and the ray may hit a triangle, and there is a reflection point, and we will calculate how much energy will be reflected to eyes or cameras in a rendering model.

92
00:21:16.910 --> 00:21:20.799
Liang Geng: So, there's a call task that will…

93
00:21:20.910 --> 00:21:29.410
Liang Geng: be calculating the intersection points. We will have many rays and many triangles, right? We'll find the intersection point.

94
00:21:29.640 --> 00:21:53.919
Liang Geng: So, to achieve, like, very high performance, we will cost, like, hundreds of millions of rays to achieve very realistic results. And, we… to calculate the intersections, we cannot use brute force, because it will be too slow. And traditionally, we will use a spatial index in graphics called bounding volume hierarchy tree.

95
00:21:53.950 --> 00:21:56.609
Liang Geng: Which is the de facto spatial index.

96
00:21:56.800 --> 00:21:58.459
Liang Geng: For RT rendering.

97
00:21:58.460 --> 00:22:21.359
Liang Geng: Right? So, in this figure, you can see that a BVH tree is just a tree, and every node will have an attribute, such as a bounding box. And the parent nodes, the bounding box will enclose all the children nodes, the bounding boxes. And when we custody, we first do the intersection task with the root node, and it…

98
00:22:21.360 --> 00:22:36.580
Liang Geng: Indeed intersects, it will traverse the child node to see whether the array hits the bounding box of a child node in this case, which is node B, and the array does not intersect the bounding box of node B, so it will escape these two child nodes.

99
00:22:36.580 --> 00:22:42.730
Liang Geng: And then we'll turn into the node C, and we can see that, indeed, it really hits the bounding box of node C.

100
00:22:42.740 --> 00:22:58.869
Liang Geng: So, we'll find the intersections. And the right figure is the memory layout of this tree. So, we can see that traversal tree will… you will be jumping around the memory spaces, and GPU does not lack this behavior.

101
00:22:59.150 --> 00:23:16.710
Liang Geng: So, this method is algorithmatically efficient, but not GPU-friendly, because branch divergence, random memory access, and stack management overhead is zero. So, to address this problem.

102
00:23:18.950 --> 00:23:25.340
Liang Geng: Avidia produced articles So, they…

103
00:23:25.340 --> 00:23:44.270
Liang Geng: designed a dedicated ACK circuits in the streaming multiprocessor called RTCos. There are two subunits. The left is dedicated for BVH tree traversal. You can see that this is a small tree icon, and the right is dedicated for ray triangle intersection test.

104
00:23:44.270 --> 00:23:59.579
Liang Geng: So, they provide fixed function units in these GPUs, and with this article, the streaming multiprocessors can be free to do other tasks, and these dedicated two units can focus on retracing.

105
00:23:59.760 --> 00:24:16.069
Liang Geng: So, it provides, like, 10 times speed up compared to last generation software implement BVA traversal, and in the very early model, it provides 1.1 giga arrays per second. Basically means it can cost

106
00:24:16.070 --> 00:24:25.919
Liang Geng: 1.1 gigaways within a second, and with the hardware acceleration in the later model, it provides, like, 10 times speed up.

107
00:24:26.350 --> 00:24:27.400
Liang Geng: So.

108
00:24:27.630 --> 00:24:46.170
Liang Geng: That's about retracing hardware. And let's look at the definition of a ray. So, ray is a semi-infinite line defined by origin and direction vector, and the formula is like this, and the parameter T controls how long the ray will go, so…

109
00:24:46.230 --> 00:24:53.920
Liang Geng: There are two types of intersections, this topic will be using.

110
00:24:54.540 --> 00:25:04.810
Liang Geng: First is the ray ABB intersection, and two cases will be considered ray. That will hit a bounding box. First is the ray.

111
00:25:04.810 --> 00:25:07.249
Liang Geng: Here's the boundary of the boundary box.

112
00:25:07.250 --> 00:25:25.590
Liang Geng: Right? And the article will report this case of intersection. And the second case is that as long as the origin is within the bounding box, I call the case 2, the article will report intersections. How… so how do we use articles? We first provide an array of AABBs.

113
00:25:26.160 --> 00:25:48.450
Liang Geng: to build a BVH, and this stage happens on the CUDA calls. And then, we will program retracing shaders, and we cast the rays. And with the BVH, the article will automatically use the hardware to traverse the BVH tree and report the intersections to the shader, so we can process the intersections to do other things.

114
00:25:48.450 --> 00:25:51.169
Liang Geng: So this is how we use RTPOS.

115
00:25:51.530 --> 00:26:16.190
Liang Geng: So, we will face many challenges to when repurposing RT calls for geospatial workload. So, first is the translation challenge. So, what do we want? Is we want to have point, line, string, and a polygon in a spatial database. But fixed functionality calls only understand AABB and RAY. So, how can we bridge this gap, right?

116
00:26:16.190 --> 00:26:16.910
Liang Geng: Rye?

117
00:26:17.600 --> 00:26:18.950
Liang Geng: And…

118
00:26:19.070 --> 00:26:33.489
Liang Geng: So, the next challenge is the precision challenge. So, retracing calls only support, like, FP32, like, floating point numbers, but in SpatialDB, we basically value higher precision, like FP64.

119
00:26:33.620 --> 00:26:48.029
Liang Geng: And there's a risk of running errors. We may… we will have, like, missed intersections due to false negatives if we direct cast a high precision number to low precision number. So we will address this challenge.

120
00:26:48.210 --> 00:26:52.040
Liang Geng: And the third challenge is the load balancing challenge. So…

121
00:26:52.320 --> 00:27:15.770
Liang Geng: In retracing code, it follows a model called single re-execution model. Basically, each thread will cast a ray, and all the intersections will be processed in serial by each thread. So, in this case, thread 1 has 3 intersections, it will find 3 intersections one by one, and thread 2 will have 2 intersections, thread 3 will have 1.

122
00:27:15.880 --> 00:27:37.890
Liang Geng: Right, you can see there's a case of load imbalance. And unfortunately, existing technique cannot be used because RT calls don't support, like, shadow memory and block synchronized primitives, so we cannot employ existing technique to address this challenge.

123
00:27:39.340 --> 00:27:49.010
Liang Geng: So, in real-world case, we will have very skilled data in spatial, so this is not good when we directly use the retracing calls.

124
00:27:49.890 --> 00:28:06.609
Liang Geng: And I will then introduce the first topic, or first work, article for spatial join, rejoin, and I will introduce the concept of spatial join with an example called polygon clipping.

125
00:28:07.020 --> 00:28:20.720
Liang Geng: So, what is spatial drawing? Basically, it finds the common set of two sets of data size. In this case, we have polygon R and S, and polygon clipping will find the intersection part. In this example.

126
00:28:21.080 --> 00:28:34.390
Liang Geng: So, how can we implement these very complex spatial operations? So, we can decompose these operations into two sub-operations. The first is called line segment intersection test.

127
00:28:34.480 --> 00:28:51.099
Liang Geng: So in this case, the green dots are the intersection point of outlines of two set of polygons. And the second case is called the pointing polygon. Basically, this operation tells whether a point is VZA polygon or not.

128
00:28:51.280 --> 00:28:59.409
Liang Geng: So, by combining the results of these two operations, we can form the results of this overlapping part.

129
00:29:01.350 --> 00:29:02.250
Liang Geng: Okay.

130
00:29:03.510 --> 00:29:04.510
Liang Geng: Yeah.

131
00:29:05.240 --> 00:29:23.950
Liang Geng: So, these two sub-operations can both be accelerated by articles, and I will introduce how to do them, okay? So, if we turn these two sub-operations into requesting problems, so we can take a free ride over this powerful hardware.

132
00:29:24.360 --> 00:29:26.869
Liang Geng: And this work is called Ridge On.

133
00:29:27.900 --> 00:29:36.589
Liang Geng: The first operation called line segment intersection. So, I will introduce a function called resistance calling.

134
00:29:36.850 --> 00:29:54.349
Liang Geng: So, basically, this is the formula for rewrite, and in rendering, we sometimes don't necessarily care about an intersection that happened too close or too far from the real region. So we can, accept or ignore.

135
00:29:54.540 --> 00:29:56.000
Liang Geng: these cases.

136
00:29:56.230 --> 00:30:17.969
Liang Geng: So, in this case, retracing frameworks such as Optics, will provide a range parameter TME and TMAX, and these parameters will only accept intersections happens on a segment of array. If the intersection does not happen on this segment, the retracing cost will

137
00:30:18.270 --> 00:30:32.380
Liang Geng: report to us, and will be ignored. And this is a very important feature that will be exploited. So, how do we use this feature to implement the last segment intersection? So.

138
00:30:32.900 --> 00:30:37.950
Liang Geng: Last signaling section is that We can use a

139
00:30:38.100 --> 00:30:54.910
Liang Geng: subside or sub-segment of a ray to simulate a light segment by setting a certain parameter. For this light segment, we have a line defined by P1 and P2, so we can use a part of a ray to simulate this case.

140
00:30:55.040 --> 00:31:07.770
Liang Geng: We can use the P1 to serve the origin, and set the certain parameter. to take a segment of the array, so we can use a way to simulate a segment.

141
00:31:07.940 --> 00:31:17.770
Liang Geng: For land segment intersections test, we will have two sets of inputs, right? Two sets of land segments. And for the other side of

142
00:31:18.080 --> 00:31:23.779
Liang Geng: Last segment, we can use an AABB to enclose each of these last segments.

143
00:31:24.230 --> 00:31:31.859
Liang Geng: And then we can cast rays from one side of segments using this simulation technique.

144
00:31:32.050 --> 00:31:43.479
Liang Geng: And the retracing calls will report the intersections for us. So, this is how we formulate line segment intersection test as a retracing problem.

145
00:31:44.030 --> 00:31:47.860
Liang Geng: And this operation, while running on the ASIC circuits.

146
00:31:48.190 --> 00:31:50.079
Liang Geng: So, that'll be very fast.

147
00:31:50.270 --> 00:31:51.620
Liang Geng: Okay.

148
00:31:51.740 --> 00:31:56.670
Liang Geng: And the second is the Pony Polygon test. So…

149
00:31:57.410 --> 00:32:12.870
Liang Geng: In this case, still, we use ABB to enclose the line segments, but we can do more clever. Instead of using one ABB to enclose each individual line segment, we can use an ABB to enclose

150
00:32:12.870 --> 00:32:20.289
Liang Geng: adjacent land segment, so we can have less ABBs and smaller BVH, and faster BVH building.

151
00:32:20.290 --> 00:32:36.279
Liang Geng: time, right? The idea is similar. So, we have a point. We want to test whether the Q1 and Q2 is whether it's in the polygon. We can cast a horizontal ray.

152
00:32:36.780 --> 00:32:51.169
Liang Geng: And we will count the number of intersections. This is based on a very classic algorithm called the counting number algorithm. So basically, if the number of intersections is an odd number.

153
00:32:51.270 --> 00:33:00.160
Liang Geng: like 1, the point will be within a ring. If the intersection is even number, it is not within the…

154
00:33:00.580 --> 00:33:11.009
Liang Geng: the ring. So, basically, this is a very, efficient way to, to use articles.

155
00:33:11.130 --> 00:33:13.989
Liang Geng: to do the PIP pointing polygon, okay.

156
00:33:14.380 --> 00:33:18.700
Liang Geng: So, we will address the precision limitation.

157
00:33:18.890 --> 00:33:33.810
Liang Geng: So, articles only support IP32, right? In graphics, we don't want to have very high precision, because the visual artifacts doesn't vary vast.

158
00:33:33.810 --> 00:33:40.579
Liang Geng: And in spatial domain, we will need high precision, like RP64.

159
00:33:40.580 --> 00:33:58.110
Liang Geng: So, if we direct downcast the number, we will have two cases. The first is called false positive. The ray hits the ABB, but the ray does not hit the line segment enclosed by the ABB. This case is good. We can always filter out the false positive.

160
00:33:58.110 --> 00:34:14.109
Liang Geng: But for this case, called false negative, we will have a big problem, because the RE will not hit ABB, and RT cost will not tell there's a potential intersection, and we will miss some intersections and result in wrong results. So…

161
00:34:14.500 --> 00:34:22.470
Liang Geng: We want to have false positive, which is good. The idea is that we will… create an…

162
00:34:22.480 --> 00:34:26.299
Liang Geng: Oversized bounding box. But how big is enough?

163
00:34:26.300 --> 00:34:28.529
Liang Geng: To enclose the last segment.

164
00:34:28.530 --> 00:34:48.439
Liang Geng: If it is not big enough, we will have false negatives anyway. If it is too big, we will have too many false positives, so we'll be hurting performance. So, I have a technique called a conservative representation. Basically, we can observe the mantissa base of floating point numbers.

165
00:34:48.690 --> 00:34:59.550
Liang Geng: This is the high-precision Mantissa base, and when we're done casting, we can see that the D-space have been truncated, and we will have a number.

166
00:34:59.700 --> 00:35:17.380
Liang Geng: maybe smaller than high precision number, right? But if we, plus 1 to the truncated mantissa base, we will have a large number, and this number will always be greater than the high precision number. So we will find a low precision number that will be just enough

167
00:35:17.630 --> 00:35:22.280
Liang Geng: Or just, larger than the hyper-recession number.

168
00:35:22.630 --> 00:35:27.990
Liang Geng: So, with these techniques, we basically downcast the…

169
00:35:28.580 --> 00:35:34.619
Liang Geng: High precision number, and plus one to the Mantissa base to create a red bound that is just a…

170
00:35:35.050 --> 00:35:45.550
Liang Geng: close enough to the high precision number, so we will not have false, negatives. But false positive is good, we can always filter out this case.

171
00:35:47.020 --> 00:35:52.499
Liang Geng: Okay, so I will present some performance number.

172
00:35:52.640 --> 00:36:05.980
Liang Geng: I will use a GPU in our lab, RTX3090, with real-world data size, and I use server-based lines, such as GPU-based uniform grid, which is a spatial index.

173
00:36:06.220 --> 00:36:21.300
Liang Geng: with grid-based, technique, and our BVH is software… software-implemented BVH tree, and some PlanSweep in CUDA implementations, and CPU-based learning index.

174
00:36:21.330 --> 00:36:32.659
Liang Geng: So, the X-axis are the data size, and the Y-axis are the speedups. Basically, the Y-axis means this product, region, over all the baselines.

175
00:36:32.900 --> 00:36:44.870
Liang Geng: So, as long as it's greater than 1, we are faster than them. So, yeah, you can see this number, and the best baseline number is here, and we can achieve the…

176
00:36:45.090 --> 00:36:53.360
Liang Geng: Fastest number is here, so we can achieve, like, this number over the best, baselines.

177
00:36:53.720 --> 00:37:01.979
Liang Geng: Okay? And next is a pip. Similarly, the speed up over this baseline, we can see that the performance is more prominent

178
00:37:02.380 --> 00:37:17.460
Liang Geng: than others, and so we come to the takeaways. So, retracing costs has huge potential for spatial drawing, because retracing works, and spatial drawings have some similarities, so we can

179
00:37:17.460 --> 00:37:25.489
Liang Geng: project our workloads to retracing problems, and we address the, procedure limitations.

180
00:37:25.710 --> 00:37:29.140
Liang Geng: And we can achieve, like.

181
00:37:29.460 --> 00:37:44.730
Liang Geng: joining millions of polygons within one second. Basically, it's a real-time join. And next work is how about we repurpose, retracing calls as a spatial index. So, what is a…

182
00:37:45.040 --> 00:37:59.760
Liang Geng: scope of this work, we will cover these types of queries. The first is called a point query. Basically, it tells whether a point within an MBR is not a polygon, very complex shape, but it's a bounding box.

183
00:38:00.070 --> 00:38:16.770
Liang Geng: And the second case we will cover called MBR intersection task. So, MBR is the name of minimum bounding rectangle, it's just a rectangle. And these two basic queries is very useful in the filtering stage of a spatial databases.

184
00:38:17.170 --> 00:38:23.860
Liang Geng: So, I will introduce this work called Label RTS, and we will cover these two queries.

185
00:38:24.720 --> 00:38:42.549
Liang Geng: And, for the MBR point intersection test is that, we… the idea is that we can always use a very short ray to simulate a point by setting specific parameters. So, in this case, we have two sets of inputs, the points and the rectangle.

186
00:38:42.800 --> 00:38:52.069
Liang Geng: So, the idea is that we use these rectangles to build a BVH, and for the other set of horns, we can cast a very short race.

187
00:38:52.690 --> 00:39:01.000
Liang Geng: Right? Remember the case 2, as long as the origin is within the AABB, it will be reported by reducing costs.

188
00:39:01.010 --> 00:39:13.989
Liang Geng: So, we can cut short rates, and this case called a false positive, we can always filter out this case, as long as the point within the ABB article will tell us.

189
00:39:14.200 --> 00:39:15.130
Liang Geng: Okay.

190
00:39:15.410 --> 00:39:17.179
Liang Geng: So this is the idea.

191
00:39:18.420 --> 00:39:19.640
Liang Geng: And…

192
00:39:20.040 --> 00:39:30.049
Liang Geng: The second one is a bit… a little bit more complicated, called MBR-MBR intersection task. So, there's a very important observation.

193
00:39:30.050 --> 00:39:46.780
Liang Geng: As long as two MBR intersects, either the diagonal will intersect the other side of MBR, or the anti-diagonal of MBR will intersect the other side, or the two diagonals will be, like, mutually intersected.

194
00:39:46.830 --> 00:39:53.679
Liang Geng: So, with these observations, we can do the MBR, MBR intersection test.

195
00:39:53.940 --> 00:39:59.970
Liang Geng: on the RT calls by using a ray to simulate the diagonal.

196
00:40:00.250 --> 00:40:09.309
Liang Geng: So, you can set the rate parameters, like here. You can cast the rate from diagonal or anti-diagonal of MBRS.

197
00:40:09.510 --> 00:40:18.159
Liang Geng: So, the articles will tell us all the potential intersections, right? So we can take a union of these cases, so we will not have a maze.

198
00:40:18.600 --> 00:40:26.020
Liang Geng: And this is, this is, the core idea of retracing calls to accelerate MBR and MBR funding.

199
00:40:26.590 --> 00:40:38.980
Liang Geng: And, again, we all face load balance issues. So, again, single-ray program model, and each ray will have a varying number of intersections, and the RT calls don't like that.

200
00:40:39.190 --> 00:40:40.010
Liang Geng: Right.

201
00:40:40.260 --> 00:40:57.390
Liang Geng: And, I will address this limitation with a technique called remulticast. So, what is the idea? The idea is that we can duplicate the geometries and put them into different subspaces. So.

202
00:40:57.390 --> 00:41:01.469
Liang Geng: For example, we have these geometries. We…

203
00:41:01.590 --> 00:41:20.680
Liang Geng: play these geometries round robin in three subspaces. Then we cast a ray, and each ray will handle the very similar number of intersections. So each thread still casts a ray, and each ray will only have, like, one intersection in this case.

204
00:41:20.820 --> 00:41:31.809
Liang Geng: So, in our paper, we will have a technique to define the optimal number of subspaces and number of rays, so we will cover these details.

205
00:41:32.220 --> 00:41:47.140
Liang Geng: And these are the performance number for the point query. It has two sets of settings. The first is we fix the number of point, query… number of queries to 100K.

206
00:41:47.140 --> 00:41:52.809
Liang Geng: And the second case is like a scalability test. We will vary the number of queries.

207
00:41:52.990 --> 00:41:57.899
Liang Geng: And the baseline includes very famous Booth CGA, Seagull.

208
00:41:57.900 --> 00:42:20.639
Liang Geng: And Pagio, published in PPOP and LBVH, a software BVH, and QSpatial, a spatial, library from NVIDIA, which adopts Octree. And, the y-axis are the, like, absolute running time, it's not speed up this time. And the gray bars are our work, or my work, Live RTS.

209
00:42:20.840 --> 00:42:25.809
Liang Geng: And the second figure shows the scalability by increasing number of queries.

210
00:42:26.340 --> 00:42:36.369
Liang Geng: So we can see that we have a very solid performance and achieve a speed up up to 85 times over the baselines.

211
00:42:36.650 --> 00:42:53.849
Liang Geng: The next is the range query, MBR, MBR intersection test. Similarly, we will vary in the number of queries, or, vary in the selectivity. And we can see that these are the performance, compare this work lab RTS.

212
00:42:53.910 --> 00:43:07.329
Liang Geng: We consistently outperform all the baselines, and in the scalability test, by increasing number of queries, we are still consistently better than these baselines. Okay.

213
00:43:08.230 --> 00:43:12.739
Liang Geng: So these are the summary of speed-up numbers.

214
00:43:13.540 --> 00:43:17.370
Liang Geng: And, we come to the conclusion of this work.

215
00:43:17.780 --> 00:43:35.899
Liang Geng: So, we successfully repurposed the RT calls, to develop LibRTIS, a general spatial index that supports pond range query, and the major challenges has been addressed, how to translate the query as retracing problem and addressing load balance challenges.

216
00:43:36.220 --> 00:43:44.930
Liang Geng: And LabRTS is developed for no RT programming. Users can just compile and install our library to use.

217
00:43:45.250 --> 00:43:55.270
Liang Geng: Okay. And next is my third work. It's about, hostile distance, a spatial function for spatial databases, so…

218
00:43:55.700 --> 00:43:58.749
Liang Geng: Let's see the definition of host of distance.

219
00:43:58.980 --> 00:44:07.049
Liang Geng: House of Distance, or HD, is a spatial matrix that measures the similarity or dissimilarity between two sets of points.

220
00:44:07.360 --> 00:44:21.970
Liang Geng: It quantifies the maximum distance from a point in one side to its nearest neighbor in the other side. And this is the math formula, define the HD, and I can show you an example. We have point set.

221
00:44:22.340 --> 00:44:31.869
Liang Geng: In blue color, and form a shape, and each… you can see… think that this shape has been formed by a lot of points.

222
00:44:31.920 --> 00:44:48.919
Liang Geng: And we have another set of points, point A in the green. You can see these are all the discrete dots. In this case, the host of distance is that the maximum value of all points EA to its nearest neighbor. So in this case.

223
00:44:48.920 --> 00:45:07.800
Liang Geng: Right? This point's nearest neighbor is here, and A provides the maximum distance. So you can see… think in this way. Every point in point set A finds its nearest neighbor to point set B, and then V takes the max value of all these nearest neighbor distances.

224
00:45:08.830 --> 00:45:24.479
Liang Geng: So, if, this… this function, HD, has a lot of applications in medical imaging. It finds, like, similarity between the MR images and geospatial domain, and many other things. So.

225
00:45:25.370 --> 00:45:40.920
Liang Geng: So, we will speed up, this presentation. So, traditionally, RT, without RT, we will do the nearest search in this way. So, for a query point, we draw a circle, we will find its nearest neighbor.

226
00:45:42.020 --> 00:45:54.120
Liang Geng: And, in this case, it's P1 and P2, but to use Articos, you have to do an inverse thinking, called the inverse nearest search. So instead of from the current point, we found the date points.

227
00:45:54.120 --> 00:46:13.149
Liang Geng: So we draw circles from the data points, and we do a MBR over the circles, and for the querying point, we still cast a short ray to find the ray ABB intersection. In this case, the ray hits the ABB of P1 and P2, right?

228
00:46:13.470 --> 00:46:25.130
Liang Geng: And P3, the rate does not intersect, so we can discard this. And we have candidates of P1 and P2 as nearest neighbor of, RT-based search.

229
00:46:25.310 --> 00:46:26.360
Liang Geng: Okay.

230
00:46:26.650 --> 00:46:29.619
Liang Geng: So, that's the basic idea, but…

231
00:46:29.980 --> 00:46:48.700
Liang Geng: we will address a lot of technical challenges based on this idea. First is the intersection overhead, so… For this test, we will have many points, but to use AABB to enclose each point is not very good, because we will have intersection overhead BH

232
00:46:48.700 --> 00:46:55.110
Liang Geng: build up overhead. So our idea is that we pre-position these points with a uniform grid.

233
00:46:55.110 --> 00:47:09.870
Liang Geng: Then we can use an ABB to enclose these points, and we still cast a ray. And we, enlarge the ABB to find the intersections. Okay, so this is the basic idea, how can we cut down the number of AABBs.

234
00:47:10.630 --> 00:47:27.460
Liang Geng: Okay, the next challenge we want to address is the computational overhead. So, not all points contribute to HD. So, there's a paper that has a technique that basically says you can prune some cases that does not contribute to the ABB.

235
00:47:27.460 --> 00:47:40.750
Liang Geng: Basically, it's use a, MBR to approximate a bunch of ABBs, and it will calculate the upper bound and lower bound of distances, and some cases can be eliminated.

236
00:47:40.780 --> 00:47:44.419
Liang Geng: And we adopt these techniques as well. Okay.

237
00:47:44.730 --> 00:48:03.409
Liang Geng: And third, again, is called the load imbalance, and this is different from our last work, LabRTS. This is called the inshader load imbalance. Basically, we use a grid partition points, but each grid cells will have a varying number of points. In this case, these are the dense cells.

238
00:48:03.410 --> 00:48:11.780
Liang Geng: And the green are the, like, sparse cells, so, again, single thread, thread, model.

239
00:48:12.010 --> 00:48:24.759
Liang Geng: In retracing calls, and we have addressed that, with a dedicated CUDA kernel called a thread block. Basically, use a thread block to handle the heavy cells.

240
00:48:24.890 --> 00:48:31.810
Liang Geng: And for the sparse cells, we use the RT shaders to iterate points over these lightweight cells.

241
00:48:32.550 --> 00:48:51.630
Liang Geng: And, this is the experiments. We cover ITK, an industrial tool that, for medical image comparison, which provides a function of HD, and we cover many academic, baselines also.

242
00:48:52.120 --> 00:49:02.859
Liang Geng: Okay. And, we use, real-world medical image data sets, and in this figure, X-axis are the, like.

243
00:49:03.010 --> 00:49:12.589
Liang Geng: percentile. Basically, it draws the running time distributions of a set of MRI images, and the y-axis is the running time.

244
00:49:12.590 --> 00:49:23.350
Liang Geng: And write down is this work XHD. And we can see that the running time distribution over a lot of these sites is consistently better.

245
00:49:23.350 --> 00:49:28.679
Liang Geng: Then the other baselines and the left shows the summary of speedup numbers.

246
00:49:28.700 --> 00:49:29.610
Liang Geng: Okay.

247
00:49:31.130 --> 00:49:46.640
Liang Geng: And then, so directly use RT calls is not well. We have to address a lot of technical challenges, and RXHD leveraged both CUDA calls to address low balance challenge, and RT calls to address the

248
00:49:47.010 --> 00:49:57.940
Liang Geng: Led by yourselves, and it delivers consistent performance, compared to the other baselines or diverse workloads.

249
00:49:57.980 --> 00:50:07.889
Liang Geng: Okay, and last is a systematic work that will integrate Chapter 3 and Chapter 4 into a product, SalonaDB.

250
00:50:08.340 --> 00:50:13.250
Liang Geng: So, I will give a little bit of introduction to Sazanadb. So…

251
00:50:13.650 --> 00:50:20.140
Liang Geng: So, DB is a raster-based query engine that supports spatial SQL.

252
00:50:20.350 --> 00:50:28.799
Liang Geng: And it has many layers, like storage layer, query optimization layer, and the interfaces.

253
00:50:29.420 --> 00:50:38.829
Liang Geng: So, users basically write a SQL, and it will run on SedonaDB. It is a very fast, single-node OLAP DB.

254
00:50:39.920 --> 00:50:44.649
Liang Geng: For, like, data scientists working with spatial data.

255
00:50:45.140 --> 00:50:52.639
Liang Geng: And it is a single node, and very easy to use. It is ready to use, but it…

256
00:50:52.760 --> 00:50:54.930
Liang Geng: can still,

257
00:50:55.140 --> 00:51:02.049
Liang Geng: be slow, because it's still a single node. You cannot handle a large set of data size with this DB.

258
00:51:02.540 --> 00:51:10.689
Liang Geng: So… I want to use my existing techniques to accelerate this work.

259
00:51:11.980 --> 00:51:20.799
Liang Geng: So, the performance of a spatial database is basically is the spatial join, and we profile the query

260
00:51:20.950 --> 00:51:40.880
Liang Geng: of a benchmark, we can see that a majority of running time spent on the filtering stage and the refinement stage. Again, filtering stage find the potential MBR intersections, film refinement stage evaluate spatial predicates. And both stages can be for performance bottlenecks.

261
00:51:41.590 --> 00:51:50.550
Liang Geng: So, we want to integrate RTX solution into this product, but we will face some systematic challenges. The first is that

262
00:51:50.550 --> 00:52:06.929
Liang Geng: This format challenge. So in CernoDB, it adopts a format called WKB, well-known binary. It is very efficient for storage, but does not good for computation because it does not support random geometry access.

263
00:52:07.230 --> 00:52:14.979
Liang Geng: Basically, you can think of WKB as a bait stream of geometries, right?

264
00:52:15.450 --> 00:52:35.429
Liang Geng: So, to support efficient computation over geometries, we present a format that is similar to CSR, but it has many layers of offsets to index different hierarchy of geometries, from feature to part to ring to point.

265
00:52:35.430 --> 00:52:49.199
Liang Geng: Okay? This is the first systematic challenge, and the second is that, we want to accelerate the filtering stage. Basically, this is the adoption of

266
00:52:49.200 --> 00:52:53.799
Liang Geng: my second world lab RTS for a special drone.

267
00:52:53.890 --> 00:53:07.639
Liang Geng: We… for one side of the table, we build the BVH. For the other side, we cast a different form of race, and we find the potential MBR-MBR intersection, or MBR point intersection.

268
00:53:07.750 --> 00:53:10.889
Liang Geng: And this is based on the LabRTS work.

269
00:53:11.720 --> 00:53:22.320
Liang Geng: And after this, we will find the potential intersections called the candidate pair. So we will use these pairs to feed into the next stage called refinement. To evaluate the spatial predicts.

270
00:53:22.650 --> 00:53:27.549
Liang Geng: Okay, so for the refinement stage, we do the days.

271
00:53:27.760 --> 00:53:29.670
Liang Geng: We have kind of Paris.

272
00:53:29.820 --> 00:53:49.459
Liang Geng: So, we extract the features, and for each feature, we will layer them one by one, because in Articles, it supports 3D data, right? But in Geospatial, we only support… we only want 2D, so we can layer these geometries.

273
00:53:51.080 --> 00:54:09.989
Liang Geng: to, like, index each geometry individually, and for the query side, we still cast different forms of race. This is… basically, this is the idea of, redraw, okay? And this stage refinement is also accelerated by retracing costs.

274
00:54:10.330 --> 00:54:16.500
Liang Geng: Basically, these are the systematic work we, we have done in this.

275
00:54:17.210 --> 00:54:34.180
Liang Geng: And, this is, performance numbers. So, SenoDB is already very fast than the famous DuckDB, GeoPanels, and PostGs. And this work called RayBooster, which is a RTX version layer for SenoDB.

276
00:54:34.220 --> 00:54:40.459
Liang Geng: And we include a baseline called PGStrong, GPU support for PostGs.

277
00:54:40.700 --> 00:54:47.600
Liang Geng: And we compared the CPU, original Senor EB, and, rebooster is the best work.

278
00:54:48.680 --> 00:54:54.329
Liang Geng: We include many GPO models, include.

279
00:54:55.330 --> 00:55:00.679
Liang Geng: Gaming model, data center models, and some…

280
00:55:00.820 --> 00:55:09.159
Liang Geng: high-end AI GPUs, it does not have RT cost, but it supports software illumination of retracing.

281
00:55:11.430 --> 00:55:14.809
Liang Geng: And we will first compare the performance.

282
00:55:15.510 --> 00:55:19.440
Liang Geng: We use a benchmark called Apache Sonora Bench.

283
00:55:19.570 --> 00:55:31.590
Liang Geng: And we compare PG Strong GPU acceleration for PostGs, CernoDB, the CPU version, and this work rebooster on different GPU models.

284
00:55:31.740 --> 00:55:40.169
Liang Geng: And, X-axis are the queries of this benchmark center bench, and Y-axis are the running time.

285
00:55:40.390 --> 00:55:59.779
Liang Geng: So, for the heavy drones, like the special drones running, like, very long, it can achieve very high performance and, impressing speedups. And for the lightweight or latency-sensitive team, this work is comparable to the Salona DB.

286
00:56:00.490 --> 00:56:04.539
Liang Geng: So, we also want to compare the cost

287
00:56:04.820 --> 00:56:10.679
Liang Geng: We evaluate, this work on AWS Cloud.

288
00:56:10.900 --> 00:56:26.709
Liang Geng: And, we compare the total cost of running all these queries with a CPU with different model of GPUs, and we found that with a very cheap GPU with RT cost called L4, we can achieve, like.

289
00:56:26.750 --> 00:56:37.699
Liang Geng: 59 lower cost compared to using the CPU, and at the same time, achieve 1.9 speedups over 70 DB on the CPU. Okay.

290
00:56:38.830 --> 00:56:55.959
Liang Geng: And here's a key takeaways of this work, Rebooster. And Rebooster is a booster layer for SonarDB, which has, like, many downloads today, more than 100K already, and each month it has, like, 20K downloads.

291
00:56:56.170 --> 00:57:13.889
Liang Geng: And we address the data format mismatch by presenting unique, computational-friendly layer, addressing indexing overhead. It's a production ready. This work has been integrated in the SonataDB's official GitHub code repo.

292
00:57:14.090 --> 00:57:18.970
Liang Geng: We achieve very high efficient and very cost-effective at the same time.

293
00:57:19.120 --> 00:57:23.359
Liang Geng: Okay, finally, we come to the conclusion of my dissertation.

294
00:57:23.390 --> 00:57:31.400
Liang Geng: So, we demonstrated a new computing paradigm using the retracing pods to accelerate spatial-based operations.

295
00:57:31.400 --> 00:57:48.000
Liang Geng: And then, we established a hardware algorithm called Design Principles by addressing various challenges, like formulating challenges, how to reduce overhead, addressing load balance issues. So, this work from Rajon Lab RTS.

296
00:57:48.000 --> 00:57:55.000
Liang Geng: No, not XHE, but first two works has been integrated into SalonDB.

297
00:57:55.000 --> 00:58:13.269
Liang Geng: And I make a strong case for using RTE calls to accelerate spatial database as also reduce the cost and achieve high performance at the same time with system integration and real world product.

298
00:58:13.340 --> 00:58:18.470
Liang Geng: Okay, and this is the end of my presentation. I'm open to questions.

299
00:58:21.730 --> 00:58:22.490
Liang Geng: Okay.

300
00:58:23.760 --> 00:58:26.599
Liang Geng: Now we open question 2.

301
00:58:27.190 --> 00:58:28.840
Liang Geng: Ever. What? Yeah.

302
00:58:29.470 --> 00:58:33.520
Liang Geng: Particularly for your PhD students. This is a good opportunity.

303
00:58:34.940 --> 00:58:47.500
Liang Geng: Okay, so I have, two questions. Okay. First is about the precision management. So you mentioned that you manage the precision when importing data from 64,

304
00:58:47.950 --> 00:59:11.380
Liang Geng: from 64 bits to 32 bits. Yes. I wonder if the range of the 64-bit data can be a problem, because the 64 double precision can represent a wider range of data. Is that a problem in your application? It's actually not the dominant range, but the number after the

305
00:59:11.380 --> 00:59:16.359
Liang Geng: the floating dot. Yes, yeah, that's the problem.

306
00:59:16.360 --> 00:59:17.210
Liang Geng: Okay. Yeah.

307
00:59:17.250 --> 00:59:18.760
Liang Geng: So…

308
00:59:18.950 --> 00:59:36.960
Liang Geng: Another problem is that I… you mentioned that you integrated your application and your… your algorithm into your database, so I wonder when… when would you create the BVH hierarchies and the BVH accelerator?

309
00:59:36.960 --> 00:59:39.310
Liang Geng: structure is that.

310
00:59:39.310 --> 00:59:57.869
Liang Geng: Is that structure built when people doing some query to your data, or it's done when you're updating the data in your PV? Yeah, very good question. So basically, for the OLAP database, we don't build a static index when importing the data.

311
00:59:57.870 --> 01:00:00.860
Liang Geng: We build the index of VVH

312
01:00:00.890 --> 01:00:20.140
Liang Geng: when a query has come in, so we will, like, find the query plan over the, and, then to the, like, physical plan, then we will build a BVH for a subset of a table, not the whole table. So, so when… so I…

313
01:00:20.140 --> 01:00:39.769
Liang Geng: So, if the user just wants to, query up some parts of your data, will you create the whole accelerator structure for your entire data set, or just part of it? If the query has a very close, it will create the index over the data.

314
01:00:39.780 --> 01:00:40.860
Liang Geng: filtered.

315
01:00:41.070 --> 01:00:41.840
Liang Geng: Yeah.

316
01:00:42.110 --> 01:00:42.990
Liang Geng: Thank you.

317
01:00:43.960 --> 01:00:46.140
Liang Geng: Very good question. Other questions?

318
01:00:49.250 --> 01:00:51.950
Liang Geng: Astronomical time.

319
01:00:52.310 --> 01:01:04.150
Liang Geng: Yeah, okay, no one, actually. But a lot of people previously online has been listening to my talk.

320
01:01:04.460 --> 01:01:13.880
Liang Geng: Like, maybe 6, 8 people, yeah. Yeah, but currently it's only two. Yeah.

321
01:01:17.470 --> 01:01:21.039
Liang Geng: Okay, thank you for coming, and then we'll have a close.

322
01:01:21.220 --> 01:01:24.000
Liang Geng: Okay, thank you.

323
01:01:28.490 --> 01:01:32.740
Liang Geng: Oh, no.

324
01:01:32.840 --> 01:01:35.620
Liang Geng: Okay.

325
01:01:35.870 --> 01:01:38.300
Liang Geng: Okay, I'll stop sharing.

