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:00
Which of the following statements correctly identifies a problem with sanitization methods? a. methods are not available to remove data ensuring that unauthorized personnel cannot retrieve data.b. even fully incinerated media can offer extractable data.c. personnel can perform sanitization steps improperly.d. stored data is physically etched into the media.
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Hey i just logged on and one of the moderators deleted a bunch of my answers to questions, even though the answers were right and the people it doesn't make sense but if anyone wants to talk about anything just message me lol (this is super random lol)
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Select the correct answer. what does it indicate when a website displays https instead of http? a. the website is secure. b. there is no secure sockets layer. c. the secure sockets layer is hidden. d. the website is not secure.
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
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
History, 01.10.2019 08:20
question
Mathematics, 01.10.2019 08:20
question
Mathematics, 01.10.2019 08:20
question
Mathematics, 01.10.2019 08:20