Suppose that multiple I/O interrupts occur within the execution of a user progra
ID: 3671423 • Letter: S
Question
Suppose that multiple I/O interrupts occur within the execution of a user program, including a printer interrupt, a disk interrupt, and a communication line interrupt, where the communication line interrupt has the highest priority, the disk interrupt has middle priority and the printer interrupt has lowest priority. Each interrupt takes 10 cycles Determine the actual starting and finishing tune of each interrupt request, assuming nested interrupt processing, and that five printer interrupt requests, labeled PI,P2,P3,P4,P5 are issued (and must be handled in order), one every 10 cycles (starting from the 10^th cycle), five disk interrupt requests, labeled D1,D2,D3,D4,D5 are issued (and must be handled in order), one every 15 cycles (starting from the 15^th cycle), and five communication line interrupt requests, labeled C1,C2,C3,C4,C5 are issued (and must be handled in order), one every 25 cycles (starting from the 25^th cycle), by filling in the following table in the order of requestsExplanation / Answer
based on the request they are processed accordingly . first the commnication line interrupt is given high priority so that it can be served first bu there it require the more resources where printer interrupts are small can be served easily so that they are manages in the top of the table . disk interrupts are middle they reamin in the same position
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.