oakland / tecblog

My tech blogs
4 stars 0 forks source link

disrupter 队列 #296

Open oakland opened 3 years ago

oakland commented 3 years ago

数组和链表,采用的是数组,应为 cache 只会取周围的,链表的话指针指向的下一个地址可能会很远

false share

cpu 双路映射?

cpu 驱逐

MESI 协议(保证多核 cpu 的一致性)

时钟周期

原子操作(atomic operation,就是不可分割的操作,其实这里的重点就是没有时间差,或者说中途不允许插入其他操作)