Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A processor with a 5 0 0 M H z clock requires 1 0 0 0 clock cycles to perform a context switch and start
A processor with a clock requires clock cycles to perform a context switch and start an ISR. Assume each interrupt takes cycles to execute the ISR and the device makes interrupt requests per second. Also, assume that the processor polls every msec during the time when there are no interrupts. Further assume that polling an IO device requires cycles. Compute the following: a How many cycles per second does the processor spend handling IO from the device if only interrupts are used? marks b What fraction of the CPU time is used in interrupt handling for part? marks
A processor with a clock requires clock cycles to perform a context switch and start an ISR. Assume each interrupt takes cycles to execute the ISR and the device makes interrupt requests per second. Also, assume that the processor polls every msec during the time when there are no interrupts. Further assume that polling an IO device requires cycles. Compute the following:
a How many cycles per second does the processor spend handling IO from the device if only interrupts are used? marks
b What fraction of the CPU time is used in interrupt handling for part? marks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started