Skip to main navigation Skip to search Skip to main content

Code-based cache partitioning for improving hardware cache performance

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Recently, improving hardware cache performance is getting more important, because the performance gap between processor and memory has caused "memory wall" problem. Most cache designs are based on the LRU replacement policy which is effective for high-locality workloads. However, it is ineffective for the workloads that have a working set greater than available cache size or weak-memory access patterns. To make up for the weakness of LRU policy, we introduce a novel code-based cache partitioning mechanism which does not require any hardware support. In our mechanism, we first collect profile data using binary instrumentation, and then classify the characteristic of code region through the collected code profiles. Finally, while the application is running, page coloring technique is used for code-based cache partitioning. To show effectiveness of our mechanism, we implemented our mechanism in the Linux kernel. Experiments on the workloads including weak-memory access pattern show that the proposed mechanism achieves performance improvement by up to 7.3% and the last-level cache miss reduction by up to 37.8%.

Original languageEnglish
Title of host publicationProceedings of the 6th International Conference on Ubiquitous Information Management and Communication, ICUIMC'12
DOIs
StatePublished - 2012
Event6th International Conference on Ubiquitous Information Management and Communication, ICUIMC'12 - Kuala Lumpur, Malaysia
Duration: 20 Feb 201222 Feb 2012

Publication series

NameProceedings of the 6th International Conference on Ubiquitous Information Management and Communication, ICUIMC'12

Conference

Conference6th International Conference on Ubiquitous Information Management and Communication, ICUIMC'12
Country/TerritoryMalaysia
CityKuala Lumpur
Period20/02/1222/02/12

Keywords

  • Cache partitioning
  • Cache performance
  • Page coloring
  • Shared cache management

Fingerprint

Dive into the research topics of 'Code-based cache partitioning for improving hardware cache performance'. Together they form a unique fingerprint.

Cite this