False Sharing、Cache 与并发性能边界 | C++

本章覆盖:CPU cache 高层认知;cache line;false sharing;contention;padding / alignment;read-mostly data;sharding;lock granularity;atomic hot spot;profiler / benchmark;并发性能优化必须基于测量而不是猜测。

本章知识点

  • CPU cache 高层认知
  • cache line
  • false sharing
  • contention
  • padding / alignment
  • read-mostly data
  • sharding
  • lock granularity
  • atomic hot spot
  • profiler / benchmark
  • 并发性能优化必须基于测量而不是猜测