From e7b519dc4828765d77cf6803db229c01fdf89605 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 16 Aug 2012 18:05:41 +0200 Subject: [PATCH] New package: irqbalance-1.0.3. --- srcpkgs/irqbalance/files/irqbalance.service | 8 ++++++ srcpkgs/irqbalance/irqbalance.rshlibs | 5 ++++ srcpkgs/irqbalance/template | 29 +++++++++++++++++++++ 3 files changed, 42 insertions(+) create mode 100644 srcpkgs/irqbalance/files/irqbalance.service create mode 100644 srcpkgs/irqbalance/irqbalance.rshlibs create mode 100644 srcpkgs/irqbalance/template diff --git a/srcpkgs/irqbalance/files/irqbalance.service b/srcpkgs/irqbalance/files/irqbalance.service new file mode 100644 index 00000000000..47fdd714e59 --- /dev/null +++ b/srcpkgs/irqbalance/files/irqbalance.service @@ -0,0 +1,8 @@ +[Unit] +Description=IRQ Balancer daemon + +[Service] +ExecStart=/usr/sbin/irqbalance --foreground + +[Install] +WantedBy=multi-user.target diff --git a/srcpkgs/irqbalance/irqbalance.rshlibs b/srcpkgs/irqbalance/irqbalance.rshlibs new file mode 100644 index 00000000000..b4b9d68be5a --- /dev/null +++ b/srcpkgs/irqbalance/irqbalance.rshlibs @@ -0,0 +1,5 @@ +libcap-ng.so.0 +libglib-2.0.so.0 +libm.so.6 +libnuma.so.1 +libc.so.6 diff --git a/srcpkgs/irqbalance/template b/srcpkgs/irqbalance/template new file mode 100644 index 00000000000..2ea2f8963d5 --- /dev/null +++ b/srcpkgs/irqbalance/template @@ -0,0 +1,29 @@ +# Template file for 'irqbalance' +pkgname=irqbalance +version=1.0.3 +revision=1 +build_style=gnu-configure +systemd_services="${pkgname}.service on" +makedepends="pkg-config glib-devel libcap-ng-devel libnuma-devel" +short_desc="Handholding your interrupts for power and performance" +maintainer="Juan RP " +license="GPL-2" +homepage="https://code.google.com/p/irqbalance/" +distfiles="https://irqbalance.googlecode.com/files/${pkgname}-${version}.tar.gz" +checksum=fd97b7d1570e807a134bc25a0bfb97ebed16ae7dbe2e3583db217c3a3960c7df +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 +} +