Commit Graph

60 Commits

Author SHA256 Message Date
Thomas Renninger
054c5fec2e Accepting request 1010443 from home:dirkmueller:Factory
- update to 1.9.1:
  * get irq->module relationship from /sys/bus/pci/*/driver
  * ensure --banmod is respected
  * check whether savedptr is NULL before invoking strlen
  * add meson
  * support thermal events
  * fix irqbalance never exits
  * irqbalance-ui: able to scroll and show coulist and irqs' name 
- drop proc-interrupts.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1010443
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=99
2022-10-13 16:40:28 +00:00
3d6b6d7fbf - Update to version 1.9.0:
* correct wait time in oneshot mode
  * Document updates
  * disable irqbalance when we only have a single cpu/cache domain
  * fix UI to fetch full messages from UNIX socket
  * avoid some buffer overflows
  * fix UI printf style formatting
  * drop bounding set from irqbalance

OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=97
2022-08-17 21:43:18 +00:00
Thomas Renninger
8b4b5a75f2 Accepting request 985317 from home:Andreas_Schwab:Factory
- proc-interrupts.patch: parse_proc_interrupts: fix parsing interrupt
  counts

OBS-URL: https://build.opensuse.org/request/show/985317
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=95
2022-07-01 10:00:47 +00:00
Thomas Renninger
3b9dcf4e87 Accepting request 915268 from home:trenn:branches:Base:System
- Update to version 1.8.0.18.git+2435e8d.obscpio:
  * fix unsigned integer subtraction sign overflow
- Make git hash in version better visable .git+<githash>

OBS-URL: https://build.opensuse.org/request/show/915268
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=93
2021-09-01 06:52:29 +00:00
Thomas Renninger
7775a7ec48 Accepting request 911415 from home:trenn:branches:Base:System
- Update to version 1.8.0.14.ga7f8148:
  * irqbalance: Check validity of numa_node
  * configure.ac: use pkg-config to find numa
  * Disable the communication socket when UI is disabled
- Use %{?systemd_ordering} instead of %{?systemd_requires}

OBS-URL: https://build.opensuse.org/request/show/911415
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=92
2021-08-11 10:26:51 +00:00
Thomas Renninger
ac2dfc3532 Accepting request 905886 from home:trenn:branches:Base:System
- Update to version 1.8.0.8.gbd5aaf5:
  * Fix comma typo in ui.c
  * drop NoNewPrivs from irqbalance service
  * remove no existing irq in banned_irqs
  * Fix compile issue with none AARCH64 builds
  * Fix irqbalance cannot obtain the full name of irq
- Enhance _service magic and add git hashtag to version

OBS-URL: https://build.opensuse.org/request/show/905886
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=90
2021-07-13 04:27:02 +00:00
Thomas Renninger
1a36274323 Accepting request 885003 from home:trenn:branches:Base:System
- Add _service file pointing to github sources
A _service
- Update to version 1.8.0:
  * Add return value check of opendir in do_one_cpu
  * Hotplug may occur again during sleep, so wait until there is no hotplug

OBS-URL: https://build.opensuse.org/request/show/885003
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=88
2021-04-16 11:52:22 +00:00
Thomas Renninger
5ef44c5fe6 Accepting request 878217 from home:trenn:branches:Base:System
- Update to version 1.7.0+git20210222.9db8d5c:
  * ui: fix cpu/irq menu off by one
  * fix uint64_t printf format (use PRIu64)
  * Also fetch node info for non-PCI devices
  * Add hot pull method for irqbalance
  * Add log for hotplug appropriately
  * add irq hotplug feature for irqbalance
  * Remove some unused constant macros in constants.h
  * Add a deprecation notice for IRQBALANCE_BANNED_CPUS
  * Add IRQBALANCE_BANNED_CPULIST to env file
  * log correctly for isolated and nohz_full cpus
  * Update README.md
  * Add some examples for IRQBALANCE_BANNED_CPUS
  * Adjust how we determine if a cpu is online
  * activate_mapping: activate only online CPUs
  * add env variable to ban cpus using cpulist syntax
  * put arg parsing detail into parse_command_line()
  * Updating configure script to version 1.7.0
  * Add strlen checking for IRQBALANCE_BANNED_CPUS
  * remove redundant "/" in SOCKET_TMPFS
  * Fix typo in service unit file
  * arm64: Add irq aff change check For aarch64, the PPIs format in /proc/interrputs can be parsed and add to interrupt db, and next, the number of interrupts is counted and used to calculate the load. Finally these interrupts maybe scheduled between the NUMA domains.
  * Correct typos in irqbalance.c
  * free cpu_ban_string when the next request come
  * improve irq migrate rule to avoid high irq load
  * make the option 'V' closer to the option with no arg

OBS-URL: https://build.opensuse.org/request/show/878217
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=86
2021-03-11 08:21:24 +00:00
861094b28d - update to 1.7.0:
* Strlen checking for IRQBALANCE_BANNED_CPU env var
  * Typo cleanup in SOCKET_TMPFS
  * consolidation of numa node creation on non-numa systems
  * fix uninitialized use of package_mask in affinity setup
  * use num_online_cpus instead of core_count
  * fix a null ptr crash in do_one_cpu
  * make list searching common from glib
  * fix a calloc parameter bug
  * remove some unused variables
  * use g_list_free_full
  * remove redundant call to free_cl_opts
  * fix some resource leaks in main()
  * fix some use after free issues in check_for_irq_ban
  * fix resource leaks in irqballance-ui, and in add_one_node
- remove Correct-capitalizing-in-service-file.patch: upstream

OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=83
2020-08-16 14:16:54 +00:00
Thomas Renninger
5f792c1919 Accepting request 815730 from home:jmoellers:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/815730
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=81
2020-06-18 21:36:24 +00:00
Thomas Renninger
0b9b213dd0 Accepting request 809536 from home:trenn:branches:Base:System
- Update to latest git HEAD version 0348a3b.
  There has been no version update for quite some time, but some
  restructuring and fixes we want to have included.
D install-man-pages.patch

OBS-URL: https://build.opensuse.org/request/show/809536
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=79
2020-05-27 14:10:02 +00:00
Thomas Renninger
f4773e3a59 Accepting request 797152 from home:kukuk:branches:Base:System
- Package COPYING and README.md
- Add some deps for the -ui subpackage

- Use fillup_prereq macro
- Move ui into sub-package to get minimal core much smaller

OBS-URL: https://build.opensuse.org/request/show/797152
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=77
2020-04-27 17:15:49 +00:00
4d86e6447c Accepting request 714648 from home:trenn:branches:Base:System
- Add git hash tag and date in version as source is derived from
  master/HEAD branch. Thanks to namtrac.
  This is done via _service file.
  Also add an example how to get back to a stable release version
- Update to latest git master version:
  git commit f7fdebbaa4dbc27fcdeb7

OBS-URL: https://build.opensuse.org/request/show/714648
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=75
2019-07-12 06:08:55 +00:00
afeea1d0e0 Accepting request 713884 from home:jengelh:branches:Base:System
- Use noun phrase in summaries.

OBS-URL: https://build.opensuse.org/request/show/713884
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=74
2019-07-09 08:29:36 +00:00
Thomas Renninger
f9758014b6 Accepting request 712883 from home:trenn:branches:Base:System
- Update to version 1.6.0 (b47eea84cbb93f533b0cba2f1aa):
  * fix balancing when numa information isn't available
  * Refine document about IRQBALANCE_BANNED_CPUS
  * Fix string truncation issues detected by GCC 8
  * fix socket path creation
  * Update document for option --banmod and --deepestcache
  * Fix ambiguous parsing of *node* entries in /sys.
  * procinterrupts: check xen-dyn-event more flexible
  * misc: Add an example for policy script
  * policyscript: ignore non-executable files when specifying a directory
remove because already mainline:
D fix_buffer_overflow_compiler.patch

OBS-URL: https://build.opensuse.org/request/show/712883
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=73
2019-07-01 15:41:49 +00:00
Thomas Renninger
8c23315682 Accepting request 639962 from home:trenn:branches:Base:System
- Allow compilation with SLE-12 and before by:
  * removing -std=C99 Latest compiler version does not complain
  anymore, SLE12 SPx and before did.
  * Fix a possible buffer overflow compiler warning
A fix_buffer_overflow_compiler.patch

OBS-URL: https://build.opensuse.org/request/show/639962
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=71
2018-10-04 12:39:00 +00:00
Thomas Renninger
6d3697e5f8 Accepting request 639399 from home:SchoolGuy:branches:Base:System
- Removed aarch64-compile-fixes.patch because it is mainline now.
- Update to version 1.4.0:
  * Fixed an erroneous calculation of min_load that restricted candidates to a
    subset of objects
  * Fixed powerpc hotplug detection
  * Cleaned up syslog target dependency
  * Added some self test infrastructure (via make check)
- Update to version 1.3.0
  * New features in this release:
      optimization of platform device irq detection
      Added sample udev rules to trigger irq rescans on device add/remove
      Made irqbalance ui an optional compile component
      Added support for Intel CoD
      Add -v | --version option to command line
  * Bug fixes in this release:
      Misc compiler warning fixes and spelling errors
      Compilation error fix on aarch64
      Compilation error fix when using clang in c99 mode
      Unused variable cleanup
      Lots of memory leak cleanup in irqbalance-ui
      Prevent irqbalance from running in a container
      Fix irq affinity assignment in some cases to wrong numa node
      Fix oneshot mode
      exclude legacy irq 255
  * Deprecations:
      without-glib2 is removed, we just need it enough that we can't dummy it up
      anymore

OBS-URL: https://build.opensuse.org/request/show/639399
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=70
2018-10-02 13:50:40 +00:00
Thomas Renninger
a2413b1cf3 Accepting request 544684 from home:RBrownSUSE:branches:Base:System
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544684
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=68
2017-11-24 14:25:26 +00:00
Thomas Renninger
159953ce7f Accepting request 477517 from home:fschnizlein:branches:Base:System
- Remove superfluous comment out man package packing

OBS-URL: https://build.opensuse.org/request/show/477517
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=66
2017-03-07 14:25:39 +00:00
Thomas Renninger
47d5a2d3e0 Accepting request 455089 from home:dimstar:Factory
- Switch to ncurses6: use ncurses6-config to find the correct
  CFLAGS and libraries (boo#1021328).

OBS-URL: https://build.opensuse.org/request/show/455089
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=64
2017-02-06 17:15:50 +00:00
18cbb20e87 - add aarch64-compile-fixes.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=62
2017-01-12 18:37:02 +00:00
ed021db7ba - add install-man-pages.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=61
2017-01-12 18:10:55 +00:00
8bbe68ecf8 - update to 1.2.0:
* sort_irq logic rework to fix unintended ordering
 * removal of the affinity_hint infrastructure as its not needed
 * fixes for invalid cpumask parsing
 * many other minior fixes (see git log)
 * Aarch64 support
 * live interactive monitoring of irqbalance and live adjustment with irqbalance-ui
- remove fix-aarch64-support.patch: upstreamed

OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=60
2017-01-12 18:03:54 +00:00
bd52e99e1e Accepting request 441232 from home:michals
Increase limit on file descriptors (bsc#998399) (fate#321645)

OBS-URL: https://build.opensuse.org/request/show/441232
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=57
2016-11-22 10:44:16 +00:00
3c635ff77c Accepting request 361081 from home:Andreas_Schwab:Factory
- fix-aarch64-support.patch: Fix AArch64 support

OBS-URL: https://build.opensuse.org/request/show/361081
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=55
2016-02-24 10:54:26 +00:00
Thomas Renninger
ea09be1235 Accepting request 354380 from home:pluskalm:branches:Base:System
- Update to 1.1.0
  * Banning support fixes
  * Load calculation improvements
  * Documentation fixes
  * Fix command line preservation across re-scan
  * Memory leak fixes
  * Misc. bug fixes
  * ARM irq support
  * New --banmod option
  * New sleep interval option

OBS-URL: https://build.opensuse.org/request/show/354380
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=53
2016-01-18 14:19:16 +00:00
Thomas Renninger
921ae380c0 Accepting request 345012 from home:mbrugger:branches:Base:System
- Only exclude arch s390 and s390x

OBS-URL: https://build.opensuse.org/request/show/345012
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=51
2015-11-18 10:51:29 +00:00
b1520ac0fc - enable build for %arm
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=49
2015-11-09 10:31:53 +00:00
ddfcd29631 Accepting request 291095 from home:pluskalm:branches:Base:System
- Clenup spec file with spec-cleaner
- Remove bug-893478_warn-once.patch
- Update to 1.0.9
  * PCI quirk support
  * System Logging compatibility
  * isolcpus inheritance
  * Misc. Bugfixes

OBS-URL: https://build.opensuse.org/request/show/291095
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=47
2015-03-17 15:27:20 +00:00
c702212291 Accepting request 282532 from home:posophe:branches:Base:System
Update

OBS-URL: https://build.opensuse.org/request/show/282532
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=45
2015-01-23 17:09:29 +00:00
Thomas Renninger
5dd2937e90 Accepting request 248595 from home:trenn:branches:Base:System
- Only warn once for affinity hint subset empty irqs
* Add bug-893478_warn-once.patch
- Rename rcirq_balancer like the package name and the already renamed
  systemd service: rcirqbalance

OBS-URL: https://build.opensuse.org/request/show/248595
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=40
2014-09-11 13:21:48 +00:00
Thomas Renninger
5fb6567b1c Accepting request 237528 from home:trenn:branches:Base:System
- Change non-existing group: System/Environment/Daemons to System/Daemons

OBS-URL: https://build.opensuse.org/request/show/237528
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=38
2014-06-16 13:30:14 +00:00
Thomas Renninger
a5b229b110 Accepting request 237250 from home:trenn:branches:Base:System
- Really fillup (and create) /etc/sysconfig/irqbalance file
- Remove IRQBALANCE_ONESHOT variable from sysconfig file.
  Default IRQBALANCE_ONESHOT=auto will be interpreted as --oneshot, other
  than documented in /etc/sysconfig/irqbalance. The same can be achieved via
  passing --oneshot via newly introduced IRQBALANCE_ARGS= variable (see below)
  bnc#874125
- The irqbalance.service file passes $IRQBALANCE_ARGS when the daemon
  is started. Provide it for the user via /etc/sysconfig/irqbalance.

OBS-URL: https://build.opensuse.org/request/show/237250
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=37
2014-06-13 15:59:46 +00:00
c7fc77eb2c OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=33 2013-12-13 21:57:09 +00:00
70febd23f9 Accepting request 210558 from openSUSE:Factory:PowerLE
- enable ppc64le

OBS-URL: https://build.opensuse.org/request/show/210558
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=32
2013-12-12 12:32:59 +00:00
Cristian Rodríguez
21eedcb922 Accepting request 204044 from home:posophe:branches:Base:System
Some improvements

OBS-URL: https://build.opensuse.org/request/show/204044
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=31
2013-10-22 00:01:38 +00:00
2d2133b604 Accepting request 161567 from home:m_meister:branches:openSUSE:Factory
- Added url as source.
  Please see http://en.opensuse.org/SourceUrls

OBS-URL: https://build.opensuse.org/request/show/161567
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=29
2013-03-28 12:02:32 +00:00
Andreas Jaeger
bc4d07c14c Accepting request 142450 from home:rmilasan:branches:Base:System
- Ensure that EnvironmentFile from irqbalance.service points to
  /etc/sysconfig/irqbalance environment config file.

OBS-URL: https://build.opensuse.org/request/show/142450
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=27
2012-11-24 21:08:29 +00:00
Thomas Renninger
43b7122d11 - Update to version 1.0.4:
New release of irqbalance, several minor cleanups and a few
  significant bug fixes and feature enhancements:
    - Fixed a divide by zero bug
    - Fixed a memory corruptor when items are not assigned to a specfic numa node
    - Added a banscript option, that allows a user defined script to be run to
      determine if a given irq should be excluded from balancing
    - Improve rescan ability to catch a timing race early in irqbalance setup
    - Added ability to force irqbalance to rescan irqs on reception of a SIGHUP.
    - Force affinity settings even if manually overridden outside of irqbalance.
    - Added a --foreground option to force foreground execution without debug output

OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=25
2012-09-06 11:10:09 +00:00
Thomas Renninger
6cd6ba9172 - Correct bogus /etc/sysconfig/irqbalance comment:
Service is started as daemon by default, on single and multi core
  systems

OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=23
2012-06-25 15:03:01 +00:00
Thomas Renninger
48cba8db2d - Update to version 1.0.3 and make spec file to spec-cleaner clean.
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=21
2012-05-09 15:29:34 +00:00
Stephan Kulow
856ad44be3 - make it as exclusive as numactl
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=17
2011-12-01 17:11:30 +00:00
Andreas Jaeger
ad5e236160 Accepting request 94398 from home:elvigia:branches:Base:System
- Use systemd macros in pre/post scripts

OBS-URL: https://build.opensuse.org/request/show/94398
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=16
2011-11-30 08:32:10 +00:00
Thomas Renninger
101ecbd666 - Update to version 1.0
- Remove files that are upstream: manpage, systemd config file
   - Introduction of highest topology level: Numa node
   - ...

OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=14
2011-10-17 14:03:00 +00:00
Cristian Rodríguez
ff377354e9 Accepting request 87938 from home:coolo:removelibtool
add libtool as buildrequire to avoid a hidden require from projconfig

OBS-URL: https://build.opensuse.org/request/show/87938
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=12
2011-10-15 18:44:40 +00:00
OBS User buildservice-autocommit
facb61dfc9 Updating link to change in openSUSE:Factory/irqbalance revision 21.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=8ac751222624214a5b1ed9a83d9a2f4e
2011-08-18 13:34:57 +00:00
Cristian Rodríguez
6ee72f3138 Accepting request 79033 from home:saschpe:branches:Base:System
- Run spec-cleaner on spec file
- Don't start irqbalance by default, testing confirmed that it does
  not make any difference on machines with less than 32 cores 
  nowadays (GKH's comment)

OBS-URL: https://build.opensuse.org/request/show/79033
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=10
2011-08-16 17:08:20 +00:00
OBS User buildservice-autocommit
b75721322e Updating link to change in openSUSE:Factory/irqbalance revision 19.0
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=defd07194add9b5f50ae5ec63b5804ae
2011-07-07 13:08:03 +00:00
Cristian Rodríguez
33fb86b72d Accepting request 75233 from home:a_jaeger:branches:openSUSE:Factory
Add systemd service file

OBS-URL: https://build.opensuse.org/request/show/75233
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=8
2011-07-06 19:09:23 +00:00
Cristian Rodríguez
3d6945d9c7 Accepting request 52351 from home:elvigia:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/52351
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=6
2010-11-09 19:13:11 +00:00