Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
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=0x040100 card=0x80271102 chip=0x00021102 rev=0x06
hdr=0x00
    vendor   = 'Creative Labs'
    device   = 't4830020080332 Sound Blaster Live! (Also Live! 5.1) -
OEM from DELL - CT4780'
    class    = multimedia
    subclass = 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,

-- 
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

[-- Attachment #2 --]
0	k	*H
	\0	X10	+0	*H
00"۳`~0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
061108092653Z
071108092653Z010USpringer10U*Rink Peter Wycher1#0!URink Peter Wycher Springer10	*H
	mail@rink.nu10	*H
	rink@freebsd.org1 0	*H
	rink@il.fontys.nl10	*H
	
rink@stack.nl0"0
	*H
0
Ƽ
c<5~UMڈmtb0egJ9
ۤ
`PL|HJ詷<pX@;O1o#{HO&'<}1@$QGbV-4 aqr^:;ySâ#մZT+fL|#n:ӢK{t`l ?h":BY-xZ	qDT*I;2i@bQ/ɺ:}7JHmȖmDo]0[0KUD0Bmail@rink.nurink@freebsd.orgrink@il.fontys.nl
rink@stack.nl0U00
	*H
!cx@6jF#49A$lfC^7EWs֠9	|{ߚ:JYxM3
$J7I-\aϖ7v]>Ne3Y 6EUr0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1Q0M0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA"۳`~0	+0	*H
	1	*H
0	*H
	1
070209182021Z0#	*H
	1Vܖ'DRp#)"0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0
	*H
4dކCKV>wb+]z6qabuG
=m7!6[kӥ7(2׸Ԕao\iTyt
v.rNx7.p‹-$V9ٛsyF?}v{¥TmJSʎ}^'}b?)YǀA(;h4[Z?]L6Ū1
d޹-2:թՑiHOD*

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070209182021.GA63685>