{"id":15765397,"url":"https://github.com/bgw/benchmark-scripts","last_synced_at":"2025-10-25T13:15:13.752Z","repository":{"id":253441461,"uuid":"800194675","full_name":"bgw/benchmark-scripts","owner":"bgw","description":"Configuration for my personal bare-metal benchmarking host","archived":false,"fork":false,"pushed_at":"2024-08-16T17:35:37.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T04:01:14.826Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/bgw.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,"publiccode":null,"codemeta":null}},"created_at":"2024-05-13T22:04:56.000Z","updated_at":"2025-05-19T05:01:22.000Z","dependencies_parsed_at":"2024-08-16T19:03:59.234Z","dependency_job_id":null,"html_url":"https://github.com/bgw/benchmark-scripts","commit_stats":null,"previous_names":["bgw/benchmark-scripts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bgw/benchmark-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgw%2Fbenchmark-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgw%2Fbenchmark-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgw%2Fbenchmark-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgw%2Fbenchmark-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bgw","download_url":"https://codeload.github.com/bgw/benchmark-scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgw%2Fbenchmark-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280960656,"owners_count":26420788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-04T12:41:33.115Z","updated_at":"2025-10-25T13:15:13.716Z","avatar_url":"https://github.com/bgw.png","language":"Shell","readme":"# benchmark configs\n\nThis is a set of scripts and config files used for benchmarking. These configs\nare hardware-specific, so they likely can't be used to reproduce my test\nenvironment, but they at least serve as documentation.\n\nThe goal is to create an extremely low noise benchmarking environment to reduce\nnoise in measurements (within about 1% variation).\n\n## Hardware\n\n- AMD Ryzen 2700x downclocked to a fixed 3.20 GHz\n- 16 GB RAM at 2133 MT/s\n- SATA SSD\n\n## High-Level Notes\n\n- Bare-bones Debian 12 without X11/Wayland\n- Disable ASLR\n- Disable CPU Boost, and fix clocks at 3.20 GHz\n- Disable SMT (aka \"Hyperthreading\")\n- Enable `perf` events for non-root users.\n- Use [`cpuset`][] to isolate 4 cores, one of the two CCX/chiplets, limiting\n  variability in core-to-core and cache latency. Move kernel threads off too.\n- Provide a `/usr/local/bin/shield` command to enter the `cpuset` shield (with\n  `sudo shield bash`).\n\n[`cpuset`]: https://github.com/SUSE/cpuset/\n\n## Other Configuration\n\nInstall Chrome and disable GPU rasterization so that headless operation works:\n\n```\ncurl -O https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb\nsudo dpkg -i google-chrome-stable_current_amd64.deb\nsudo apt --fix-broken install\ngoogle-chrome --headless --disable-gpu --flag-switches-begin --disable-features=EnableGpuRasterization --flag-switches-end\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgw%2Fbenchmark-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbgw%2Fbenchmark-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgw%2Fbenchmark-scripts/lists"}