arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0410066cs.DCcs.PF
收藏

通过在CPU缓存上分配索引实现快速查询处理

Fast Query Processing by Distributing an Index over CPU Caches

Xiaoqin Ma, Gene Cooperman

摘要:

集群上的数据密集型应用程序通常需要将请求快速发送到管理所需数据的节点。在许多应用程序中,必须查看排序的树结构以确定访问或存储数据的负责节点。例子包括传感器网络中的对象跟踪,互联网上的数据包路由,订阅中间件中的请求处理,以及数据库系统中的查询处理。当树结构大于CPU高速缓存时,标准实现对于每次查找潜在地引起许多高速缓存未命中;在树的每个连续级别处一个高速缓存未命中。随着CPU-RAM差距的扩大,这种性能下降在未来只会变得更糟。我们提出了一个解决方案,利用集群的局域网的增长速度。我们将排序后的树结构拆分到集群的节点中。我们假设该结构将适合整个集群的CPU缓存的聚合。然后,我们通过网络发送一个字(作为包含其他字的较大数据包的一部分),以检查另一个节点的CPU缓存中的树结构。我们表明,这往往是速度比标准的解决方案,这在本地引起多个缓存未命中,同时访问树的每个连续的水平。

英文摘要:

Data intensive applications on clusters often require requests quickly be sent to the node managing the desired data. In many applications, one must look through a sorted tree structure to determine the responsible node for accessing or storing the data. Examples include object tracking in sensor networks, packet routing over the internet, request processing in publish-subscribe middleware, and query processing in database systems. When the tree structure is larger than the CPU cache, the standard implementation potentially incurs many cache misses for each lookup; one cache miss at each successive level of the tree. As the CPU-RAM gap grows, this performance degradation will only become worse in the future. We propose a solution that takes advantage of the growing speed of local area networks for clusters. We split the sorted tree structure among the nodes of the cluster. We assume that the structure will fit inside the aggregation of the CPU caches of the entire cluster. We then send a word over the network (as part of a larger packet containing other words) in order to examine the tree structure in another node's CPU cache. We show that this is often faster than the standard solution, which locally incurs multiple cache misses while accessing each successive level of the tree.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑