subject

Consider a system employing interrupt-driven I/O for a particular device that transfers data at an average of 8 KB/s on a continuous basis. a. Assume that interrupt processing takes about 100 s (i. e., the time to jump to the interrupt service routine (ISR), execute it, and return to the main program). Determine what fraction of processor time is consumed by this I/O device if it interrupts for every byte.
b. Now suppose that the device has two 8-byte buffers. The CPU is interrupted when one of the buffers is full. While the interrupt is processed, the device continues to fill the second buffer so that no data is lost. The interrupt service routine now takes 14 μs for all its other functions except the data transfer. The ISR transfers 8 bytes, where the transfer of each byte from the device to the CPU takes 2 μs.
c. Now assume that the processor is equipped with a block transfer I/O instruction such as that found on the Z8000. This permits the associated ISR to transfer each byte of a block in only 2 s. Determine what fraction of processor time is consumed by this I/O device in this case.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
When designing content as part of your content marketing strategy, what does the "think" stage represent in the "see, think, do, care" framework?
Answers: 3
question
Computers and Technology, 23.06.2019 02:30
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
question
Computers and Technology, 23.06.2019 11:00
What is the name of the sound effect that danny hears
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
1. which of the following is not an example of an objective question? a. multiple choice. b. essay. c. true/false. d. matching 2. why is it important to recognize the key word in the essay question? a. it will provide the answer to the essay. b. it will show you a friend's answer. c. it will provide you time to look for the answer. d. it will guide you on which kind of answer is required.
Answers: 1
You know the right answer?
Consider a system employing interrupt-driven I/O for a particular device that transfers data at an a...
Questions
question
English, 11.02.2021 18:10
question
Mathematics, 11.02.2021 18:10
question
Mathematics, 11.02.2021 18:10
question
English, 11.02.2021 18:10
question
Mathematics, 11.02.2021 18:20