{"id":13449881,"url":"https://github.com/halworsen/gem5-runahead","last_synced_at":"2026-03-07T11:01:25.873Z","repository":{"id":158755043,"uuid":"609191483","full_name":"halworsen/gem5-runahead","owner":"halworsen","description":"A runahead execution CPU model in the gem5 simulator - feat. delayed exit experiments","archived":false,"fork":false,"pushed_at":"2024-01-14T15:55:28.000Z","size":839,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-06T16:51:23.860Z","etag":null,"topics":["cpu","master-thesis","microarchitecture","runahead"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/halworsen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-03-03T15:11:17.000Z","updated_at":"2025-10-22T01:46:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4b3c74f-cfe0-4a8a-8d05-f11efa4e3a32","html_url":"https://github.com/halworsen/gem5-runahead","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/halworsen/gem5-runahead","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halworsen%2Fgem5-runahead","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halworsen%2Fgem5-runahead/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halworsen%2Fgem5-runahead/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halworsen%2Fgem5-runahead/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halworsen","download_url":"https://codeload.github.com/halworsen/gem5-runahead/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halworsen%2Fgem5-runahead/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30212103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpu","master-thesis","microarchitecture","runahead"],"created_at":"2024-07-31T07:00:16.651Z","updated_at":"2026-03-07T11:01:25.839Z","avatar_url":"https://github.com/halworsen.png","language":"C++","funding_links":[],"categories":["Implementation"],"sub_categories":[],"readme":"# gem5 Runahead\n\nImplementation of Runahead Execution in the gem5 simulator\n\nFeatures:\n * A traditional runahead execution CPU model for gem5\n * Short and overlapping period runahead elimination\n * Runahead instruction stream filtering\n * 4 runahead exit policies\n   * Eager exit\n   * Minimum work delayed exit\n   * No load left behind delayed exit\n   * Dynamic delayed exit \n\n## Setup\n\nClone the repository with\n\n```bash\ngit clone --recurse-submodules https://github.com/halworsen/gem5-runahead.git\n```\n\nThis will additionally clone [v22.0.0.2](https://gem5.googlesource.com/public/gem5/+/refs/tags/v22.0.0.2) of gem5.\n\nIf you run Windows or just want to use a container, try the following. It's been a while since I used this myself, so things aren't guaranteed to be that smooth.\n\n* Run `make image` to build a container image with all required and optional\n  development packages + some utilities.\n* Set the `GEM5_DEV_DIR` env variable to the path to this repository. Use `make run` to\n  create/start a dev container with the `GEM5_DEV_DIR` mounted in the home directory.\n* Navigate to the mounted directory and build gem5 with the runahead extensions using `make gem5`.\n* Run gem5 with `make run`.\n\nIf you get CRLF-related errors, `dos2unix` can take care of that.\n\n## Building gem5 with the runahead extension\n\nRunahead is implemented as a new CPU model which is based on the O3CPU model. The runahead CPU\nis structured as an extension of gem5 and can therefore be built by specifying `EXTRAS` when\nbuilding gem5 with scons.\n\nTo build gem5 with the runahead extension, follow\n[the gem5 documentation on building gem5](https://www.gem5.org/documentation/general_docs/building)\nto setup any dependencies. Optionally setup a Python virtual environment with the Scons build tool\n\n```bash\n# create the virtual environment\npython -m venv venv\n# activate the virtual environment\nsource venv/bin/activate\n# install scons\npython -m pip install -r requirements.txt\n```\n\nThen build gem5 by running\n\n```bash\nmake gem5\n\n# specific build variants\nmake gem5-debug\nmake gem5-opt\nmake gem5-fast\n\n# without runahead extensions\nmake gem5-bare\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalworsen%2Fgem5-runahead","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalworsen%2Fgem5-runahead","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalworsen%2Fgem5-runahead/lists"}