Site icon i2tutorials

OS – Multiple Processor Scheduling

Multiple Processor Scheduling

 

The availability of multiple processors makes scheduling more complicated, as there is more than one CPU that has to be kept busy at all times.

Load sharing is used in this case. It can be defined as balancing the load between multiple processors. 

 

Approaches to Multiple processor scheduling:

There are two approaches: Symmetric Multiprocessing and Asymmetric Multiprocessing.

 

 

 

Processor Affinity:

In processor affinity, the processes have a priority for the processor which they are running.

 

 

  

Load Balancing:

Load Balancing is the phenomenon that keeps the workload evenly distributed across all processors in an SMP system so that one processor doesn’t sit idle while the other is being overloaded.

 

 

 

MultiCore Processors:

In MultiCore processors, multiple processor cores are placed on the same physical chip. SMP systems with multicore processors are faster and consume less power than the systems that have a separate physical chip for each processor. 

Though, there are chances of memory stall. Memory stall is the phenomenon where a processor accesses the memory and then spends a significant amount of time waiting for the data to become available. 

To avoid this, a multithreaded processor core is used. 

Two ways to multithread are as follows:

 

 

 

Reference :

Multiple processor Scheduling.

 

Exit mobile version