推 ai305428d:恩恩 大概了解了 感恩~XD 02/06 21:13
※ 引述《ai305428d (可愛小小羅)》之銘言:
: Having multiple cores share the level-2
: cache on the same chip is always a good idea
: because most of the data in the cache are
: shared by multiple cores T of F ?
: 答案是F
: 關於這題
: 題目裡面出現的 multiple cores share the level-2
: cache on the same chip
: 是怎麼運作的呢
: 觀念不是很懂= =
如果有兩個core長得應該是像這樣
Chip
┌───────┐
│ core1 core2 │
│ | | │
│ L1 L1 │
│ └─┬─┘ │
│ L2 │
└───────┘
每個core都有自己的L1 cache但是L2 cache是大家一起用的,
答案是false是因為假如cores之間分享的data很少,
那L2 cache就會像是被各個core切割。
有錯的話請指正 @@
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.166.115.247