False Sharing and Padding
· 5 min read
Some notes on false sharing and cache line padding.
Some notes on false sharing and cache line padding.
Some notes on the basics of CPU caches - covers locality, write policies, hierarchy and inclusion policies.
One of the biggest game changers and used in everything from trading systems, logging frameworks, video processing systems and databases, the LMAX Disruptor codebase uses a number of interesting techniques which have evolved over time.