TEXT 24
Parallel & Distributed Guest on 29th November 2022 11:44:49 AM
  1. Load Balancing
  2. How CPU shares the task
  3. Different CPU and multi-tasking application, executing together.
  4.  
  5. The algorithm of load balancing:
  6. Divides the computational load to run it with multiple CPUs. When load balancing is done, it will send a message through
  7. MPI
  8. How the load is divided in load balancing?
  9. The important parameters which are using in load balancing
  10.  
  11. CPU Scheduling:
  12. When there are jobs, it schedules.
  13.  
  14. Difference between CPU Scheduling and Load Scheduling
  15.  
  16. Load balancer - can be a physical device and it can be also based on the software. Decides how to balance the load.
  17. F5 Load Balancer - Most expensive load balancer
  18.  
  19. Which job is scheduled in the process next in multi programming environment?
  20. Techniques:
  21. FCFS
  22. Priority Based
  23. Round Robin Based
  24. Multi Level Feedback Queue
  25.  
  26. Load Balancing:
  27. Assigns to the task to the CPU which is not over loaded.
  28.  
  29. Job Scheduling
  30. Every processor has its own queue for job
  31. Streams of jobs arriving into the Job Scheduling.
  32. Local queue: for the jobs that are locally done.
  33. Every process has its own queue.                
  34.  
  35. Policies:
  36. Random: Schedules job according to the probability, it is a simple and state policy.
  37. Cycle: It stores the information of the previous allocated site and it is semi state policy. It will decide on the runtime
  38. so if response is not received, it will assign to the other.
  39.  
  40. Join The Shortest Queue:
  41. Stores the size of the local queue in each site, so it will allocate to the queue which has the shortest queue.
  42.  
  43. Parameters of Interest:
  44. Mean Response
  45. Mean Delay
  46. Throughput of the system
  47.  
  48. Sender Intiated Load Balancing:
  49. The node that has the higher load will start this process. Decided by sender
  50. Different policies of transfer, whether the task needs to be transferred to the different site or different location.
  51. Threshold value is greater, then it will transfer to other node, otherwise if not greater then it is kept in the same node
  52. Threshold is actually the number of tasks in queue.
  53.  
  54. Shortest Location Policy
  55. Finds the shortest queue, and then depending on how short it is, it will make the decision to select shortest one
  56.  
  57. Receiver Initiated Load Balancing:
  58. Receiver will try to get the task from the loaded site.
  59.  
  60. The reason why it will pool again is that the receiver will raise the flag that it is free so that the task can be received.
  61.  
  62. Drawback of receiver initiated algorithm
  63. Most tasks are preemptive so what happens is that the task is stopped when it wants to perform that action so this is the
  64. drawback as it causes an interrupt.

Coding Base is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.