Cycle accurate memory modelling: A case-study in validation

Andrew Over*, Peter Strazdins, Bill Clarke

*Corresponding author for this work

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

    5 Citations (Scopus)

    Abstract

    Simulation is an integral tool in performance analysis, however without some knowledge of a simulator's underlying accuracy and limitations, the results may prove wrong or misleading. Timing validation is one aspect of development which is easy to overlook, typically due to the lack of a comparison target at the time the simulator was written. This paper discusses the design and validation of an accurate timing model for an UltraSPARC IIICu-based system. An existing functional simulator was augmented with a cycle-accurate model of the memory hierarchy of a reference system. Key features of the model include the use of a 'bridge' for the processor/memory system interface, the use of event windows between the simulated backplane and processors, implementation of pipelined transactions, and the extension of the processor run loop to support this. The modelling of the store buffer and prefetch mechanisms proved both challenging and important for the model's accuracy. Using a combination of documentation, microbenchmarks, and comparisons of the NAS parallel benchmarks between the simulator and a real machine, it was possible to uncover several undocumented architectural artifacts, and validate the simulator to a reasonable degree. Hardware performance counters and timing information were used to identify the source of discrepancies. Surprisingly, the overhead of introducing the model was within a factor of two, compared with the original functional simulator.

    Original languageEnglish
    Title of host publicationMASCOTS 2005
    Subtitle of host publication13th IEEE International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunications Systems
    Pages85-94
    Number of pages10
    DOIs
    Publication statusPublished - 2005
    EventMASCOTS 2005: 13th IEEE International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunications Systems - Atlanta, GA, United States
    Duration: 27 Sept 200529 Sept 2005

    Publication series

    NameProceedings - IEEE Computer Society's Annual International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunications Systems, MASCOTS
    Volume2005
    ISSN (Print)1526-7539

    Conference

    ConferenceMASCOTS 2005: 13th IEEE International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunications Systems
    Country/TerritoryUnited States
    CityAtlanta, GA
    Period27/09/0529/09/05

    Fingerprint

    Dive into the research topics of 'Cycle accurate memory modelling: A case-study in validation'. Together they form a unique fingerprint.

    Cite this