Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database And SQL

Authors: Lucy Scott

3rd Edition

1087899699, 978-1087899695

More Books

Students also viewed these Databases questions

Question

How to solve maths problems with examples

Answered: 1 week ago