race-of-prefetchers
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.3%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: tarungogula
- License: apache-2.0
- Language: C++
- Default Branch: main
- Size: 633 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
ChampSim
ChampSim is a trace-based simulator for a microarchitecture study. If you have questions about how to use ChampSim, we encourage you to search the threads in the Discussions tab or start your own thread. If you are aware of a bug or have a feature request, open a new Issue.
Using ChampSim
ChampSim is the result of academic research. To support its continued growth, please cite our work when you publish results that use ChampSim by clicking "Cite this Repository" in the sidebar.
Compile
ChampSim takes a JSON configuration script. Examine champsim_config.json for a fully-specified example. All options described in this file are optional and will be replaced with defaults if not specified. The configuration scrip can also be run without input, in which case an empty file is assumed.
$ ./config.sh <configuration file>
$ make
Run simulation
Execute the binary directly.
$ bin/champsim --warmup_instructions 200000000 --simulation_instructions 500000000 ~/path/to/traces/600.perlbench_s-210B.champsimtrace.xz
The number of warmup and simulation instructions given will be the number of instructions retired. Note that the statistics printed at the end of the simulation include only the simulation phase.
Add your own branch predictor, data prefetchers, and replacement policy
Copy an empty template
$ mkdir prefetcher/mypref
$ cp prefetcher/no_l2c/no.cc prefetcher/mypref/mypref.cc
Work on your algorithms with your favorite text editor
$ vim prefetcher/mypref/mypref.cc
Compile and test
Add your prefetcher to the configuration file.
{
"L2C": {
"prefetcher": "mypref"
}
}
Note that the example prefetcher is an L2 prefetcher. You might design a prefetcher for a different level.
$ ./config.sh <configuration file>
$ make
$ bin/champsim --warmup_instructions 200000000 --simulation_instructions 500000000 600.perlbench_s-210B.champsimtrace.xz
Evaluate Simulation
ChampSim measures the IPC (Instruction Per Cycle) value as a performance metric.
There are some other useful metrics printed out at the end of simulation.
Good luck and be a champion!
Owner
- Login: tarungogula
- Kind: user
- Repositories: 1
- Profile: https://github.com/tarungogula
Citation (CITATION.cff)
authors:
- family-names: Gober
given-names: Nathan
- family-names: Chacon
given-names: Gino
- family-names: Pugsley
given-names: Seth
- family-names: Kim
given-names: Jinchun
cff-version: 1.2.0
title: "ChampSim"
message: "If you use this software, please cite this article to support its continued development."
preferred-citation:
authors:
- family-names: Gober
given-names: Nathan
- family-names: Chacon
given-names: Gino
- family-names: Wang
given-names: Lei
- family-names: Gratz
given-names: Paul V.
- family-names: Jimenez
given-names: Daniel A.
- family-names: Teran
given-names: Elvira
- family-names: Pugsley
given-names: Seth
- family-names: Kim
given-names: Jinchun
title: "The Championship Simulator: Architectural Simulation for Education and Competition"
type: article
doi: 10.48550/arXiv.2210.14324
year: 2022