aboutsummaryrefslogtreecommitdiff
path: root/utils/irqbalance
Commit message (Collapse)AuthorAge
* irqbalance: upgrade to version 1.8.0Hannu Nyman2021-04-18
| | | | | | Upgrade irqbalance to version 1.8.0 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* irqbalance: update to 1.7.0Hannu Nyman2020-08-11
| | | | | | | Update irqbalance to version 1.7.0 Refresh patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* irqbalance: fix socket directory and create itHannu Nyman2020-06-17
| | | | | | | | | | | | | | | | Irqbalance defines /run/irqbalance dir for its socket communication between irqbalance and its UI. /run does not exist in OpenWrt (although it is defined by the Linux FHS), so the socket creation fails. Although we do not compile UI and thus the issue is not critical to us, fix the directory location. Additionally, the creation is originally handled by a systemd init script that we do not use. * patch source to define dir as /var/run/irqbalance * create the dir in the procd init script. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* treewide: add conffilesHuangbin Zhan2020-05-09
| | | | Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
* irqbalance: fix compilation for USE_GLIBC and BUILD_NLS casesIan Cooper2020-04-28
| | | | | | | | | | | | | | | | | | | | | | | The package Makefile was not taking into consideration that the build may be using BUILD_NLS with libintl-full and libiconv-full and was trying to link the wrong versions of these libraries in this case. The necessary flags are added by nls.mk to TARGET_LDFLAGS and can be passed to irqbalance's configure script for setting the GLIB2_LIBS variable instead of the explicit static link to the libiconv stub. The PKG_BUILD_DEPENDS line should be modified so as to add to and not override the definition set by nls.mk, which will ensure the right version of libiconv and libintl is built beforehand. A DEPENDS:= line should be added to the package definition using the variables defined in nls.mk, which will add the appropriate version of libintl and libiconv (vanilla or -full versions) If USE_GLIBC is true, then libpthread needs to be explicitly passed to the configure script in the GLIB2_LIBS variable for linking. Signed-off-by: Ian Cooper <iancooper@hotmail.com>
* irqbalance: support reload_config & start laterMarc Benoit2020-03-03
| | | | | | | | | | | | | Added support for reload_config This service does not need to start so early (even before the netwrok is up). Start it after the device is mostly up and operational. Compile-tested on: ipq806x Runtime-tested on: ipq806x Signed-off-by: Marc Benoit <marcb62185@gmail.com>
* irqbalance: add support of interval and banirqMarc Benoit2020-02-29
| | | | | | | | Added the ability to change sampling interval and provide a list of IRQ's to ignore via /etc/config/irqbalance Signed-off-by: Marc Benoit <marcb62185@gmail.com>
* irqbalance: upgrade to 1.6.0Marc Benoit2020-02-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgraded from 1.2.0 to 1.6.0 to pick up all the latest fixes and improvements irqbalance made glib2 mandatory since 1.3.0, but is using very little of it. glib2 linked statically to minimize the impact. 1.2.0 size: 33,619 1.6.0 size: 99,539 ~# irqbalance --version irqbalance version 1.6.0 ~# ldd /usr/sbin/irqbalance /lib/ld-musl-armhf.so.1 (0xb6f5f000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6f43000) libc.so => /lib/ld-musl-armhf.so.1 (0xb6f5f000) ~# opkg info irqbalance Package: irqbalance Version: 1.6.0-6 Depends: libc Status: install user installed Architecture: arm_cortex-a7_neon-vfpv4 Installed-Time: 1582839249 Compile-tested: ipq806x/R7800 & ipq40xx/GL-B1300 Run-tested: ipq806x/R7800 & ipq40xx/GL-B1300 Signed-off-by: Marc Benoit <marcb62185@gmail.com>
* irqbalance: add support for uci configHannu Nyman2019-06-02
| | | | | | | | | | | | | | | | | Add support for uci config file. Only a global 'enabled" switch has been implemented so far. * Default config disables irqbalance initially, so that there is no change with the previous behaviour (and the possibly existing separate launch scripts in people's builds). Config file and init script can be later extended for irqbalance options like the oneshot mode or the evaluation interval (Also change the init file to use tabs) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* irqbalance: add init scriptAleksandr Mezin2019-06-02
| | | | Signed-off-by: Aleksandr Mezin <mezin.alexander@gmail.com>
* irqbalance: fix AARCH64 compilationHannu Nyman2018-07-19
| | | | | | | AARCH64 compilation fails due to upstream bug in 1.2.0 that has been later fixed. Backport the fix commit. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* irqbalance: add PKG_MIRROR_HASHHannu Nyman2017-04-27
| | | | Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* irqbalance: avoid external glib2Hannu Nyman2017-02-08
| | | | | | | | | Revert an upstream commit to enable compiling without external glib2. Edit the 'disable UI compilation' patch to match the original upstream commit more closely. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* irqbalance: add packageHannu Nyman2017-02-08
The purpose of irqbalance is to distribute hardware interrupts across processors/cores on a multiprocessor/-core system in order to increase performance. This initial implementation of the package uses external glib2, which is a large dependency. Only the cmd-line tool is compiled and installed. Run-tested with ipq806x / R7800. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>