[LTP] [PATCH v1] irqbalance01: Set min_cpus to 4

Wei Gao wegao@suse.com
Thu Nov 19 12:29:29 CET 2026


On 2-CPU VMs, irqbalance01 frequently fails (~60% failure rate over 50
test runs) because irqbalance does not observe IRQ migration on quiet or
initially balanced systems.

Allocating 4 vCPUs achieves a 100% pass rate over 50 test runs. Raise
min_cpus to 4 so the test reports TCONF instead of a false failure on
systems with fewer CPUs.

The failure and pass rates above are based on openSUSE Tumbleweed test
results.

Signed-off-by: Wei Gao <wegao@suse.com>
---
 testcases/kernel/irq/irqbalance01.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/irq/irqbalance01.c b/testcases/kernel/irq/irqbalance01.c
index d142c79ec..7290130fd 100644
--- a/testcases/kernel/irq/irqbalance01.c
+++ b/testcases/kernel/irq/irqbalance01.c
@@ -327,5 +327,5 @@ static void run(void)
 static struct tst_test test = {
 	.test_all = run,
 	.setup = setup,
-	.min_cpus = 2,
+	.min_cpus = 4,
 };
-- 
2.55.0



More information about the ltp mailing list