arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1908.04718cs.DBcs.PF
收藏

OLAP的微架构分析:限制与机遇

Micro-architectural Analysis of OLAP: Limitations and Opportunities

EPFL(洛桑联邦理工学院)

Utku Sirin, Anastasia Ailamaki

AI总结:

本文研究了OLAP系统的微架构行为,发现传统商业OLAP系统不遭受指令缓存缺失,但因指令足迹大导致响应缓慢,高性能OLAP引擎在CPU周期中大部分时间用于停滞,且由于计算和内存需求不均衡而未充分利用多核CPU或内存带宽资源。

摘要:

理解微架构行为对于高效利用硬件资源至关重要。最近的研究表明,尽管在现代硬件上被大力优化,内存中的在线事务处理(OLTP)系统严重低估了其核心微架构资源[25]。另一方面,在线分析处理(OLAP)工作负载表现出完全不同的计算模式。OLAP工作负载是只读的、带宽密集型的,并包含各种数据访问模式,包括顺序和随机的数据访问。此外,随着列存储的兴起,它们在高性能引擎上运行,这些引擎紧密优化以高效利用现代硬件。因此,现代OLAP系统的微架构行为仍然不清楚。本文对广泛范围的OLAP系统进行了微架构分析。我们检查了CPU周期和内存带宽利用率。结果表明,与传统的商业OLTP系统不同,传统的商业OLAP系统不遭受指令缓存缺失。然而,它们由于其大的指令足迹导致响应时间慢。高性能OLAP引擎执行紧密的指令流;然而,无论工作负载是顺序还是随机访问密集型,它们在CPU周期中花费25到82%的时间在停滞上。此外,高性能OLAP引擎由于计算和内存需求不成比例而未充分利用多核CPU或内存带宽资源。因此,分析处理引擎应仔细分配其计算和内存资源以实现高效的多核微架构利用。

英文摘要:

Understanding micro-architectural behavior is profound in efficiently using hardware resources. Recent work has shown that, despite being aggressively optimized for modern hardware, in-memory online transaction processing (OLTP) systems severely underutilize their core micro-architecture resources [25]. Online analytical processing (OLAP) workloads, on the other hand, exhibit a completely different computing pattern. OLAP workloads are read-only, bandwidth-intensive and include various data access patterns including both sequential and random data accesses. In addition, with the rise of column-stores, they run on high performance engines that are tightly optimized for the efficient use of modern hardware. Hence, the micro-architectural behavior of modern OLAP systems remains unclear. This work presents the micro-architectural analysis of a breadth of OLAP systems. We examine CPU cycles and memory bandwidth utilization. The results show that, unlike the traditional, commercial OLTP systems, traditional, commercial OLAP systems do not suffer from instruction cache misses. Nevertheless, they suffer from their large instruction footprint resulting in slow response times. High performance OLAP engines execute tight instruction streams; however, they spend 25 to 82% of the CPU cycles on stalls regardless of the workload being sequential- or random-access-heavy. In addition, high performance OLAP engines underutilize the multi-core CPU or memory bandwidth resources due to their disproportional compute and memory demands. Hence, analytical processing engines should carefully assign their compute and memory resources for efficient multi-core micro-architectural utilization.

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

↑