1,177 views
0 votes
0 votes

We know that Long Term Scheduler controls the degree of multiprogramming. 

But can we say that Medium Term Scheduler also controls the degree of multiprogramming.

See these lines from galvin book.

Some operating systems, such as time-sharing systems, may introduce an additional, intermediate level of scheduling. This medium-term scheduler is diagrammed in Figure 3.7. The key idea behind a medium-term scheduler is that sometimes it can be advantageous to remove a process from memory (and from active contention for the CPU) and thus reduce the degree of multiprogramming. Later, the process can be reintroduced into memory, and its execution can be continued where it left off. This scheme is called swapping. The process is swapped out, and is later swapped in, by the medium-term scheduler. Swapping may be necessary to improve the process mix or because a change in memory requirements has overcommitted available memory, requiring memory to be freed up. Swapping is discussed in Chapter 8.

 

here MTS is said to be reducing the degree of multiprogramming. so reducing is also a way of controlling. isn’t it?

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
Shivateja MST asked Jul 13, 2023
183 views
Like other allocation techniques, does Overlaying technique uses MMU? And how address translation takes place and security is maintained in Overlaying ?
2 votes
2 votes
2 answers
2
Sunnidhya Roy asked Dec 30, 2022
676 views
Can Safe state in DeadLock Avoidance Mechanism always guarantee No DeadLock??