!59 remove --hintpolicy to avoid startup fails and useless file irqbalance.rules
Merge pull request !59 from SuperSix173/openEuler-21.09
This commit is contained in:
commit
4cff4a1a3e
@ -1,2 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
echo > /dev/null
|
|
||||||
@ -1,14 +1,12 @@
|
|||||||
Summary: A dynamic adaptive IRQ balancing daemon
|
Summary: A dynamic adaptive IRQ balancing daemon
|
||||||
Name: irqbalance
|
Name: irqbalance
|
||||||
Version: 1.8.0
|
Version: 1.8.0
|
||||||
Release: 5
|
Release: 6
|
||||||
Epoch: 3
|
Epoch: 3
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Source0: https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz#/irqbalance-%{version}.tar.gz
|
Source0: https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz#/irqbalance-%{version}.tar.gz
|
||||||
Source1: irqbalance.service
|
Source1: irqbalance.service
|
||||||
Source2: irqbalance.sysconfig
|
Source2: irq_balancer
|
||||||
Source3: irqbalance.rules
|
|
||||||
Source4: irq_balancer
|
|
||||||
Url: https://github.com/irqbalance/irqbalance
|
Url: https://github.com/irqbalance/irqbalance
|
||||||
|
|
||||||
BuildRequires: autoconf automake libtool libcap-ng systemd
|
BuildRequires: autoconf automake libtool libcap-ng systemd
|
||||||
@ -46,9 +44,8 @@ CFLAGS="%{optflags}" %make_build CFLAGS+='-fstack-protector-strong '
|
|||||||
%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}/%{_unitdir}/%{name}.service
|
install -D -p -m 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}.service
|
||||||
install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
install -D -p -m 0644 ./misc/irqbalance.env %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
||||||
install -D -p -m 0755 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/%{name}.rules
|
install -D -p -m 0755 %{SOURCE2} %{buildroot}%{_sbindir}/irq_balancer
|
||||||
install -D -p -m 0755 %{SOURCE4} %{buildroot}%{_sbindir}/irq_balancer
|
|
||||||
|
|
||||||
install -d %{buildroot}%{_mandir}/man1/
|
install -d %{buildroot}%{_mandir}/man1/
|
||||||
install -p -m 0644 ./%{name}.1 %{buildroot}%{_mandir}/man1/
|
install -p -m 0644 ./%{name}.1 %{buildroot}%{_mandir}/man1/
|
||||||
@ -61,7 +58,6 @@ make check
|
|||||||
%{_sbindir}/%{name}
|
%{_sbindir}/%{name}
|
||||||
%{_unitdir}/%{name}.service
|
%{_unitdir}/%{name}.service
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
||||||
%{_sysconfdir}/sysconfig/%{name}.rules
|
|
||||||
%{_sbindir}/irq_balancer
|
%{_sbindir}/irq_balancer
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
@ -83,6 +79,12 @@ fi
|
|||||||
/sbin/chkconfig --del %{name} >/dev/null 2>&1 || :
|
/sbin/chkconfig --del %{name} >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jan 15 2022 Liu Chao <liuchao173@huawei.com> - 3:1.8.0-6
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:restart
|
||||||
|
- DESC: remove --hintpolicy to avoid startup fails and useless file irqbalance.rules
|
||||||
|
|
||||||
* Thu Nov 11 2021 Liu Chao <liuchao173@huawei.com> - 3:1.8.0-5
|
* Thu Nov 11 2021 Liu Chao <liuchao173@huawei.com> - 3:1.8.0-5
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
@ -1,52 +0,0 @@
|
|||||||
# irqbalance is a daemon process that distributes interrupts across
|
|
||||||
# CPUs on SMP systems. The default is to rebalance once every 10
|
|
||||||
# seconds. This is the environment file that is specified to systemd via the
|
|
||||||
# EnvironmentFile key in the service unit file (or via whatever method the init
|
|
||||||
# system you're using has).
|
|
||||||
|
|
||||||
#
|
|
||||||
# IRQBALANCE_ONESHOT
|
|
||||||
# After starting, wait for a minute, then look at the interrupt
|
|
||||||
# load and balance it once; after balancing exit and do not change
|
|
||||||
# it again.
|
|
||||||
#
|
|
||||||
#IRQBALANCE_ONESHOT=
|
|
||||||
|
|
||||||
#
|
|
||||||
# IRQBALANCE_BANNED_CPUS
|
|
||||||
# 64 bit bitmask which allows you to indicate which CPUs should
|
|
||||||
# be skipped when reblancing IRQs. CPU numbers which have their
|
|
||||||
# corresponding bits set to one in this mask will not have any
|
|
||||||
# IRQs assigned to them on rebalance.
|
|
||||||
#
|
|
||||||
#IRQBALANCE_BANNED_CPUS=
|
|
||||||
|
|
||||||
# IRQBALANCE_BANNED_CPULIST
|
|
||||||
# The CPUs list which allows you to indicate which CPUs should
|
|
||||||
# be skipped when reblancing IRQs. CPU numbers in CPUs list will
|
|
||||||
# not have any IRQs assigned to them on rebalance.
|
|
||||||
#
|
|
||||||
# The format of CPUs list is:
|
|
||||||
# <cpu number>,...,<cpu number>
|
|
||||||
# or a range:
|
|
||||||
# <cpu number>-<cpu number>
|
|
||||||
# or a mixture:
|
|
||||||
# <cpu number>,...,<cpu number>-<cpu number>
|
|
||||||
#
|
|
||||||
#IRQBALANCE_BANNED_CPULIST=
|
|
||||||
|
|
||||||
#
|
|
||||||
# IRQBALANCE_BANNED_INTERRUPTS
|
|
||||||
# Interrupts that don't get banlanced 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.
|
|
||||||
#
|
|
||||||
#IRQBALANCE_BANNED_INTERRUPTS=""
|
|
||||||
|
|
||||||
#
|
|
||||||
# IRQBALANCE_ARGS
|
|
||||||
# Append any args here to the irqbalance daemon as documented in the man
|
|
||||||
# page.
|
|
||||||
#
|
|
||||||
IRQBALANCE_ARGS="--hintpolicy=subset"
|
|
||||||
Loading…
x
Reference in New Issue
Block a user