answersLogoWhite

0


Best Answer

Most UNIX based Operating systems use a "time slice" method of scheduling. A ready process will operate for it's allocated time slice, then be put on the "ready queue" and the scheduler will first attempt to find the next ready process of highest priority to execute. It may be the same process again if no other process of higher priority is ready. Ready implies that the process is not waiting for resources and is not waiting for a timer or other interrupt. When a process has run until it is no longer ready, it is put on the queue along with a list of resources or interrupts that it needs.

User Avatar

Wiki User

17y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How about the process scheduling for time sharing processes in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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.


How you will create process in Linux?

A user doesn't directly create processes themselves, instead processes are created anytime a program is run. So, short, but not entirely accurate answer: Do ANYTHING on Linux and you'll cause processes to be created and destroyed.


What CPU scheduling algorithm is used by?

same as linux use.


What are the PS and pstree commands in Linux?

PS (see "man 1 PS") in Linux is a program that generally comes with the operating system that allows you to see information about the running processes. pstree is a program that lets you see the processes as a tree, to see which process started which other process, for example.


What command deletes any process in Linux?

Processes aren't "deleted", they are "killed." The "kill" command, followed by the process ID number, should kill the process. Most distros also have a "killall" command, which will kill processes that have the name you specified.


Which type of process scheduling does Linux and window uses?

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.


Where can one found cheap ticket for mount nfs?

Short for network file sharing, NFS is a common process for those with computers currently. NFS mounting is a process that enables the sharing of files between Unix and Linux machines. Doing this typically requires nothing out of pocket.


Name of schedulers in Linux?

In Linux you have Cron which manages most of the scheduling. Of course if you mean scheduling that happens when a user shutdown or starts up a computer you would be talking about init which is the first program started when booting Linux. Alternatively you could use another scheduler such as atd if you are used to an UNIX like scheduler system.


What is a valid nice value that will result in the program receiving most favourable scheduling in linux?

-20


What is the command used to check the pid of all the processes current running in Linux environment?

Type top in a terminal to display Linux processes, which includes PID.


What is process-id of Linux kernel?

The Linux kernel doesn't consider itself a process, therefore it has no process id.


What do PGID stands for in Linux?

Process Group ID. A process Group is formed when we couple multiple processes together . e.g. from command line. $ ls | more Here, ls & more will have the same PGID.