Question: Direct Memory Access (DMA) is a capability provided by some computer bus architectures that allows data to be sent directly from an attached device (such

 Direct Memory Access (DMA) is a capability provided by some computer

Direct Memory Access (DMA) is a capability provided by some computer bus architectures that allows data to be sent directly from an attached device (such as a disk drive) to the memory on the computer's motherboard. It is used for high-speed Input/Output (I/O) devices to avoid increasing the Central Processing Unit (CPU)'s execution load. The microprocessor thus is freed from involvement with the data transfer, thus speeding up overall computer operation. (a) How does the CPU interface with the device to coordinate the transfer? (5 marks) (b) How does the CPU know when the memory operations are complete? (5 marks) (c) The CPU is allowed to execute other programs while the DMA controller is transferring data. Does this process interfere with the execution of user programs? If so, describe what forms of interference are caused. (10 marks) (d) Consider a computer system with DMA support. The DMA module is transferring one 8-bit character in one CPU cycle from a device to memory through cycle stealing at regular intervals. Consider a 2MHz processor. Determine the data transfer rate of the device in bits per second, if 0.5% processor cycles are used for DMA

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!