subject

An input device transfers data to a CPU at an average rate of 100 KB/sec on a continuous basis. The device is connected to a DMA module that transfers characters directly to main memory using cycle stealing. It takes one clock cycle to transfer one byte of data from the DMA module to the memory. The processor executes instructions at the rate of 16 million instructions per second (16 MIPS). a) Suppose each instruction takes two clock cycles to execute. In the first cycle of each instruction, the CPU fetches the instruction from memory, and in the second cycle, it fetches an operand from main memory to a CPU register. There are no other data fetches or stores. By how much is the processor slowed down due to the DMA activity? Express your answer as a percentage.
b) Now suppose that each instruction takes four clock cycles to execute. In the first cycle, the CPU fetches the instruction from memory; in the second cycle, it fetches an operand from memory; in the third cycle, it executes the operation, which involves no memory access; and in the fourth cycle, it stores the result of the operation into a location in main memory. Suppose the cycle stolen by the DMA device randomly falls during one of the four cycles of instruction execution. In this case, by how much is the processor slowed down due to the DMA activity? As before, express your answer as a percentage.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:30
The blank is type of decision-maker who over analyzes information
Answers: 3
question
Computers and Technology, 22.06.2019 19:10
10. when you create a pivottable, you need to specify where to find the data for the pivottable. is it true
Answers: 2
question
Computers and Technology, 23.06.2019 00:30
Quick pl which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
question
Computers and Technology, 23.06.2019 06:20
Which text function capitalizes the first letter in a string of text? question 10 options: upper capital first proper
Answers: 1
You know the right answer?
An input device transfers data to a CPU at an average rate of 100 KB/sec on a continuous basis. The...
Questions
question
SAT, 22.10.2020 01:01
question
Mathematics, 22.10.2020 01:01
Questions on the website: 13722359