answersLogoWhite

0

Linux has a number of schedulers available in its kernel, plus at least one scheduler available as a patch. But the default schedler is the Completely Fair Scheduler. Like most modern schedulers, it is pre-emptive, meaning that instead of the process deciding when to give up the CPU, the kernel decides for it when to give up the CPU. This keeps even the most uncooperative process from starving the other processes on the computer of CPU time. From what I understand of how CFS works: It keeps an eye on how much of an assigned quantum (length of time.) is actually spent on the CPU by a process and how much of the quantum is spent blocking (Keeping off the CPU to wait for I/O requests to complete, a process can't usually proceed and keep going without requested data. During the time a process is waiting for the hardware, other processes make use of the CPU.) The less time a process actually uses the CPU on its given quantum, the higher a priority it gets so that when the data from an I/O operation is complete the process can quickly execute to the next I/O request and block again. This keeps the CPU busy, but the system responsive to just about any event.

I don't know what sort of process scheduling is used on Windows. Windows, unlike Linux, is given a pretty heavy black box treatment when it comes to its users and a great deal about its kernel is not common knowledge. Presumably it is a pre-emptive, priority-based scheduler. Doubtful it's as efficient as CFS.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What type of window is install in laptops provided by govt of Punjab Pakistan?

Ubuntu( linux Operating System)


What scheduling algorithm is used in Linux?

Linux usually uses a pre-emptive scheduler, which means a process will run until either it makes a system call, or its time slice runs out. This is as opposed to a cooperative scheduler, which allows a process to run until it deems itself ready to go from running to ready state. Needless to say, preemption is a much better model, keeping misbehaving processes from starving other processes of CPU time.


What is the startup file in Linux?

There is no "the startup file" in Linux; depending on the type of system, there may not be any files at all. The Linux boot process has a number of steps, many of which are optional or have alternative implementations.


How can you use telnet in personal computer?

Windows: Open start menu, click "Run", type in "telnet" Linux: Open a Terminal window, type in "telnet"


How do you share files between Linux and Windows?

You can type in smb//192.168.1.1/ into a file manager window (put the windows computers IP address in there though)


What type of kernel is Linux?

Monolithic


What type of OS is UBUNTU?

Linux.


What type of scheduling is there in RTOS?

A scheduler is the heart of every RTOS. It provides the algorithms to select the task for execution. Three common scheduling algorithms are > Cooperative scheduling > Round-robin scheduling > Preemptive scheduling RTOS uses preemptive (priority based) scheduling. In some cases, real-time requirements can be met by using static scheduling.


Linux is a software of the type SharewareOpen Source Commercial Proprietary.?

Linux is open source, not shareware or proprietary. There are commercial Linux distributions.


Why in round robin new processes place at end of queue rather than at beginning?

in roundrobin scheduling each process is gven a fixed time to execute so whenever a new process arrives it is placed at the end of the queue,,,,,the advantage by doing this type of scheduling is response time will be gud...But the disadvantage waiting time is more


What type of software help managers keep scheduling charts?

Project managing software is used to keep scheduling charts.


How do you run Linux commands on terminal?

You just type the commands in and press Enter - very much like Microsoft's Powershell and Command Prompt, or macOS's Terminal window (which itself runs on Bash)