Towards Practical Page Coloring-based Multi-core Cache Management

被引:0
作者
Zhang, Xiao [1 ]
Dwarkadas, Sandhya [1 ]
Shen, Kai [1 ]
机构
[1] Univ Rochester, Dept Comp Sci, Rochester, NY 14627 USA
来源
EUROSYS'09: PROCEEDINGS OF THE FOURTH EUROSYS CONFERENCE | 2009年
关键词
Multi-core; Resource management; Cache partitioning; Page coloring;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Modem multi-core processors present new resource management challenges due to the subtle interactions of simultaneously executing processes sharing on-chip resources (particularly the L2 cache). Recent research demonstrates that the operating system may use the page coloring mechanism to control cache partitioning, and consequently to achieve fair and efficient cache utilization. However page coloring places additional constraints on memory space allocation, which may conflict with application memory needs. Further adaptive adjustments of cache partitioning policies in a multi-programmed execution environment may incur substantial overhead for page recoloring (or copying). This paper proposes a hot-page coloring approach enforcing coloring on only a small set of frequently accessed (or hot) pages for each process. The cost of identifying hot pages online is reduced by leveraging the knowledge of spatial locality during a page table scan of access bits. Our results demonstrate that hot page identification and selective coloring can significantly alleviate the coloring-induced adverse effects in practice. However we also reach the somewhat negative conclusion that without additional hardware support, adaptive page coloring is only beneficial when recoloring is performed infrequently (meaning long scheduling time quanta in multi-programmed executions).
引用
收藏
页码:89 / 102
页数:14
相关论文
共 31 条
  • [1] *AMD64 MAN, AMD 64 ARCH PROGR MA
  • [2] [Anonymous], AM EL COMP CLOUD
  • [3] Compiler-directed page coloring for multiprocessors
    Bugnion, E
    Anderson, JM
    Mowry, TC
    Rosenblum, M
    Lam, MS
    [J]. ACM SIGPLAN NOTICES, 1996, 31 (09) : 244 - 255
  • [4] CHIOU D, 2000, 37 C DES AUT LOS ANG
  • [5] Cho SY, 2006, INT SYMP MICROARCH, P455
  • [6] FEDOROVA A, 2007, 16 INT C PAR ARCH CO, P25
  • [7] Hsu LisaR., 2006, Proc. PACT '06, P13
  • [8] *IA32 MAN, 2008, IA 32 INT ARCH SOFTW
  • [9] *INT, 2008, TLBS PAG STRUCT CACH
  • [10] Iyer R, 2007, PERF E R SI, V35, P25