Date: Fri, 9 Feb 2007 19:20:21 +0100 From: Rink Springer <rink@FreeBSD.org> To: current@FreeBSD.org Cc: multimedia@FreeBSD.org Subject: snd_emu10k1 tremendous interrupt load? Message-ID: <20070209182021.GA63685@rink.nu>
next in thread | raw e-mail | index | archive | help
--lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi people, Over the last few days, my CURRENT box has started to slow down to a crawl. top(1) reports most CPU load is spent on interrupts, and a quick vmstat -i to support this completely: interrupt total rate irq1: atkbd0 1631 0 irq15: ata1 14197 2 irq16: pcm0 1056243398 160109 irq17: nvidia0+ 386190689 58540 irq20: ohci0 2739 0 irq22: atapci2 80913 12 irq26: atapci3 58375 8 irq28: bge0 6770 1 cpu0: timer 13193362 1999 cpu1: timer 13193305 1999 Total 1468985379 222674 My soundcard is: pcm0: <Creative EMU10K1> port 0x2040-0x205f irq 16 at device 4.0 on pci1 pcm0: <TriTech TR28602 AC97 Codec> pciconf -lv says: pcm0@pci1:4:0: class=3D0x040100 card=3D0x80271102 chip=3D0x00021102 rev=3D= 0x06 hdr=3D0x00 vendor =3D 'Creative Labs' device =3D 't4830020080332 Sound Blaster Live! (Also Live! 5.1) - OEM from DELL - CT4780' class =3D multimedia subclass =3D audio Whenever I kldunload the snd_emu10k1 driver, all problems disappear. This is CURRENT from 02-Feb-2007. The box is a Dual Opteron 2x 846 on a Tyan K8SE motherboard. The sound card works fine in Windows XP however. Does anyone have any ideas why this is happening? Quick inspection of /sys/dev/sound/pci/emu10k1.c:emu_intr() seems to hint that the emu_rd(sc, IPR, 4) value takes a long time to clear, anyone have more hints on this annoying behaviour? Regards, --=20 Rink P.W. Springer - http://rink.nu "It is such a quiet thing, to fall. But yet a far more terrible thing, to admit it." - Darth Traya --lrZ03NoBR/3+SXJZ Content-Type: application/x-pkcs7-signature Content-Disposition: attachment; filename="smime.p7s" Content-Transfer-Encoding: base64 MIIJawYJKoZIhvcNAQcCoII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4ILoueni2UQq --lrZ03NoBR/3+SXJZ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070209182021.GA63685>