Operating Systems - I/O Models
I've been looking high and low on the Internet and textbook and still can't find anything mentioned on the following calculation.
An application need to output 1000 words from the internal memory to the hard disk.
For programmed I/O, interrupt-driven I/O and DMA:
a. How many times the processor is interrupted?
b. How many times the memory is read by the processor (for both program and data)?
c. How many times the disk controller is read by the processor?
d. How many times the disk controller is written to by the processor?
Any help is greatly appreciated.
|All times are GMT +5.5. The time now is 15:22.|