1,279 views
0 0 votes

a system employing interrupt-driven I/O for a particular device that transfers
data at an average of 8 KB/s on a continuous basis.
a. Assume that interrupt processing takes about 100 s (i.e., the time to jump to the
interrupt service routine (ISR), execute it, and return to the main program). Determine
what fraction of processor time is consumed by this I/O device if it interrupts
for every byte.
b. Now assume that the device has two 16-byte buffers and interrupts the processor
when one of the buffers is full. Naturally, interrupt processing takes longer, because
the ISR must transfer 16 bytes.While executing the ISR, the processor takes
about 8 s for the transfer of each byte. Determine what fraction of processor
time is consumed by this I/O device in this case.
c. Now assume that the processor is equipped with a block transfer I/O instruction
such as that found on the Z8000.This permits the associated ISR to transfer each
byte of a block in only 2 s. Determine what fraction of processor time is consumed
by this I/O device in this case.

 

i’ve found answer for a part(https://gateoverflow.in/65890/input-output). for b and c, i’m getting 216/500 and 188/500 respectively. please check it. (i’ve taken K=1000 instead of 1024 for simplicity of calculation).

 

Please log in or register to answer this question.

Position:
Show:

Related questions

7 7 votes
0 0 answers
3.7k
3.7k views
dd asked Jul 13, 2016
3,723 views
Solution : Some one please explain with correct sequence of steps in each mode and a rough timing diagram.
77 77 votes
4 answers 4 answers
24.8k
24.8k views
go_editor asked Sep 29, 2014
24,751 views
On a non-pipelined sequential processor, a program segment, which is the part of the interrupt service routine, is given to transfer $500$ bytes from an I/O device to mem...
3 3 votes
2 answers 2 answers
1.4k
1.4k views
Souvik33 asked Dec 2, 2022
1,417 views
MSQA ‘Running’ process is surely put into ‘Blocked/Wait’ state during while requesting for an I/O, in which of the following I/O modes?Synchronous I/OAsynchronous I/OInte...
0 0 votes
2 2 answers
3.0k
3.0k views
srestha asked Apr 8, 2018
3,018 views
Consider a synchronous bus that operates according to the timing diagram in figure. The address transmitted by the processor appears on the bus after 4 ns. The propagatio...