作者BigTora (大虎)
看板Grad-ProbAsk
标题Re: [理工] [计系]台大97
时间Mon Feb 6 20:56:49 2012
※ 引述《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
1F:推 ai305428d:恩恩 大概了解了 感恩~XD 02/06 21:13