Question
A multi-programmed operating system running on a single CPU assigns time slices of CPU time to the virtual machines that run the individual programs Each
A multi-programmed operating system running on a single CPU assigns time slices of CPU time to the virtual machines that run the individual programs Each virtual machine is given access to the CPU for a certain time (the time slice), during which it will continue to execute its program The next time slice then goes to another virtual machine, and so on.
Assume that each time slice is ten milliseconds (1/1000 of a second) long. The computer on which the operating system runs, therefore, has 100-time slices available. If the OS itself uses 100 of these (you may assume that these are spread at regular intervals over each second) it can make 900 such time slices available for virtual machines each second. If the computer needs to run 10 programs that each require a time slice at least 20 times per second, and one program (the user interface) that requires a time slice at least once every 10 milliseconds, what is the maximum number of time slices left for other programs?
Step by Step Solution
3.32 Rating (152 Votes )
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