3c91db6799
Resolves: rhbz2063930 Signed-off-by: Tao Liu <ltao@redhat.com>
27 lines
825 B
Diff
27 lines
825 B
Diff
From 188f9efc567bcaef25bde2813cdee7f952f992f9 Mon Sep 17 00:00:00 2001
|
|
From: Pat Riehecky <riehecky@fnal.gov>
|
|
Date: Mon, 4 Apr 2022 08:38:32 -0500
|
|
Subject: [PATCH] Confine irqbalance to systems where it is useful.
|
|
|
|
Systems with only one CPU cannot benefit from this service, so
|
|
don't start it when it isn't worth the resource consumption.
|
|
---
|
|
misc/irqbalance.service | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/misc/irqbalance.service b/misc/irqbalance.service
|
|
index fcc29c2..0f79c3e 100644
|
|
--- a/misc/irqbalance.service
|
|
+++ b/misc/irqbalance.service
|
|
@@ -3,6 +3,7 @@ Description=irqbalance daemon
|
|
Documentation=man:irqbalance(1)
|
|
Documentation=https://github.com/Irqbalance/irqbalance
|
|
ConditionVirtualization=!container
|
|
+ConditionCPUs=>1
|
|
|
|
[Service]
|
|
EnvironmentFile=-/usr/lib/irqbalance/defaults.env
|
|
--
|
|
2.33.1
|
|
|