A system transfer data blocks of 2000 bytes with programmed I/O, each byte…

2026

A system transfer data blocks of 2000 bytes with programmed I/O, each byte transfer takes 6 CPU cycles, with direct memory access (DMA), the block transfer takes 3000 Cycles total, with CPU setup overhead of 200 cycles. The CPU clock is 1 GHZ.

How much CPU time is consumed by DMA overhead?

  1. A.

    0.2 μs

  2. B.

    2.0 μs

  3. C.

    3.0 μs

  4. D.

    12.0 μs

Attempted by 82 students.

Show answer & explanation

Correct answer: A

The DMA overhead is given as 200 CPU cycles. With a 1 GHz clock, each cycle takes 1 nanosecond (ns). Therefore, the CPU time consumed by DMA overhead is 200 ns. Converting to microseconds: 200 ns = 0.2 μs.

Explore the full course: Mppsc Assistant Professor