Skip to contentSkip to conversation

osstest: install irqbalance

PATCH In review Roger Pau Monne 2 participants 2 messages Apr 12, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 osstest: install irqbalance

Or else all interrupts will get bound to (v)CPU 0.

This doesn't cause issues on small boxes, but boxes with a non-trivial amount of CPUs can struggle without interrupts being balanced across available vCPUs, as the number of vCPUs offered to dom0 matches the number of physical CPUs.

For example sabro boxes (Xeon Silver 4114 x 2 sockets) would sometimes report timeouts which seem to be solved by using irqbalance in dom0.

irqbalance is also available on Arm, so install unconditionally.

---
 ts-host-install | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ts-host-install +1 -1
index 276c6af8..f79a1beb 100755
@@ -139,7 +139,7 @@ END
 
     target_cmd_root($ho, "chmod 2775 /root");
 
-    target_install_packages($ho, qw(ed));
+    target_install_packages($ho, qw(ed irqbalance));
     if ($ho->{Arch} =~ m/^(?:i386|amd64)$/) {
 	# We don't necessarily know the CPU vendor, but the Debian
 	# packaged microcode doesn't mind us installing both.
Signature · 1 line
2.35.1
Acked-by on v1 1/1
#1 lore raw

Roger Pau Monne writes ("[PATCH] osstest: install irqbalance"):

Quoted 6 lines

Or else all interrupts will get bound to (v)CPU 0.

This doesn't cause issues on small boxes, but boxes with a non-trivial amount of CPUs can struggle without interrupts being balanced across available vCPUs, as the number of vCPUs offered to dom0 matches the number of physical CPUs.

Wow. This was missing all this time! I wonder if it was in the default install in some previous Debian release...

Signature · 4 lines
Ian Jackson <[email protected]>   These opinions are my own.  

Pronouns: they/he.  If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.