From 8129f5fd6c193f3733df3bb92fc6bb48733cabcf Mon Sep 17 00:00:00 2001 From: Neil Horman Date: Mon, 11 Dec 2006 21:39:48 +0000 Subject: [PATCH] Related: bz219035 --- .cvsignore | 1 + irqbalance.1 | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ irqbalance.init | 2 +- irqbalance.spec | 3 ++- sources | 3 +-- 5 files changed, 60 insertions(+), 4 deletions(-) create mode 100644 irqbalance.1 diff --git a/.cvsignore b/.cvsignore index bfe9aa3..9c5af2f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,3 +1,4 @@ irqbalance-0.12.tar.gz irqbalance-1.12 irqbalance-0.13.tar.gz +irqbalance-0.54.tar.gz diff --git a/irqbalance.1 b/irqbalance.1 new file mode 100644 index 0000000..006604a --- /dev/null +++ b/irqbalance.1 @@ -0,0 +1,55 @@ +.\"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 run in the foreground and extra debug information to be printed + +.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 diff --git a/irqbalance.init b/irqbalance.init index 6ee2663..41568c2 100755 --- a/irqbalance.init +++ b/irqbalance.init @@ -49,7 +49,7 @@ start() { echo -n $"Starting $prog: " if [ -n "$IRQ_AFFINITY_MASK" ]; then - IRQ_AFFINITY="--afin_mask $IRQ_AFFINITY_MASK" + export IRQBALANCE_BANNED_CPUS=$IRQ_AFFINITY_MASK" fi daemon irqbalance $ONESHOT $IRQ_AFFINITY RETVAL=$? diff --git a/irqbalance.spec b/irqbalance.spec index 281b93e..ed6d99d 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -14,7 +14,8 @@ Prereq: /sbin/chkconfig /sbin/service ExclusiveArch: i386 x86_64 ia64 ppc ppc64 Obsoletes: kernel-utils - +BuildRequires: glib2-devel pkgconfig imake +Requires: glib2 %description irqbalance is a daemon that evenly distributes IRQ load across diff --git a/sources b/sources index 31bf5dd..7f8ab0c 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -1f225b73a01380955231b77d9be60c7a irqbalance-0.12.tar.gz -837f1d69e9b6ef0a58bbd4cf4e0d7f28 irqbalance-0.13.tar.gz +d5e5925c05fea4474776bcbd13051b1d irqbalance-0.54.tar.gz