18.2.8 Worked Examples Devices and Interrupts
For this problem, assume that we have a computer system that has three devices D1, D2, and D3. Each of these devices can cause interrupts in our system. This table summarizes the interrupt characteristics of our three devices. For each device, we are given its service time which is the amount of time it takes to service an interrupt for that particular device. We are given an interrupt frequency which tells us how frequently the interrupts for that device arrive. You can assume that the first interrupt of each device can arrive at any time. The deadline is the longest amount of time that is allowed between the interrupt request and the completion of the interrupt handler. Assume we have a program P that takes 100 seconds to execute when interrupts are disabled. We would like to figure out how long it would take to execute this program when interrupts are enabled. To answer this question, we need to determine the amount of cpu time that is dedicated to the handling of each...