answersLogoWhite

0

How you handle multi task?

User Avatar

Anonymous

13y ago
Updated: 7/18/2022

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

Savanah Goldner

Lvl 10
3y ago

What else can I help you with?

Related Questions

How do you spell multi task?

multi-task or Multitask -the hyphen is not necessary-


Is multitasking an adjective?

The adjective for multi-task is multi-taskful.


Can the brain multi-task?

yes


What actors and actresses appeared in Multi-task - 2003?

The cast of Multi-task - 2003 includes: Patrick Rea as Miles Ruprick


Is there a universal multi tester?

Depending of what measures you want to test, oscilloscope can have multi task in electronics. Other test equipment is embedded with several applications that can perform different task.


Which gender can multi-task?

Niether it's a personbyperson bases


What types of leadership traits should you look for in a manager applicant?

The leadership traits that you should look for in a manager applicant are a strong personality, punctuality,the ability to multi-task, the ability to negotiate and the ability to handle people.


What problems could occur in a multi task team?

pookemon go


How did you handle a task with someone who was difficult to get along with?

You can handle a task with someone who is difficult to get along with in a few ways. One is just to avoid as much contact as possible.


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 .


How you handle numerous tasks when they are all time sensitive and equally important?

To handle numerous tasks which are equally important and time sensitive, begin with the task that will be quickest to accomplish. Once this task is complete, move on to a longer task.


What are the differences between DOS and Windows OS?

Dos is single user single task and windows single user multi task