Skip to contentSkip to conversation

irqbalance01: Set min_cpus to 4

PATCH In review Wei Gao via ltp 3 participants 3 messages Nov 19

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 irqbalance01: Set min_cpus to 4

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.

---
 testcases/kernel/irq/irqbalance01.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/irq/irqbalance01.c +1 -1
index d142c79ec..7290130fd 100644
@@ -327,5 +327,5 @@ static void run(void)
 static struct tst_test test = {
 	.test_all = run,
 	.setup = setup,
-	.min_cpus = 2,
+	.min_cpus = 4,
 };
Signature · 5 lines
2.55.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#1 lore raw

Hi Wei,

Quoted 1 line · Wei Gao

irqbalance01: Set min_cpus to 4

Verdict - Reviewed

---
Note:

The agent can sometimes produce false positives although often its findings are genuine. If you find issues with the review, please comment this email or ignore the suggestions.

Regards,
LTP AI Reviewer

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp