Cache-conscious structure definition

Author:

Chilimbi Trishul M.1,Davidson Bob2,Larus James R.3

Affiliation:

1. Computer Sciences Department, University of Wisconsin-Madison, 1210 W. Dayton Street, Madison, WI

2. Microsoft Corporation, One Microsoft Way, Redmond, WA

3. Microsoft Research, One Microsoft Way, Redmond, WA

Abstract

A program's cache performance can be improved by changing the organization and layout of its data---even complex, pointer-based data structures. Previous techniques improved the cache performance of these structures by arranging distinct instances to increase reference locality. These techniques produced significant performance improvements, but worked best for small structures that could be packed into a cache block.This paper extends that work by concentrating on the internal organization of fields in a data structure. It describes two techniques--- structure splitting and field reordering ---that improve the cache behavior of structures larger than a cache block. For structures comparable in size to a cache block, structure splitting can increase the number of hot fields that can be placed in a cache block. In five Java programs, structure splitting reduced cache miss rates 10--27% and improved performance 6--18% beyond the benefits of previously described cache-conscious reorganization techniques.For large structures, which span many cache blocks, reordering fields, to place those with high temporal affinity in the same cache block can also improve cache utilization. This paper describes bbcache, a tool that recommends C structure field reorderings. Preliminary measurements indicate that reordering fields in 5 active structures improves the performance of Microsoft SQL Server 7.0 2--3%.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference13 articles.

1. Cache-conscious data placement

2. Craig Chambers. "Object-oriented multi-methods in Cecil." pages 33-56 June 1992. Craig Chambers. "Object-oriented multi-methods in Cecil." pages 33-56 June 1992.

3. Trishul M. Chilimhi and }ameba R_ I.nn}g_ "I I.qin~ oenerational garbage collection to implement cache-conscious data placement.'' In Proceedings of the 1998 International Symposium on Memory Management Oct. 1998. 10.1145/286860.286865 Trishul M. Chilimhi and }ameba R_ I.nn}g_ "I I.qin~ oenerational garbage collection to implement cache-conscious data placement.'' In Proceedings of the 1998 International Symposium on Memory Management Oct. 1998. 10.1145/286860.286865

4. Cache-conscious structure layout

Cited by 38 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Region-Based Data Layout via Data Reuse Analysis;Proceedings of the 33rd ACM SIGPLAN International Conference on Compiler Construction;2024-02-17

2. MicroProf : Code-level Attribution of Unnecessary Data Transfer in Microservice Applications;ACM Transactions on Architecture and Code Optimization;2023-12-14

3. Agents of Autonomy: A Systematic Study of Robotics on Modern Hardware;Proceedings of the ACM on Measurement and Analysis of Computing Systems;2023-12-07

4. Offline and Online Algorithms for SSD Management;Proceedings of the ACM on Measurement and Analysis of Computing Systems;2021-12-14

5. NVLSM: A Persistent Memory Key-Value Store Using Log-Structured Merge Tree with Accumulative Compaction;ACM Transactions on Storage;2021-08-31

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3