[理工]107交大 計系 5、11

作者: sdfg014025xx (隨便就好)   2019-01-29 13:40:20
第5題的d
For access performance,a cache memory
usually decreases its set size when its
capacity becomes larger. While the number of pages in a virtual memory space
is huge, but the adopted set size is typically the largest possible. The purpo
se of these two seemingly
contradicting schemes are both for the same access performance purpose.
And:True
我有爬過文看一下,set size指的是associative ,我想問的是題目的意思指的是雖然這
兩者看似矛盾但都是對於「整體」效能
的提升是這樣嗎?
當初寫的時候我的想法是cache應該是比較偏向降低hit time,page應該是著重在降低mis
s rate盡量減少去存取disk所以就沒選了
第11題的d
Each thread of the program receives a larger share of cpu time with the many-t
o-one thread model than it does with the one-to-one model.
Ans:Ture
想問一下之前的不是有算分配效能的那種題目
https://i.imgur.com/wGMI5c5.jpg
圈圈的s代表thread,這樣不是one to one比較好嗎?
是我記錯了還是搞錯題目的意思了?
感謝各位
作者: RinHizakura (凜凜緋櫻)   2019-01-29 23:52:00
5我跟你想的一樣@@不然不知道該怎解釋11題的話 我的解讀它是說many to one 會共享CPU 時間 因為只要一個thread block 其它就會block one-to-one 會分開 所以是對的

Links booklink

Contact Us: admin [ a t ] ucptt.com