NetBSD/i386 6.0 guest suffers interrupt storm since qemu BIOS update

Bug #1091241 reported by Andreas Gustafsson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

Since the pc-bios update of qemu commit d7a51dbbaa70677846453f8c961590913052dd86, booting a NetBSD/i386 guest takes a very long time, apparently due to interrupt load.

For example, booting the NetBSD/i386 6.0 serial console install CD with

  wget ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-6.0/i386/installation/cdrom/boot-com.iso
  qemu-system-i386 -nographic -cdrom boot-com.iso

used to take less than a minute, but now takes more like ten minutes to enter the "sysinst" installer; it's so slow that at first I thought it had hung. If I then exit the installer and type "vmstat -i", it shows a high interrupt rate on ioapic0 pin 9:

# vmstat -i
interrupt total rate
cpu0 timer 336942 102
ioapic0 pin 9 256791232 78052
ioapic0 pin 1 1 0
ioapic0 pin 15 345 0
ioapic0 pin 4 102 0
ioapic0 pin 6 1 0
Total 257128623 78154

According to dmesg, this is the piixpm0 device:

# dmesg
[...]
piixpm0 at pci0 dev 1 function 3: vendor 0x8086 product 0x7113 (rev. 0x03)
timecounter: Timecounter "piixpm0" frequency 3579545 Hz quality 1000
piixpm0: 24-bit timer
piixpm0: interrupting at ioapic0 pin 9
[...]

Versions of qemu lacking commit d7a51dbbaa70677846453f8c961590913052dd86 do not have this problem.

Revision history for this message
Andreas Gustafsson (gson) wrote :

The bug has been fixed; revisoion 5928023cef87847a295035487397b9ec701fdd6b is still broken, but dbd99ae302be8f51b547fb6283c91d0c9859b7d5 works. I haven't determined which of the commits inbetween fixed it, but the BIOS update of 15faf946f7a17a5fab0d05a2312d43249d81af3 seems like a likely candidate.

Changed in qemu:
status: New → Fix Committed
Aurelien Jarno (aurel32)
Changed in qemu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.