2,752 views
3 votes
3 votes
Assume that interrupt processing takes 75us. Interrupt driven I/O for a device that transfer data an average of 8KB/sec on a continuous basis.Find percentage of the processor time is consumed by the I/O device if it interrupts for every byte?

a. 20

b. 40

c.60

d.80

2 Answers

Best answer
7 votes
7 votes

Key issue here is "Interrupt driven I/O for a device that transfer data an average of 8KB/sec on a continuous basis"

that means I/O interrupt will occur whenever one character is ready which is 125 micro sec. So time interval between two consecutive interrupt is 125 micro sec (not more than that).

So, % of CPU time for interrupt processing is 75/125 = 60 % 

selected by
0 votes
0 votes
here my answer

The device generates 8 × 1024 = 8192 bytes per second or a rate of one every 122 µs. If each interrupt consumes 100 µs, then the fraction of processor time consumed is 100/122 = 0.82The device generate 8*1024 bytes or rate of one every 122 us If interrupt is 75us, then the fraction of processor time will be 75/122 = 0.61

 thus it should be c as that's the closest
Answer:

No related questions found