Compare CPU costs per event and per block

A data-acquisition device delivers exactly 12,000,000 bytes during a 1.00 s observation interval. Compare these two designs:

  • With interrupt-driven I/O, the controller notifies the CPU after every 3,000 bytes. Each event consumes 5.00 μs of CPU time, including all handling and copying.
  • With DMA, each block contains 60,000 bytes. Setup and completion together consume 25.0 μs of CPU time per block.

All groups and blocks are complete within the interval. Ignore other CPU costs and assume both designs sustain the stated rate. Find the interrupt-driven design's CPU time in ms, the DMA design's CPU time in ms, and the percentage reduction in CPU time relative to the interrupt-driven design. Give all three answers to one decimal place.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Input/Output Systems Questions: