• DocumentCode
    3674788
  • Title

    Systematic Reverse Engineering of Cache Slice Selection in Intel Processors

  • Author

    Gorka Irazoqui;Thomas Eisenbarth;Berk Sunar

  • Author_Institution
    Worcester Polytech. Inst. Worcester, Worcester, MA, USA
  • fYear
    2015
  • Firstpage
    629
  • Lastpage
    636
  • Abstract
    Dividing last level caches into slices is a popular method to prevent memory accesses from becoming a bottleneck on modern multicore processors. In order to assess and understand the benefits of cache slicing in detail, a precise knowledge of implementation details such as the slice selection algorithm are of high importance. However, slice selection methods are mostly unstudied, and processor manufacturers choose not to publish their designs, nor their design rationale. In this paper, we present a tool that allows to recover the slice selection algorithm for Intel processors. The tool uses cache access information to derive equations that allow the reconstruction of the applied slice selection algorithm. Thereby, the tool enables further exploration of the behavior of modern caches. The tool is successfully applied to a range of Intel CPUs with different slices and architectures. Results show that slice selection algorithms have become more complex over time by involving an increasing number of bits of the physical address. We also demonstrate that among the most recent processors, the slice selection algorithm depends on the number of CPU cores rather than the processor model.
  • Keywords
    "Program processors","Multicore processing","Probes","Algorithm design and analysis","Reverse engineering","Monitoring"
  • Publisher
    ieee
  • Conference_Titel
    Digital System Design (DSD), 2015 Euromicro Conference on
  • Type

    conf

  • DOI
    10.1109/DSD.2015.56
  • Filename
    7302337