Degree of Multiprogramming in Operating Systems
For Complete YouTube Video: Click Here
This class will try to understand the Degree of Multiprogramming in Operating Systems.
In our previous class on swapping in an operating system, we used the degree of multiprogramming.
Degree of Multiprogramming in Operating Systems
The degree of multiprogramming describes the maximum number of processes a single-processor system can efficiently accommodate.
To understand this, we will consider a real-world scenario of a single processor system, as shown below.
For example, consider a laptop with exemplary configuration.
On that laptop, if we are writing a letter on a word document, listening to a song, and downloading a movie, in this case, we can do our work without any disturbance.
Consider the same laptop with ten documents opened, ten music files opened and downloading ten high-quality movies.
Can our laptop work with the same efficiency as before?
No, here, the moment of the mouse is also challenging.
For example, if we have five processes running on our computer, and the sixth process comes of execution, and the system is not working efficiently, then the degree of multiprogramming is five.