Question

What is the relationship between swap time and the quantum for which the process is expected...

What is the relationship between swap time and the quantum for which the process is expected to have control of CPU?

(Please help, Operating System question, 6 points)

Homework Answers

Answer #1

Swapping is implemented by a medium term scheduler, in which a process is temporarily swapped out of main memory to secondary storage to make that memory available to other processes. After time, the system swaps back the process from the secondary storage to main memory and the process resumes from the point where it stopped.

Time quantum or time slice is the period of time for which the process is allowed to run in a preemptive multitasking system. When the time quantum is quite large then the Round Robin scheduling algorithm becomes a First Come First Serve scheduling algorithm and when it is too short it causes many context switches, thus reducing CPU efficiency as no useful work is done during that time.

When a process consumes their time slice then the process will be swapped out of memory and new process will be moved to the main memory. The swapping time is usually quite high. For efficient CPU usage, the execution time should be longer than the swap time. Therefore the round robin scheduling CPU is used, where the time quantum be greater than the swap time.

PLEASE LIKE THE ANSWER IF YOU FIND IT HELPFUL OR YOU CAN COMMENT IF YOU NEED CLARITY / EXPLANATION ON ANY POINT.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
What is the relationship between swap time and the quantum for which the process is expected...
What is the relationship between swap time and the quantum for which the process is expected to have control of CPU?
* Discuss concept of recombination time and other quantum properties which relate to the performance of...
* Discuss concept of recombination time and other quantum properties which relate to the performance of the PN junction in a photovoltaic cell. * Discuss the impact of direct vs indirect bandgap for optical emission/absorption for CIGS cell. For a given bandgap of the material, what is the expected absorption wavelength of the p and n type material, respectively * Please explain how to harness efficient solar cells using quantum mechanics. Make points, and give brief descriptions. Give at least...
what's the relationship between birth and death process, continuous time markov chain, and continuous time stochastic...
what's the relationship between birth and death process, continuous time markov chain, and continuous time stochastic process
The equation of the SML which defines the relationship between the expected return and beta is...
The equation of the SML which defines the relationship between the expected return and beta is the what?
1- In process creation, what are the possibilities in concerned (1) Parent execution (2) Address space...
1- In process creation, what are the possibilities in concerned (1) Parent execution (2) Address space of the new process (child)? 2- A parent may terminate the execution of one of its children. What are the reasons? 3- What are the CPU scheduling algorithm criteria? 4- What are the events occur when the process allocate to the CPU and is executing? 5- What are the differences between: (1) Long-term scheduler and short-term scheduler? (2) Preemptive and non-preemptive scheduling? (3) CPU-bound...
what is the relationship between moisture content Vs time? what is the relationship between moisture content...
what is the relationship between moisture content Vs time? what is the relationship between moisture content Vs drying rate curves?
The following processes are being scheduled using a preemptive, round-robin scheduling algorithm. (20 Marks) Process    ...
The following processes are being scheduled using a preemptive, round-robin scheduling algorithm. Process     Priority Burst Time Arrival P1 40 20 0 P2 30 25 25 P3 30 15 30 P4 35 10 60 P5 5 10 100 P6 10 10 105 Each process is assigned a numerical priority, with a higher number indicating a higher relative priority. In addition to the processes listed below, the system also has an idle task (which consumes no CPU resources and is identified...
What is the relationship between time, risk and money?
What is the relationship between time, risk and money?
In freefall what is the relationship between distance and time?
In freefall what is the relationship between distance and time?
The relationship between commercial airtime minutes and an advertiser's profits is given by the least squares...
The relationship between commercial airtime minutes and an advertiser's profits is given by the least squares regression equation:                     y = 5113.84*x + 406,755 What is the predicted change in profits for each 10 minute increase in airtime? $457,893.40 $ 51,138.40 $411,868.84 $ 5,113.84 Seismic tremors causing minor fluctuations in a delicate process may be an example of: an assignable cause of variation an external failure statistical process control (SPC) a common cause of variation This is the question plz...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT