資源簡介
網易杭研院何登成學習CPU架構以及并發程序設計的一些心得
與收獲。主要內容包括:
– 簡單介紹CPU的架構,部分主要模塊及其功能(Cache Structure,
Cache Line , Set-Way);
– Cache Coherence算法 (MESI, MOESI);
– CPU Memory Ordering模型 (Atomic,Reorder,Memory Barrier
(Compiler, CPU),Lock Instruction,Load Acquire/Store Release);
– 并發程序設計 (實現一個Spinlock,糾正一個Lock-Free Algorithm,
Data Race (False-Sharing, Per-Processor Data))
代碼片段和文件信息
評論
共有 條評論