Update irqbalance to latest upstream (bz 744010)
This commit is contained in:
parent
84d972026a
commit
62f4299569
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
irqbalance-0.55.tar.gz
|
irqbalance-0.55.tar.gz
|
||||||
irqbalance-0.56.tbz2
|
irqbalance-0.56.tbz2
|
||||||
|
/irqbalance-1.0.tbz2
|
||||||
|
69
irqbalance.1
69
irqbalance.1
@ -1,69 +0,0 @@
|
|||||||
.\"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
|
|
||||||
|
|
||||||
.SH "NOTES"
|
|
||||||
The purpose of irqbalance is to distribute interrupts accross cpus in an smp
|
|
||||||
system such that cache-domain affinity is maximized for each irq. In other
|
|
||||||
words, irqbalance tries to assign irqs to cpu cores such that each irq stands a
|
|
||||||
greater chance of having its interrupt handler be in cache when the irq is
|
|
||||||
asserted to the cpu. This raises a few interesting cases in which the behavior
|
|
||||||
of irqbalance may be non-intuitive. Most notably, cases in which a system has
|
|
||||||
only one cache domain. Nominally these systems are only single cpu
|
|
||||||
environments, but can also be found in multi-core environments in which the
|
|
||||||
cores share an L2 cache. In these situations irqbalance will exit immediately,
|
|
||||||
since there is no work that irqbalance can do which will improve interrupt
|
|
||||||
handling performance. This is normal and not cause for concern. For more
|
|
||||||
information regarding irqbalance, please visit http://irqbalance.org/
|
|
@ -1,11 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=irqbalance daemon
|
|
||||||
After=syslog.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
EnvironmentFile=/etc/sysconfig/irqbalance
|
|
||||||
Type=forking
|
|
||||||
ExecStart=/usr/sbin/irqbalance $ONESHOT
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -1,6 +1,6 @@
|
|||||||
Name: irqbalance
|
Name: irqbalance
|
||||||
Version: 0.56
|
Version: 1.0
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
Summary: IRQ balancing daemon
|
Summary: IRQ balancing daemon
|
||||||
|
|
||||||
@ -8,9 +8,7 @@ Group: System Environment/Base
|
|||||||
License: GPLv2
|
License: GPLv2
|
||||||
Url: http://irqbalance.org/
|
Url: http://irqbalance.org/
|
||||||
Source0: http://irqbalance.googlecode.com/files/irqbalance-%{version}.tbz2
|
Source0: http://irqbalance.googlecode.com/files/irqbalance-%{version}.tbz2
|
||||||
Source1: irqbalance.service
|
Source1: irqbalance.sysconfig
|
||||||
Source2: irqbalance.sysconfig
|
|
||||||
Source3: irqbalance.1
|
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtool libcap-ng
|
BuildRequires: autoconf automake libtool libcap-ng
|
||||||
BuildRequires: glib2-devel pkgconfig imake libcap-ng-devel
|
BuildRequires: glib2-devel pkgconfig imake libcap-ng-devel
|
||||||
@ -26,9 +24,7 @@ irqbalance is a daemon that evenly distributes IRQ load across
|
|||||||
multiple CPUs for enhanced performance.
|
multiple CPUs for enhanced performance.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n irqbalance
|
||||||
|
|
||||||
sed -i s/-Os//g Makefile
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sh ./autogen.sh
|
sh ./autogen.sh
|
||||||
@ -37,11 +33,11 @@ CFLAGS="%{optflags}" make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -p -m 0755 %{name} %{buildroot}%{_sbindir}/%{name}
|
install -D -p -m 0755 %{name} %{buildroot}%{_sbindir}/%{name}
|
||||||
install -D -p -m 0644 %{SOURCE1} %{buildroot}/lib/systemd/system/irqbalance.service
|
install -D -p -m 0644 ./misc/irqbalance.service %{buildroot}/lib/systemd/system/irqbalance.service
|
||||||
install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
||||||
|
|
||||||
install -d %{buildroot}%{_mandir}/man1/
|
install -d %{buildroot}%{_mandir}/man1/
|
||||||
install -p -m 0644 %{SOURCE3} %{buildroot}%{_mandir}/man1/
|
install -p -m 0644 ./irqbalance.1 %{buildroot}%{_mandir}/man1/
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -78,6 +74,9 @@ fi
|
|||||||
/sbin/chkconfig --del irqbalance >/dev/null 2>&1 || :
|
/sbin/chkconfig --del irqbalance >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 12 2011 Neil Horman <nhorman@redhat.com> - 2:1.0-1
|
||||||
|
- Update irqbalance to latest upstream version
|
||||||
|
|
||||||
* Fri May 6 2011 Bill Nottingham <notting@redhat.com> - 2:0.56-4
|
* Fri May 6 2011 Bill Nottingham <notting@redhat.com> - 2:0.56-4
|
||||||
- fix upgrade trigger
|
- fix upgrade trigger
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user