35 lines
1.4 KiB
Text
35 lines
1.4 KiB
Text
# Template file for 'irqbalance'
|
|
pkgname=irqbalance
|
|
version=1.0.5
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libglib-devel libcap-ng-devel libnuma-devel"
|
|
short_desc="Handholding your interrupts for power and performance"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="https://code.google.com/p/irqbalance/"
|
|
distfiles="https://irqbalance.googlecode.com/files/${pkgname}-${version}.tar.gz"
|
|
checksum=1123e75224b9c0b63ac85892e920bc4a9c76211278ea3d5d4bcbbde44815685c
|
|
long_desc="
|
|
Irqbalance is the Linux utility tasked with making sure that interrupts from
|
|
your hardware devices are handled in as efficient a manner as possible
|
|
(meaning every cpu handles some of the interrupt work), while at the same time
|
|
making sure that no single cpu is tasked with a inappropriately large amount
|
|
of this work. Irqbalance constantly analyzes the amuont of work interrupts
|
|
require on your system and balances interrupt handling across all of your
|
|
systems cpus in a fair manner, keeping system performance more predictable and
|
|
constant. This should all happen transparently to the user. If irqbalance
|
|
performs its job right, nobody will ever notice it's there or want to turn it
|
|
off."
|
|
|
|
post_install() {
|
|
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
|
}
|
|
|
|
irqbalance_package() {
|
|
systemd_services="irqbalance.service on"
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|