82047c1a22
Fixing bug http://code.google.com/p/irqbalance/issues/detail?id=25 It was pointed out that during the rewrite of irqbalance I inadvertently removed the support for the IRQBALANCE_BANNED_IRQS environment variable. While going to return it to the build, it occured to me that, given the availability of msi[x] irqs, a single system can literally have thousands of interrupt sources, making the environment variable a non-scalable solution. Instead I'm adding a new option, banirqs, which takes its place. It lets you build a list of irqs that you want irqbalance to leave alone. Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
93 lines
2.2 KiB
Groff
93 lines
2.2 KiB
Groff
.\"Generated by db2man.xsl. Don't modify this, modify the source.
|
|
.de Sh \" Subsection
|
|
.br
|
|
.if t .Sp
|
|
.ne 5
|
|
.PP
|
|
\fB\\$1\fR
|
|
.PP
|
|
..
|
|
.de Sp \" Vertical space (when we can't use .PP)
|
|
.if t .sp .5v
|
|
.if n .sp
|
|
..
|
|
.de Ip \" List item
|
|
.br
|
|
.ie \\n(.$>=3 .ne \\$3
|
|
.el .ne 3
|
|
.IP "\\$1" \\$2
|
|
..
|
|
.TH "IRQBALANCE" 1 "Dec 2006" "Linux" "irqbalance"
|
|
.SH NAME
|
|
irqbalance \- distribute hardware interrupts across processors on a multiprocessor system
|
|
.SH "SYNOPSIS"
|
|
|
|
.nf
|
|
\fBirqbalance\fR
|
|
.fi
|
|
|
|
.SH "DESCRIPTION"
|
|
|
|
.PP
|
|
The purpose of \fBirqbalance\fR is distribute hardware interrupts across processors on a multiprocessor system in order to increase performance\&.
|
|
|
|
.SH "OPTIONS"
|
|
|
|
.TP
|
|
.B --oneshot
|
|
Causes irqbalance to be run once, after which the daemon exits
|
|
.TP
|
|
|
|
.B --debug
|
|
Causes irqbalance to print extra debug information. Implies --foreground
|
|
|
|
.TP
|
|
.B --foreground
|
|
Causes irqbalance to run in the foreground (without --debug)
|
|
|
|
.TP
|
|
.B --hintpolicy=[exact | subset | ignore]
|
|
Set the policy for how irq kernel affinity hinting is treated. Can be one of:
|
|
.P
|
|
.I exact
|
|
irq affinity hint is applied unilaterally and never violated
|
|
.P
|
|
.I subset
|
|
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
|
|
|
|
.TP
|
|
.B --powerthresh=<threshold>
|
|
Set the threshold at which we attempt to move a cpu into powersave mode
|
|
If more than <threshold> cpus are more than 1 standard deviation below the
|
|
average cpu softirq workload, and no cpus are more than 1 standard deviation
|
|
above (and have more than 1 irq assigned to them), attempt to place 1 cpu in
|
|
powersave mode. In powersave mode, a cpu will not have any irqs balanced to it,
|
|
in an effort to prevent that cpu from waking up without need.
|
|
|
|
.TP
|
|
.B --banirq=<irqnum>
|
|
Add the specified irq list to the set of banned irqs. irqbalance will not affect
|
|
the affinity of any irqs on the banned list, allowing them to be specified
|
|
manually. This option is addative and can be specified multiple times
|
|
|
|
.SH "ENVIRONMENT VARIABLES"
|
|
.TP
|
|
.B IRQBALANCE_ONESHOT
|
|
Same as --oneshot
|
|
|
|
.TP
|
|
.B IRQBALANCE_DEBUG
|
|
Same as --debug
|
|
|
|
.TP
|
|
.B IRQBALANCE_BANNED_CPUS
|
|
Provides a mask of cpus which irqbalance should ignore and never assign interrupts to
|
|
|
|
.SH "Homepage"
|
|
http://code.google.com/p/irqbalance
|
|
|
|
|