作者bernachom (Terry)
看板Grad-ProbAsk
标题[问题] OS-一些选择题
时间Sun May 3 17:05:25 2009
1.The strategy that holds output for a device that cannot accept interleaved
data stream
a)buffering
b)caching
c)spooling
d)dma
解答是写c
可是spooling不是i/o和cpu 可以同时执行吗?
为什麽不能接受interleaved data stream呢?
2.这个叙述是错的
To be able to efficiently dispatch to the proper interrupt handler for a
device, polling the devices to see which one raised the interrupt is more
efficient than to use interrupt vector
解答写:interrupt vector 比较有效率,为什麽呢??
谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.228.97.36
※ 编辑: bernachom 来自: 61.228.97.36 (05/03 20:10)
1F:→ poga:题目是「对於不能接受interleaved data stream的装置,所使 05/03 20:08
2F:→ poga:用的策略是:」... 05/03 20:08
3F:→ icrts:楼上超眼熟ID XD 05/03 20:10
4F:→ poga:你是...? XD 05/03 20:15
5F:→ icrts:把is放到crt中间 囧 05/03 20:16
6F:→ poga:XDDDDDDD 05/03 20:16
7F:→ bernachom:请教一下,interleaved data stream是什麽意思呢? 05/03 20:17
8F:→ bernachom:我觉得我应该想错这个字的意思了...谢谢您 05/03 20:17
9F:→ icrts:第二题,在完成工作时再通知CPU做业完成 05/03 20:18
10F:→ icrts:作/ 比起polling一直耗用CPU资源检查作业是否完成好 05/03 20:19
11F:→ icrts:(不过那是大部分情况这样) 05/03 20:19
※ 编辑: bernachom 来自: 61.228.97.36 (05/03 20:21)
12F:→ bernachom:第二题我知道了,谢谢您 05/03 20:22