https://github.com/dhschall/gem5-fdp
Development repository for Fetch Directed Instruction Prefetching (FDP) in gem5
Science Score: 33.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 6 DOI reference(s) in README -
✓Academic publication links
Links to: ieee.org -
✓Committers with academic emails
100 of 393 committers (25.4%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.9%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Development repository for Fetch Directed Instruction Prefetching (FDP) in gem5
Basic Info
- Host: GitHub
- Owner: dhschall
- License: bsd-3-clause
- Language: C++
- Default Branch: fdp
- Homepage: http://www.gem5.org
- Size: 270 MB
Statistics
- Stars: 25
- Watchers: 0
- Forks: 4
- Open Issues: 5
- Releases: 0
Topics
Metadata Files
README.md
Fetch Directed Instruction Prefetching for gem5
This is the development repository for Fetch Directed Instruction Prefetching (FDP) in gem5 also known as decoupled front-end. FDP was originally published in MICRO'99. Today, FDP is the standard front-end design for high performance server CPU's including CPU's from Intel, IBM, AMD, and ARM.
This implementation is based on an industrial report and aims to establish a state-of-the-art front-end design comparable to modern servers in gem5.
How to use
We included an example script
how to configure FDP correctly and simulate a simple "Hello World!" program.
The script is tested with the x86, ARM, RISC-V ISA's which can be specified
by the --isa flag.
```bash
Build gem5
scons build/ALL/gem5.opt
Run the simulation
./build/ALL/gem5.opt \
configs/example/gem5_library/fdp-hello.py \
--isa
Notes
The implementation was developed for the X86 architecture in full-system mode. Other architectures were not extensively tested. If you encounter any issues, please let us know via issues, pull requests or PM to David Schall GitHub,web page. Furthermore, we welcome any feedback and ideas for improvements.
Reference our work
This work was done for our recent paper
accepted to MICRO'23. If you use our work, please cite our paper:
@inproceedings{10.1145/3613424.3614258,
author = {Schall, David and
Sandberg, Andreas and
Grot, Boris},
title = {Warming Up a Cold Front-End with Ignite},
year = {2023},
publisher = {Association for Computing Machinery},
address = {Toronto, ON, Canada},
doi = {10.1145/3613424.3614258},
booktitle = {Proceedings of the 56th Annual IEEE/ACM International Symposium on Microarchitecture (MICRO '23)},
series = {MICRO'23}
}
gem5 integration status
We are currently in the process of integrating the changes to the main gem5. It is a time-consuming process as the changes are extensive and require a lot of testing. This might cause conflicts if you try to merge the changes into the main gem5. We try to keep the list of the integration status up-to-date. Furthermore, it might be possible that some bugs are fixed while integrating the changes.
- [ ] cpu: Update BPU to support decoupled front-end
- [ ] cpu: Implement decoupled front-end
- [ ] cpu: Implement fetch target queue
- [ ] cpu: Implement taken-only history (#499)
- [ ] cpu: Implement fetch directed prefetcher
- [x] arch: Add instruction size and PC set methods (#357)
- [x] sim: Probe listener template with lambda (#356)
- [ ] cpu: Branch Predictor Refactoring (#455)
- [x] cpu: Refactor indirect predictor (#429)
- [x] cpu: Restructure RAS (#428)
- [x] cpu: Restructure BTB (#412)
The gem5 Simulator
This is the repository for the gem5 simulator. It contains the full source code for the simulator and all tests and regressions.
The gem5 simulator is a modular platform for computer-system architecture research, encompassing system-level architecture as well as processor microarchitecture. It is primarily used to evaluate new hardware designs, system software changes, and compile-time and run-time system optimizations.
The main website can be found at http://www.gem5.org.
Getting started
A good starting point is http://www.gem5.org/about, and for more information about building the simulator and getting started please see http://www.gem5.org/documentation and http://www.gem5.org/documentation/learning_gem5/introduction.
Building gem5
To build gem5, you will need the following software: g++ or clang, Python (gem5 links in the Python interpreter), SCons, zlib, m4, and lastly protobuf if you want trace capture and playback support. Please see http://www.gem5.org/documentation/general_docs/building for more details concerning the minimum versions of these tools.
Once you have all dependencies resolved, execute
scons build/ALL/gem5.opt to build an optimized version of the gem5 binary
(gem5.opt) containing all gem5 ISAs. If you only wish to compile gem5 to
include a single ISA, you can replace ALL with the name of the ISA. Valid
options include ARM, NULL, MIPS, POWER, SPARC, and X86 The complete
list of options can be found in the build_opts directory.
See https://www.gem5.org/documentation/general_docs/building for more information on building gem5.
The Source Tree
The main source tree includes these subdirectories:
- build_opts: pre-made default configurations for gem5
- build_tools: tools used internally by gem5's build process.
- configs: example simulation configuration scripts
- ext: less-common external packages needed to build gem5
- include: include files for use in other programs
- site_scons: modular components of the build system
- src: source code of the gem5 simulator. The C++ source, Python wrappers, and Python standard library are found in this directory.
- system: source for some optional system software for simulated systems
- tests: regression tests
- util: useful utility programs and files
gem5 Resources
To run full-system simulations, you may need compiled system firmware, kernel binaries and one or more disk images, depending on gem5's configuration and what type of workload you're trying to run. Many of these resources can be obtained from https://resources.gem5.org.
More information on gem5 Resources can be found at https://www.gem5.org/documentation/general_docs/gem5_resources/.
Getting Help, Reporting bugs, and Requesting Features
We provide a variety of channels for users and developers to get help, report bugs, requests features, or engage in community discussions. Below are a few of the most common we recommend using.
- GitHub Discussions: A GitHub Discussions page. This can be used to start discussions or ask questions. Available at https://github.com/orgs/gem5/discussions.
- GitHub Issues: A GitHub Issues page for reporting bugs or requesting features. Available at https://github.com/gem5/gem5/issues.
- Jira Issue Tracker: A Jira Issue Tracker for reporting bugs or requesting features. Available at https://gem5.atlassian.net/.
- Slack: A Slack server with a variety of channels for the gem5 community to engage in a variety of discussions. Please visit https://www.gem5.org/join-slack to join.
- gem5-users@gem5.org: A mailing list for users of gem5 to ask questions or start discussions. To join the mailing list please visit https://www.gem5.org/mailing_lists.
- gem5-dev@gem5.org: A mailing list for developers of gem5 to ask questions or start discussions. To join the mailing list please visit https://www.gem5.org/mailing_lists.
Contributing to gem5
We hope you enjoy using gem5. When appropriate we advise charing your contributions to the project. https://www.gem5.org/contributing can help you get started. Additional information can be found in the CONTRIBUTING.md file.
Owner
- Name: David Schall
- Login: dhschall
- Kind: user
- Location: Edinburgh
- Company: University of Edinburgh
- Website: https://dhschall.github.io/
- Repositories: 2
- Profile: https://github.com/dhschall
GitHub Events
Total
- Watch event: 13
- Delete event: 15
- Issue comment event: 2
- Member event: 3
- Push event: 165
- Pull request review event: 2
- Pull request review comment event: 3
- Pull request event: 8
- Fork event: 3
- Create event: 25
Last Year
- Watch event: 13
- Delete event: 15
- Issue comment event: 2
- Member event: 3
- Push event: 165
- Pull request review event: 2
- Pull request review comment event: 3
- Pull request event: 8
- Fork event: 3
- Create event: 25
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Gabe Black | g****k@g****m | 5,278 |
| Nathan Binkert | n****e@b****g | 1,220 |
| Ali Saidi | A****i@a****m | 1,036 |
| Steve Reinhardt | s****r@g****m | 992 |
| Giacomo Travaglini | g****i@a****m | 989 |
| Andreas Hansson | a****n@a****m | 750 |
| Bobby R. Bruce | b****e@u****u | 716 |
| Andreas Sandberg | A****g@a****m | 691 |
| Nilay Vaish ext:(%2C%20Timothy%20Jones%20%3Ctimothy.jones%40cl.cam.ac.uk%3E) | n****y@c****u | 542 |
| Daniel Carvalho | o****c@y****r | 486 |
| Korey Sewell | k****l@u****u | 409 |
| Kevin Lim | k****m@u****u | 338 |
| Ron Dreslinski | r****n@u****u | 271 |
| Brad Beckmann | b****n@a****m | 261 |
| Matthew Poremba | m****a@a****m | 253 |
| Lisa Hsu | L****u@a****m | 243 |
| Nikos Nikoleris | n****s@a****m | 223 |
| Jason Lowe-Power | j****n@l****m | 183 |
| Hoa Nguyen | h****n@u****u | 170 |
| Tiago Mück | t****k@a****m | 127 |
| Tony Gutierrez | a****z@a****m | 126 |
| Erik Hallnor | e****r@u****u | 123 |
| Kyle Roarty | k****6@g****m | 112 |
| Curtis Dunham | C****m@a****m | 112 |
| Brandon Potter | b****r@a****m | 112 |
| Yu-hsin Wang | y****w@g****m | 105 |
| Ciro Santilli | c****i@a****m | 104 |
| Sandipan Das | s****n@l****m | 79 |
| Andrew Schultz | a****t@u****u | 77 |
| Mitch Hayenga | m****a@a****m | 74 |
| and 363 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 2 years ago
All Time
- Total issues: 4
- Total pull requests: 0
- Average time to close issues: 15 days
- Average time to close pull requests: N/A
- Total issue authors: 4
- Total pull request authors: 0
- Average comments per issue: 1.25
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 4
- Pull requests: 0
- Average time to close issues: 15 days
- Average time to close pull requests: N/A
- Issue authors: 4
- Pull request authors: 0
- Average comments per issue: 1.25
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- gxflying (1)
- Cypredar (1)
- atrah22 (1)
- NiJiazhe (1)
Pull Request Authors
- shadowcpy (3)
- cosmiclat05 (1)
- Cypredar (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v3 composite
- actions/download-artifact v3 composite
- actions/setup-python v3 composite
- actions/upload-artifact v3 composite
- pre-commit/action v3.0.0 composite
- actions/checkout v3 composite
- actions/checkout v2 composite
- actions/checkout v3 composite
- actions/download-artifact v3 composite
- actions/upload-artifact v3 composite
- wei/wget v1 composite
- actions/checkout v3 composite
- actions/stale v8.0.0 composite
- actions/checkout v3 composite
- actions/download-artifact v3 composite
- actions/upload-artifact v3 composite
- ubuntu 20.04 build
- gcr.io/gem5-test/ubuntu-22.04_min-dependencies latest build
- ubuntu 20.04 build
- stage1 latest build
- ubuntu 20.04 build
- ubuntu 20.04 build
- ubuntu 22.04 build
- ubuntu 18.04 build
- ubuntu 18.04 build
- ubuntu 18.04 build
- ubuntu 20.04 build
- ubuntu 20.04 build
- ubuntu 20.04 build
- ubuntu 22.04 build
- ubuntu 22.04 build
- ubuntu 22.04 build
- ubuntu 22.04 build
- breathe ==4.34.0
- furo ==2022.6.21
- sphinx ==5.0.2
- sphinx-copybutton ==0.5.0
- sphinxcontrib-moderncmakedomain ==3.21.4
- sphinxcontrib-svg2pdfconverter ==1.2.0
- build ==0.8.0 test
- numpy ==1.21.5 test
- numpy ==1.19.3 test
- numpy ==1.22.2 test
- pytest ==7.0.0 test
- pytest-timeout * test
- scipy ==1.5.4 test
- scipy ==1.8.0 test
- tqdm ==4.64.1
- pre-commit ==2.20.0
- pymongo *
- gem5art-artifact *
- celery *
- git-filter-repo ==2.28.0