• DocumentCode
    2080083
  • Title

    HC-Sim: A fast and exact L1 cache simulator with scratchpad memory co-simulation support

  • Author

    Chen, Yu-Ting ; Cong, Jason ; Reinman, Glenn

  • Author_Institution
    Comput. Sci. Dept., Univ. of California, Los Angeles, Los Angeles, CA, USA
  • fYear
    2011
  • fDate
    9-14 Oct. 2011
  • Firstpage
    295
  • Lastpage
    304
  • Abstract
    The configuration of L1 caches has a significant impact on the performance and energy consumption of an embedded system. Normally, an embedded system is designed for a specific application or a domain of applications. Performing simulations on the application(s) is the most popular way to find the optimal L1 cache configuration. However, the simulation-based approach suffers from long simulation time due to the need to exhaustively simulate all configurations, which are characterized by three parameters: the number of cache sets, associativity, and the cache line size. In previous work, the most time-consuming part was to determine the hit or miss status of a cache access under each configuration by performing a linear search on a long linked-list based on the inclusion property. In this work, we propose a novel simulator, HC-Sim, which adopts elaborate data structures, a centralized hash table, and a novel miss counter structure, to effectively reduce the search time. On average, we can achieve 2.56X speedup compared to the existing fastest approach (SuSeSim). In addition, we implement HC-Sim by using the dynamic binary instrumentation tool, Pin. This provides scalability for simulating larger applications by eliminating the overhead of generating and storing a huge trace file. Furthermore, HC-Sim provides the capacity to simulate an L1 cache and a scratchpad memory (SPM) simultaneously. It helps designers to explore the design space considering both L1 cache configurations and the SPM sizes.
  • Keywords
    cache storage; data structures; embedded systems; performance evaluation; power aware computing; HC-Sim; L1 cache simulator; Pin; SPM sizes; centralized hash table; data structures; dynamic binary instrumentation tool; embedded system; energy consumption; file storage; miss counter structure; scalability; scratchpad memory cosimulation support; Binary trees; Complexity theory; Energy consumption; Indexes; Radiation detectors; Vegetation; Cache simulation; Dynamic binary instrumentation; L1 cache; LRU; Miss rate; Scratchpad memory; Simulation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Hardware/Software Codesign and System Synthesis (CODES+ISSS), 2011 Proceedings of the 9th International Conference on
  • Conference_Location
    Taipei
  • Print_ISBN
    978-1-4503-0715-4
  • Type

    conf

  • Filename
    6062301