load balancing - Linux Scheduler on NUMA and SMP -
load balancing - Linux Scheduler on NUMA and SMP -
i wanted know if re-create of schedule() function runs on each processor, or 1 schedule() running each processor.
if there re-create of schedule() running on each processor/core, how processes dispatched particular cpu/cpu runqueue. job of load balancer? there 1 load balancer running cpu's or done in distributed fashion using flags/communication method?
ps- know working of scheduling classes etc having hard time figuring out distribution of processes among various runqueues.
how processes dispatched particular cpu/cpu runqueue. job of load balancer?
yes. in multi-processor scheme load balancer periodically checks see whether cpu loads unbalanced; if are, processor performs cross-cpu balancing of tasks.
is there 1 load balancer running cpu's or done in distributed fashion using flags/communication method?
yes. in smp scheduling there 1 schedule() , 1 load balancing manage multitasking between multiple cores.
refer: inside linux scheduler.
linux-kernel load-balancing scheduler numa smp
Comments
Post a Comment