Kobzol/hardware-effects resource
Demonstration of various hardware effects. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2853
- days_rel: n/a
- days_push: 916
- n_releases_24m: 0
Adoption not part of the score
2999 stars · 165 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A collection of small C++ proof-of-concept programs demonstrating hardware effects like cache conflicts, branch misprediction, false sharing, and memory bandwidth saturation that degrade performance in surprising ways. Each example includes a README explaining the underlying CPU and OS architecture behavior.
Use cases
- learn why my C++ program is slow despite good algorithms
- demonstrate cache effects to students
- understand branch misprediction penalties
- see false sharing in multithreaded code
- study memory hierarchy and prefetching behavior
- prepare for systems performance interviews
When to choose
- teaching or learning low-level CPU performance concepts
- building intuition for hardware-aware optimization on x86-64
- looking for minimal reproducible examples of performance pitfalls
When to avoid
- you need a production profiling or benchmarking tool
- you target non-x86 architectures like ARM
- you need NUMA or server-scale effects
- you want guaranteed reproducible results on your specific CPU
Facets
learning-resource · maturity stable
benchmarking developer-tools performance hardware education tutorials cpp cpu-architecture cache-effects branch-prediction memory-hierarchy performance-education demos linux x86-64
1 source
- readme: https://github.com/Kobzol/hardware-effects · fetched 2026-08-28 · 3192822c548e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Kobzol/hardware-effects | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="Kobzol/hardware-effects")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem