From a8ab51d5e445871fcad14bb459cca1ba63c63f65 Mon Sep 17 00:00:00 2001 From: Tao Liu Date: Fri, 8 Apr 2022 14:27:04 +0800 Subject: [PATCH] Document migrateval Resolves: rhbz2071959 Signed-off-by: Tao Liu --- irqbalance-1.8.0-Document-migrateval.patch | 34 ++++++++++++++++++++++ irqbalance.spec | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 irqbalance-1.8.0-Document-migrateval.patch diff --git a/irqbalance-1.8.0-Document-migrateval.patch b/irqbalance-1.8.0-Document-migrateval.patch new file mode 100644 index 0000000..6d24507 --- /dev/null +++ b/irqbalance-1.8.0-Document-migrateval.patch @@ -0,0 +1,34 @@ +From 917b10268cf5c2a4a6b624b4bb9928e5e3fe2353 Mon Sep 17 00:00:00 2001 +From: Neil Horman +Date: Thu, 7 Apr 2022 08:25:42 -0400 +Subject: [PATCH] Document migrateval + +--- + irqbalance.1 | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/irqbalance.1 b/irqbalance.1 +index 215f75a..361faea 100644 +--- a/irqbalance.1 ++++ b/irqbalance.1 +@@ -134,6 +134,17 @@ script processing should continue + This indicates that an error has occurred in the script, and it should be skipped + (further processing to continue) + ++.TP ++.B --migrateval, -e ++Specify a minimum migration ratio to trigger a rebalancing ++Normally any improvement in load distribution will trigger the migration of an ++irq, as long as preforming the migration will not simply move the load to a new ++cpu. By specifying a migration value, the load balance improvement is subject ++to hysteresis defined by this value, which is inversely propotional to the ++value. For example, a value of 2 in this option tells irqbalance that the ++improvement in load distribution must be at least 50%, a value of 4 indicates ++the load distribution improvement must be at least 25%, etc ++ + .TP + .B -s, --pid= + Have irqbalance write its process id to the specified file. By default no +-- +2.33.1 + diff --git a/irqbalance.spec b/irqbalance.spec index 144ffbb..96b4b15 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -27,6 +27,7 @@ Patch1: irqbalance-1.8.0-drop-NoNewPrivs-from-irqbalance-service.patch Patch2: irqbalance-1.8.0-Disable-the-communication-socket-when-UI-is-disabled.patch Patch3: irqbalance-1.8.0-Drop-CapabilityBoundingSet-from-irqbalance-service.patch Patch4: irqbalance-1.8.0-Confine-irqbalance-to-systems-where-it-is-useful.patch +Patch5: irqbalance-1.8.0-Document-migrateval.patch %description irqbalance is a daemon that evenly distributes IRQ load across @@ -38,6 +39,7 @@ multiple CPUs for enhanced performance. %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build ./autogen.sh