【发布时间】:2017-11-27 13:21:37
【问题描述】:
对高速缓存的强制/冷未命中有疑问。 我对强制未命中的了解是 这是对块的第一次访问,与缓存大小无关。
Cold Misses 会受到增加/减少块大小的影响。这是我的理解,似乎很合适。
By increasing the block size, the number of blocks in the cache should
reduce, assuming the size of the cache is constant here. Therefore there
would be decreased number of first time requests for each block. Hence the
cold miss should decrease.
Correspondingly if the block size is decreased, the number of blocks would
increase, and hence the number of requets to access blocks for the first
time would also increase.
但我无法理解增加或减少缓存大小或增加/减少缓存的关联性如何不受影响!
If the Cache Size increases, then the number of blocks also increase. So
the cold misses should increases, as more number of empty blocks would
be requested for the first time ???
Similarly if the Cache Size is Decreased, the number of blocks would
decrease which would have to be probed for the first time ??
我同样的疑问也适用于增加/减少关联性。
希望对此有更好的理解。 非常感谢您的帮助。
谢谢, Ankit
【问题讨论】: