Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. [5 points] Assume that some I/O device has the maximum data transfer rate of R1/o 4 MB/s. During DMA, the data is transferred in
3. [5 points] Assume that some I/O device has the maximum data transfer rate of R1/o 4 MB/s. During DMA, the data is transferred in blocks of dI/0-DMA-4 KB at a time. To initiate a DMA transfer, the CPU takes NDMA-start-1,600 clock cycles, to complete it, the CPU takes NDMA-end-800 clock cycles. If polling is used, the data is transferred in blocks of d/o 32 B at a time, when the device is ready. To perform a poll, the CPU takes either Npoll-ready 800 clock cycles (when the device is ready), or Npoll-not-ready - 400 clock cycles (when the device is not ready). At what activity percentage of the I/O device does the DMA cost become 400 times cheaper than the polling cost? 3. [5 points] Assume that some I/O device has the maximum data transfer rate of R1/o 4 MB/s. During DMA, the data is transferred in blocks of dI/0-DMA-4 KB at a time. To initiate a DMA transfer, the CPU takes NDMA-start-1,600 clock cycles, to complete it, the CPU takes NDMA-end-800 clock cycles. If polling is used, the data is transferred in blocks of d/o 32 B at a time, when the device is ready. To perform a poll, the CPU takes either Npoll-ready 800 clock cycles (when the device is ready), or Npoll-not-ready - 400 clock cycles (when the device is not ready). At what activity percentage of the I/O device does the DMA cost become 400 times cheaper than the polling cost
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started