Re: em driver 6.6.6 regression



On Wed, Nov 07, 2007 at 12:55:24PM +0300, Igor Sysoev wrote:

On Wed, Nov 07, 2007 at 12:18:06PM +0300, Igor Sysoev wrote:

On Fri, Oct 12, 2007 at 04:15:46PM +0400, Igor Sysoev wrote:

Yesterday I have cvsup'ed FreeBSD on ThinkPad T42 to RELENG_6
"2007.10.10.23.59.59" and have noticed lags while playing mp3 and browsing.
I have suspected new em driver, because there was no lags if wifi iwi0
was used instead of em0 for network. So I had downgraded the em driver
separately to 6.2.9 version, have build a kernel loadable module, and have
loaded it instead of the 6.6.6 module, and the lags have disappeared.

The lags appeares only if browser (Firefox, Opera) does several requests:
main page, js, images. There are no lags if browser reload simple page.
Also, I could not reproduce lags by other network traffic: pings, ssh, scp,
downloading files. There are no lags if I compile and so on.

Some additional info:

The shared irq11 is used by pcm0, em0, iwi0, CardBus, USB, and acpi_video0.

em0@pci2:1:0: class=0x020000 card=0x05491014 chip=0x101e8086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82540EP Gigabit Ethernet Controller (Mobile)'

I just cvsup'ed to the new em 6.7.2 version without FAST interrupt and
lags in sound and USB mouse has gone. Thank you.

However, if I define EM_FAST_IRQ, then lags appear again.

I've just rebuild RELENG_6 with EM_FAST_IRQ enabled and
with Scott Long's fix 1.14.2.5 of src/sys/i386/i386/intr_machdep.c
and all run without lags. Thank you.

em0: <Intel(R) PRO/1000 Network Connection Version - 6.7.2> port 0x8000-0x803f mem 0xc0220000-0xc023ffff,0xc0200000-0xc020ffff irq 11 at device 1.0 on pci2
em0: [FAST]


--
Igor Sysoev
http://sysoev.ru/en/
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • em driver 6.6.6 regression
    ... "2007.10.10.23.59.59" and have noticed lags while playing mp3 and browsing. ... I have suspected new em driver, because there was no lags if wifi iwi0 ... separately to 6.2.9 version, have build a kernel loadable module, and have ... There are no lags if browser reload simple page. ...
    (freebsd-stable)
  • Re: em driver 6.6.6 regression
    ... "2007.10.10.23.59.59" and have noticed lags while playing mp3 and browsing. ... I have suspected new em driver, because there was no lags if wifi iwi0 ... separately to 6.2.9 version, have build a kernel loadable module, and have ... There are no lags if browser reload simple page. ...
    (freebsd-stable)
  • Re: em driver 6.6.6 regression
    ... "2007.10.10.23.59.59" and have noticed lags while playing mp3 and browsing. ... I have suspected new em driver, because there was no lags if wifi iwi0 ... separately to 6.2.9 version, have build a kernel loadable module, and have ... There are no lags if browser reload simple page. ...
    (freebsd-stable)
  • Re: em driver 6.6.6 regression
    ... "2007.10.10.23.59.59" and have noticed lags while playing mp3 and browsing. ... I have suspected new em driver, because there was no lags if wifi iwi0 ... There are no lags if browser reload simple page. ... I just cvsup'ed to the new em 6.7.2 version without FAST interrupt and ...
    (freebsd-stable)
  • Re: em driver 6.6.6 regression
    ... "2007.10.10.23.59.59" and have noticed lags while playing mp3 and browsing. ... I have suspected new em driver, because there was no lags if wifi iwi0 ... single HTTP request/tiny 304 response if site is far from me. ...
    (freebsd-stable)