首页> 外文期刊>Advanced Science Letters >Load Balancing Parallel Hash Join Algorithm Based on Shared Cache Chip Multi-Processor
【24h】

Load Balancing Parallel Hash Join Algorithm Based on Shared Cache Chip Multi-Processor

机译:基于共享缓存芯片多处理器的负载均衡并行哈希联接算法

获取原文
获取原文并翻译 | 示例
           

摘要

Chip Multi-Processor (CMP) presents new opportunities for improving database performance on large queries. Because various resources are shared by many threads, such as L2-Cache, multiprocessors system and simultaneous multithreading are inherently different from CMP system. Based on Chip Multi-Processor (CMP), this paper explores multithreaded hash join execution optimization framework. A major problem of hash join algorithm is that if the hash table can not fit into the cache, each access to the hash table is likely to cause one cache thrashing due to its random nature. To resolve this problem, we designed a reusable triangular buffering structure such that the partitioning granularity is smaller than the cache capacity. Furthermore, in order to reduce cache access conflict in the multithreaded join phase, we optimized the partitioning granularity in accordance with the number of threads. Besides, to address the issue of imbalance of thread's workload, we proposed a novel method to optimize the workload assignment among threads. Our theoretical analysis and empirical evaluation show that the proposed algorithm could impressively improve in the performance of hash join operation.
机译:芯片多处理器(CMP)为提高大型查询的数据库性能提供了新的机会。因为各种资源(例如L2-Cache)由许多线程共享,所以多处理器系统和同时进行的多线程与CMP系统本质上是不同的。本文基于芯片多处理器(CMP),探索了多线程哈希联接执行优化框架。哈希联接算法的一个主要问题是,如果哈希表无法放入缓存中,则由于其随机性,对哈希表的每次访问都可能导致一个缓存抖动。为了解决此问题,我们设计了可重用的三角形缓冲结构,以使分区粒度小于缓存容量。此外,为了减少多线程连接阶段中的缓存访问冲突,我们根据线程数优化了分区粒度。此外,为了解决线程工作量不平衡的问题,我们提出了一种优化线程间工作量分配的新方法。我们的理论分析和经验评估表明,该算法可以显着提高哈希联接操作的性能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号