find_busiest_group(9)

find_busiest_group9

Returns the busiest group within the sched_domain if there is an imbalance. if there isn't an imbalance, and the user has opted for power-savings, it returns a group whose cpus can be put to idle by rebalancing those tasks elsewhere, if such a group exists.

Usage

struct sched_group * find_busiest_group(struct lb_env * env);

Arguments

env

The load balancing environment.

Overview

Also calculates the amount of weighted load which should be moved to restore balance.

Return

- The busiest group if imbalance exists. - If no imbalance and user has opted for power-savings balance, return the least loaded group whose CPUs can be put to idle by rebalancing its tasks onto our group.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.