recategorized by
727 views
4 votes
4 votes

Consider a $32$ bit, $10$ MIPS processor with an interrupt driven interface. Suppose a hard disk has a $16$ bit data bus and is connected to the processor and its transfer rate is $50 \:KB$ per second. Calculate the Processor time required to service hard disk when it is active? (Assume interrupt overhead is $20$ instructions)__________ (instructions per second)

  1. $256000$ instructions per second
  2. $512000$ instructions per second
  3. $1024000$ instructions per second
  4. None of the above
recategorized by

1 Answer

2 votes
2 votes
Since the hard disk has a $16$-bit data bus, it can transfer two bytes at one time. Thus its transfer rate is $50/2 = 25 \: K$ half-words ($16$-bits each) per second. This corresponds to an overhead of $20$ instructions or $25 \: K \times 20  =25 \times 2^{10} \times 20 = 512000$ instruction per second.
Answer:

Related questions

0 votes
0 votes
2 answers
1
19 votes
19 votes
4 answers
2
makhdoom ghaya asked Nov 23, 2016
7,550 views
State whether the following statements are TRUE or FALSE with reason:The data transfer between memory and I/O devices using programmed I/O is faster than interrupt-driven...
5 votes
5 votes
3 answers
3
makhdoom ghaya asked Nov 9, 2016
2,893 views
State whether the following statements are TRUE or FALSEIn a microprocessor-based system, if a bus (DMA) request and an interrupt request arrive sumultaneously, the micro...
1 votes
1 votes
1 answer
4
Ayush Upadhyaya asked Oct 30, 2018
1,175 views
I think percentage of processor time consumed should be $\frac{ \,ISR\,time}{ISR\,time+\,Data\,Transfer\,Time}=\frac{100}{100+122}$.Is it correct?