作者bernachom (Terry)
看板Grad-ProbAsk
標題[理工] [計組]-選擇題
時間Sun Oct 11 23:19:17 2009
可能有一些作業系統的選擇...有些答案不是很確定,來請教一下
1.(?) The delayed branch is especially suitable for a deeper pipeline.
// 有點看不懂這是在問什麼...
2.(X) For a pipelined processer with complicated address modes and instruction
opcodes, finite state machine is the most appropriate approach to be
used as a control unit.
// pipelined應該是register?!
3.(X) By Amdahl's Law, if you invent a new method which can contribute 100%
improvement on the 50% part of the entire system, your best speedup is
2(or 200%).
// 大約算了一下,應該是錯的..
4.(X) On a 32-bit addition, the overflow condition occurs when the 32nd adder
generates a carry.
// 32nd是指32個bit都進位嗎?
5.(?) Mutual exclusion can be enforced with a general semaphore whose initial
value is geater than 1.
//還沒唸到...順便問一下..QQ
6.(?) The working set of a process can be changed in response to actions by
other processes.
//感覺是錯的..不是很確定..
7.(T) For kernel memory management, slab allocation is preferred to buddy
system only because it is faster.
// 印像中是對的..
就這幾題了..謝謝幫忙指正.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.224.205.119
※ 編輯: bernachom 來自: 61.224.205.119 (10/11 23:19)
推 gensim:1=>false:deeper pipeline 造成更多slot 10/12 00:05
→ bernachom:看懂了...一時想不到deeper pipeline是什麼..Orz..tks.. 10/12 00:09
推 gensim:5=>false:一般semaphorem要達到mutual exclusion是設1 10/12 00:12
→ yesa315:2. 應該是要用微程式 3.再怎麼增加 不可能讓改進的部分=0 10/12 11:07
→ yesa315:7. 應該是對的 buddy需要回收 而slab只要mark free就好 10/12 11:08
→ bernachom:謝謝^^ 10/12 21:20
推 gensim:The slab allocation algorithm has as its principal 10/12 23:14
→ gensim:benefit that memory gets allocated in exactly the same 10/12 23:15
→ gensim: size as requested, thus no internal memory 10/12 23:16
→ gensim: fragmentation exists. 10/12 23:16