Computer Architecture, C++, and High Performance
summary
Concrete claims and repeatable measurements: microarchitecture matters more than abstract big‑O, loop unrolling doubles speed on real CPUs, and careful data layout (vector/flat_set vs node set) yields multiple× faster lookups. Tools used are concrete: perf/Intel PCM/IACA and liquid plus assembly/CFG inspection, producing assembly, port utilization and CPI breakdown. Surprising numbers appear: 15 ns DRAM latency and >2000× gap between FLOPs and memory costs, a 130‑cycle budget per packet at 10GbE, and prefetch tuning that halves L3 miss rate and doubles throughput. Experimental, measurable, and actionable.
AI-written summary · about
chapters (8)
- 0:00Moore's Law and performance trends
- 3:39Single-threaded to multi-core shift
- 11:08Benchmarking container performance
- 21:49Instruction-level parallelism with loop unrolling
- 31:21Optimizing with Intel Architecture Code Analyzer
- 43:10Performance monitoring with Intel PCM
- 51:05Memory locality and cache efficiency
- 1:03:11Summary and key takeaways
related talks
01h 06mUtilize your CPU power
01h 04mCPU design effects
01h 00mIntroduction to Hardware Efficiency in Cpp
01h 00mJust-in-Time Compilation
05mWhen every Microseconds counts: Lessons learned about performance
01h 14mEfficiency with Algorithms, Performance with Data Structures
01h 16mPaying for Lunch: C++ in the ManyCore Age
01h 05mThe Most Important Optimizations to Apply in Your C++ Programs
