answersLogoWhite

0

Multi-tasking is a function of the operating system and gives the impression that two or more programs are running simultaneously. Systems that have two or more independent processors or cores are obviously capable of running two or more programs simultaneously, however only one program can physically run on any one core at any one point in time, and the number of running programs (or threads, since programs can be multi-threaded) typically exceeds the number of physical cores available. Thus programs must be scheduled so they each get a fair share of CPU time.

At the heart of the scheduler is the dispatcher followed by the short-term, mid-term and long term schedulers. The dispatcher is responsible for the low-level context switching. Switching tasks incurs a dispatch latency which means the CPU is momentarily idle. Thus the dispatcher must not only operate extremely quickly but must avoid any unnecessary context switching. The short-term scheduler is responsible for selecting tasks for dispatch. Typically, the short-term scheduler runs after every time slice and can force tasks off the CPU (pre-emptive scheduling). The mid-term scheduler is responsible for swapping tasks between memory and page files while the long-term scheduler decides which tasks should be admitted to the ready queue.

Between them, the schedulers prioritise tasks to ensure every task gets a fair share of the CPU, with higher priority tasks taking more time-slices than low-priority tasks. This is achieved through a variety of algorithms often used in some combination, such as first in first out, round robin, shortest job first, fixed-priority pre-emptive scheduling and multi-level scheduling, amongst others.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

Is vista single tasking or multi tasking?

yes it is multi tasking, although vitta cant handle it well, thus it slows down . yes it is multi tasking, although vista cant handle it well, thus it slows down .


What is multi tasking systems?

A Multi-tasking system is a system that can handle multiple tasks at the same time. Modern operating systems (Windows XP for example) can run multiple programs at the same time, and are a good example of multitasking systems


Unix terminology for multi-tasking?

Multi-tasking is multi-tasking, regardless of the Operating System you are talking about. The use of multi-tasking is controlled via a facility in Unix called "Job Control", which allows a user to start multiple tasks, move them between background and foreground, kill them off, etc.


What mother board can handle the most components?

The ASUS P7P55DX Deluxe Motherboard is generally a very good multi-tasking motherboard.


How confident you are at multi-tasking with an example?

because im focus in my work so im very confident that i can i do multi-tasking


How confident you are at multi tasking with an example?

because im focus in my work so im very confident that i can i do multi-tasking


What is the correct way to spell multi tasking?

The word is spelled as one word "multitasking" but is occasionally seen hyphenated as in (multi-tasking).


Is window 7 multie tasking?

Yes, and its very good at it too


An example of an operating system for multi user multi tasking?

Unix


What operating system types is used in medical equipment or a cash register Multi-user multi-tasking Real-time Single-user multi-tasking Single-user single-tasking?

Generally, it will be single-user, single tasking.


How do you Manage Multi tasking?

how to avoid overload


Question paper for ssc staff selection multi tasking?

The previous question paper for SSC staff selection multi-tasking can be found at http://gpress.in/2013/11/ssc-multi-tasking-staff-exam-2014-previous-question-papers/.