Adjust default hintpolicy value
affinity_hint values are something of a holdover from prior to when irqbalance was re-written. Previous to the rewrite irqbalance could not determine with great accuracy the device to which an msi(x) irq was associatied, the node it was local to, etc, and so was not able to balance it well. kernel affinity_hint values were created to work around that by just telling user space where to put an interrupt. However, since the rewrite, irqbalance is perfectly capable of parsing all information about an irq out of sysfs, and can make superior policy decisions about balancing according to user input, over kernel suggestions. As such, allow users to honor affinity_hint, but by default ignore it Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
This commit is contained in:
parent
180cf09ef5
commit
d9138c78c3
|
@ -57,6 +57,8 @@ irq is balanced, but the assigned object will be a subset of the affintiy hint
|
|||
.P
|
||||
.I ignore
|
||||
irq affinity hint value is completely ignored
|
||||
.P
|
||||
The default value for hintpolicy is ignore
|
||||
|
||||
.TP
|
||||
.B -p, --powerthresh=<threshold>
|
||||
|
|
|
@ -48,7 +48,7 @@ int foreground_mode;
|
|||
int numa_avail;
|
||||
int need_rescan;
|
||||
unsigned int log_mask = TO_ALL;
|
||||
enum hp_e hint_policy = HINT_POLICY_SUBSET;
|
||||
enum hp_e hint_policy = HINT_POLICY_IGNORE;
|
||||
unsigned long power_thresh = ULONG_MAX;
|
||||
unsigned long deepest_cache = ULONG_MAX;
|
||||
unsigned long long cycle_count = 0;
|
||||
|
|
Loading…
Reference in a new issue