2.3 Load Balancing (Static)
2.3 Load Balancing (Static)
Termination Detection
Content
• Introduction
• Type of Load Balancing
• Static Load Balancing
• Points Related to Static Load Balancing
• Problem in Static Load Balancing
• Need for Dynamic Load Balancing
Introduction
• Problem Division:
• A computational problem is divided into a fixed number of processes.
• Each process is designed to execute in parallel, performing a known amount of work.
• Processor Distribution:
• Processes are distributed among available processors.
• The initial assumption is that this distribution is done without considering the types of
processors or their individual speeds.
• Uneven Work Distribution:
• Some processes may require significantly more time to complete than others.
• As a result, certain processors may finish their assigned tasks while others are still working,
leading to idle processors.
Cont…
• Processor Speed Variability:
• Different processors may have varying speeds and performance capabilities.
• Faster processors may complete their tasks earlier, exacerbating the idleness issue.
• Objective of Load Balancing:
• The goal is to ensure that all processors are continuously engaged in tasks.
• This aims to minimize the overall execution time of the computational workload.
• Achieving Load Balancing:
• Load balancing involves spreading the workload evenly across all processors.
• Techniques can include dynamic task allocation, where tasks are redistributed during
execution based on processor performance and workload.
Cont…
Type of Load
Balancing
• Static Load Balancing: Static load balancing involves planning the distribution
of tasks before execution begins. Also known as This approach is often referred to
as the mapping problem or scheduling problem (Bokhari, 1981).
• It relies on estimated execution times and the interdependencies of program
components to create a balanced workload.
• A substantial body of literature exists on static load balancing, employing various
optimization techniques.
Cont…