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, 23.06.2019 07:00
To produce a starlight effect in her photograph, lina should choose the filter for her camera.
Answers: 1
question
Computers and Technology, 24.06.2019 03:40
4. does the kernel phenotype distribution support the idea that the cob is the result of a dihybrid cross? what information supports your answer? if a dihybrid cross (i.e. f1 to f2 of standard mendelian crosses) is not indicated what conditions might contribute to this finding.
Answers: 2
question
Computers and Technology, 24.06.2019 08:00
How can smart devices benefit businesses, organizations, and social communities in the global marketplace?
Answers: 1
question
Computers and Technology, 24.06.2019 12:50
What percentage of teens plays video games? a.97% b.100% c.74% d.50%
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
Mathematics, 19.01.2020 17:31
question
Chemistry, 19.01.2020 17:31
question
Physics, 19.01.2020 17:31
Questions on the website: 13722362