Science Score: 54.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
  • Committers with academic emails
    5 of 35 committers (14.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.3%) to scientific vocabulary

Keywords from Contributors

standardization hack interpretability autograder interaction meshing numerical-methods robust parallel optim
Last synced: 7 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: PrincetonUniversity
  • License: apache-2.0
  • Language: C++
  • Default Branch: wrong-path
  • Size: 3.2 MB
Statistics
  • Stars: 3
  • Watchers: 3
  • Forks: 0
  • Open Issues: 3
  • Releases: 0
Created over 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme Contributing License Citation

README.md

ChampSim

GitHub GitHub Workflow Status GitHub forks Coverage Status

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.

Download dependencies

ChampSim uses vcpkg to manage its dependencies. In this repository, vcpkg is included as a submodule. You can download the dependencies with git submodule update --init vcpkg/bootstrap-vcpkg.sh vcpkg/vcpkg install

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

Download DPC-3 trace

Traces used for the 3rd Data Prefetching Championship (DPC-3) can be found here. (https://dpc3.compas.cs.stonybrook.edu/champsim-traces/speccpu/) A set of traces used for the 2nd Cache Replacement Championship (CRC-2) can be found from this link. (http://bit.ly/2t2nkUj)

Storage for these traces is kindly provided by Daniel Jimenez (Texas A&M University) and Mike Ferdman (Stony Brook University). If you find yourself frequently using ChampSim, it is highly encouraged that you maintain your own repository of traces, in case the links ever break.

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

How to create traces

Program traces are available in a variety of locations, however, many ChampSim users wish to trace their own programs for research purposes. Example tracing utilities are provided in the tracer/ directory.

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

  • Name: PrincetonUniversity
  • Login: PrincetonUniversity
  • Kind: organization

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

GitHub Events

Total
  • Watch event: 1
  • Push event: 4
Last Year
  • Watch event: 1
  • Push event: 4

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 1,368
  • Total Committers: 35
  • Avg Commits per committer: 39.086
  • Development Distribution Score (DDS): 0.236
Past Year
  • Commits: 3
  • Committers: 3
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.667
Top Committers
Name Email Commits
Nathan Gober n****r@p****m 1,045
github-actions 4****] 105
Seth Pugsley s****y@g****m 64
Bhargav Reddy Godala b****a@p****u 34
GinoC g****n@g****m 19
Alberto Ros a****s@d****s 18
Vishal Gupta v****2@g****m 12
agusnt a****1@g****m 12
ChampSim c****n@g****m 8
Auto-Formatter f****t@e****m 8
lpha s****a@g****m 5
dependabot[bot] 4****] 5
ChampSim C****n@g****m 3
Daniel A. Jimenez d****z@c****u 3
Sawan Singh s****n@u****s 2
Jinchun Kim c****x@g****m 2
Jinchun Kim c****x@t****u 2
Josué Feliu 3****e 2
Rajesh Shashi Kumar 3****s 2
maccoymerrell 4****l 2
Chrysanthos Pepi g****5@p****m 1
Krishnam Tibrewala k****a@g****m 1
jsz1995 j****5@l****m 1
Nathan Gober n****r@a****n 1
Daniel A. Jimenez d****z@n****z 1
ChampSIm c****u@g****m 1
pAbellan-arch p****l@g****m 1
spramesh2123 s****h@u****u 1
Deepraj Pandey 1****y 1
Fangjia Shen 5****n 1
and 5 more...
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 9 months ago

All Time
  • Total issues: 1
  • Total pull requests: 4
  • Average time to close issues: 7 days
  • Average time to close pull requests: about 1 month
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 2.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ngober (1)
Pull Request Authors
  • krishnamtibrewala (3)
  • cpepis (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

.github/workflows/buildcheck.yml actions
  • actions/checkout v4 composite
  • actions/upload-artifact v3 composite
.github/workflows/configurations.yml actions
  • actions/checkout v4 composite
.github/workflows/docs.yml actions
  • EndBug/add-and-commit v9 composite
  • actions/checkout v4 composite
.github/workflows/main.yml actions
  • DoozyX/clang-format-lint-action v0.16 composite
  • EndBug/add-and-commit v9 composite
  • actions/checkout v4 composite
.github/workflows/test.yml actions
  • actions/checkout v4 composite
  • actions/download-artifact v3 composite
  • actions/upload-artifact v3.1.2 composite
  • coverallsapp/github-action master composite
vcpkg.json vcpkg
  • bzip2 *
  • catch2 *
  • cli11 *
  • fmt *
  • liblzma *
  • nlohmann-json *
  • zlib *