This commit is contained in:
parent
126b5497c2
commit
d3e679aeb3
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 16 00:19:32 CEST 2007 - bwalle@suse.de
|
||||
|
||||
- wrote manpage for irqbalance
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 11 15:00:06 CEST 2007 - bwalle@suse.de
|
||||
|
||||
|
77
irqbalance.pod
Normal file
77
irqbalance.pod
Normal file
@ -0,0 +1,77 @@
|
||||
=head1 NAME
|
||||
|
||||
irqbalance - distribute hardware interrupts across
|
||||
processors on a multiprocessor system
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
irqbalance [I<debug> | I<oneshot>]
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
irqbalance is a Linux daemon that distributes interrupts over the processors
|
||||
and cores you have in your computer system. The design goal of irqbalance is to
|
||||
do find a balance between power savings and optimal performance. To a large
|
||||
degree, the work irqbalance does is invisible to you; if irqbalance performs
|
||||
its job right, nobody will ever notice it's there or want to turn it off.
|
||||
|
||||
For more information, visit the irqbalance homepage at
|
||||
I<http://www.irqbalance.org>.
|
||||
|
||||
=head1 OPTIONS
|
||||
|
||||
=over 7
|
||||
|
||||
=item B<debug>
|
||||
|
||||
Prints debug messages on stdout.
|
||||
|
||||
=item B<oneshot>
|
||||
|
||||
Only do a one shot setup.
|
||||
|
||||
=back
|
||||
|
||||
=head1 ENVIRONMENT
|
||||
|
||||
=over 7
|
||||
|
||||
=item B<IRQBALANCE_BANNED_CPUS>
|
||||
|
||||
Bitmap of CPUs that are banned from IRQ balancing
|
||||
|
||||
=item B<IRQBALANCE_ONESHOT>
|
||||
|
||||
Same as the oneshot option mentioned above.
|
||||
|
||||
=item B<IRQBALANCE_DEBUG>
|
||||
|
||||
Same as the debug option mentioned above.
|
||||
|
||||
=item B<IRQBALANCE_BANNED_INTERRUPTS>
|
||||
|
||||
Interrupt that don't get balanced as list (separation character doesn't
|
||||
matter). For example broken chipsets don't allow the timer interrupt
|
||||
to be set to another CPU than the first, and with this option that
|
||||
policy can be applied.
|
||||
|
||||
=back
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
Homepage: I<http://www.irqbalance.org>
|
||||
|
||||
=head1 AUTHOR
|
||||
|
||||
irqbalance was written by Arjan van de Ven E<lt>arjan@linux.intel.comE<gt>.
|
||||
|
||||
This manpage was written by Bernhard Walle E<lt>bwalle@suse.deE<gt> based on
|
||||
the original manpage of the old irqbalance package and on the documentation
|
||||
available from the irqbalance hompage.
|
||||
|
||||
=head1 MAINTAINER
|
||||
|
||||
Arjan van de Ven <arjan@linux.intel.com>
|
||||
|
||||
=cut
|
||||
|
@ -16,14 +16,15 @@ Group: System/Daemons
|
||||
Autoreqprov: on
|
||||
PreReq: %insserv_prereq
|
||||
Version: 0.55
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Balance IRQs on SMP Machines
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: irqbalance.pod
|
||||
Source2: irq_balancer
|
||||
URL: http://www.irqbalance.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# xorg-x11-util-devel is for gccmakedep
|
||||
BuildRequires: glib2-devel xorg-x11-util-devel
|
||||
BuildRequires: glib2-devel perl xorg-x11-util-devel
|
||||
Patch0: irqbalance-fix-Makefile
|
||||
|
||||
%description
|
||||
@ -42,6 +43,9 @@ Authors:
|
||||
|
||||
%build
|
||||
make CFLAGS="$RPM_OPT_FLAGS -fPIE -pie"
|
||||
cp %{SOURCE1} .
|
||||
pod2man --release=0.5.5 --center=irqbalance irqbalance.pod irqbalance.1
|
||||
gzip irqbalance.1
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
|
||||
@ -49,6 +53,8 @@ mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
||||
install -m 0755 irqbalance $RPM_BUILD_ROOT/%{_sbindir}
|
||||
install -m 0755 $RPM_SOURCE_DIR/irq_balancer $RPM_BUILD_ROOT/etc/init.d
|
||||
ln -s /etc/init.d/irq_balancer $RPM_BUILD_ROOT/%{_sbindir}/rcirq_balancer
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
|
||||
install -m 0644 irqbalance.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -68,8 +74,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_sbindir}/irqbalance
|
||||
/etc/init.d/irq_balancer
|
||||
%{_sbindir}/rcirq_balancer
|
||||
%{_mandir}/man1/irqbalance.1.gz
|
||||
|
||||
%changelog
|
||||
* Mon Apr 16 2007 - bwalle@suse.de
|
||||
- wrote manpage for irqbalance
|
||||
* Wed Apr 11 2007 - bwalle@suse.de
|
||||
- updated to irqbalance.org 0.55
|
||||
o rewrite from static arrays to dynamic lists using glib
|
||||
|
Loading…
Reference in New Issue
Block a user