https://github.com/JacobGH2/Hardware_Optimization
C++ programs which simulate/evaluate the performance of hardware optimization strategies. Strategies tested include CPU branch prediction policy (e.g. bimodal, GShare, tournament) and cache associativity/replacement policy (e.g. Direct-mapped, LRU, HotCold).
https://github.com/JacobGH2/Hardware_Optimization
cache-optimization computer-architecture hardware
Last synced: 6 months ago
JSON representation
C++ programs which simulate/evaluate the performance of hardware optimization strategies. Strategies tested include CPU branch prediction policy (e.g. bimodal, GShare, tournament) and cache associativity/replacement policy (e.g. Direct-mapped, LRU, HotCold).
- Host: GitHub
- URL: https://github.com/JacobGH2/Hardware_Optimization
- Owner: JacobGH2
- Created: 2023-04-25T01:15:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-08T20:48:35.000Z (about 1 year ago)
- Last Synced: 2025-05-16T11:07:28.194Z (9 months ago)
- Topics: cache-optimization, computer-architecture, hardware
- Language: C++
- Homepage:
- Size: 10.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
The makefile in each sub-directory will create the "predictors" and "cache-sim" executables.
```
./ traces/ output.txt
```
will run the chosen test on the trace provided. The trace must be from the sub-directory's `trace/` directory.
`output.txt` can be compared to the corresopnding output in `correct_outputs/`.
Execution time for the shortest trace (~1 million instructions) is 30 seconds.