We use cookies to improve your experience with our site.
Hua Luan, Xiao-Yong Du, Shan Wang. Cache-Conscious Data Cube Computation on a Modern Processor[J]. Journal of Computer Science and Technology, 2009, 24(4): 708-722.
Citation: Hua Luan, Xiao-Yong Du, Shan Wang. Cache-Conscious Data Cube Computation on a Modern Processor[J]. Journal of Computer Science and Technology, 2009, 24(4): 708-722.

Cache-Conscious Data Cube Computation on a Modern Processor

  • Data cube computation is an important problem in the field of data warehousing and OLAP (online analytical processing). Although it has been studied extensively in the past, most of its algorithms are designed without considering CPU and cache behavior. In this paper, we first propose a cache-conscious cubing approach called CC-Cubing to efficiently compute data cubes on a modern processor. This method can enhance CPU and cache performances. It adopts an integrated depth-first and breadth-first partitioning order and partitions multiple dimensions simultaneously. The partitioning scheme improves the data spatial locality and increases the utilization of cache lines. Software prefetching techniques are then applied in the sorting phase to hide the expensive cache misses associated with data scans. In addition, a cache-aware method is used in CC-Cubing to switch the sort algorithm dynamically. Our performance study shows that CC-Cubing outperforms BUC, Star-Cubing and MM-Cubing in most cases. Then, in order to fully utilize an SMT (simultaneous multithreading) processor, we present a thread-based CC-Cubing-SMT method. This parallel method provides an improvement up to 27% for the single-threaded CC-Cubing algorithm. %To the best of our knowledge, %this paper is the first effort to make cube computation cache conscious.
  • loading

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return