From owner-freebsd-current@FreeBSD.ORG Wed Nov 14 16:09:01 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47B6716A417; Wed, 14 Nov 2007 16:09:01 +0000 (UTC) (envelope-from rnoland@2hip.net) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 0391C13C46E; Wed, 14 Nov 2007 16:09:00 +0000 (UTC) (envelope-from rnoland@2hip.net) Received: from [63.251.67.21] (rnoland-ibm.acs.internap.com [63.251.67.21]) (authenticated bits=0) by gizmo.2hip.net (8.13.8/8.13.8) with ESMTP id lAEFvMvd044550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Nov 2007 10:57:22 -0500 (EST) (envelope-from rnoland@2hip.net) From: Robert Noland To: Mike Tancsa In-Reply-To: <200711141515.lAEFFA7o096062@lava.sentex.ca> References: <20071011003619.GA84433@obelix.dsto.defence.gov.au> <200710301328.l9UDSWAK081359@lava.sentex.ca> <200710311621.53910.jhb@freebsd.org> <7.1.0.9.0.20071031165823.25898768@sentex.net> <200711141515.lAEFFA7o096062@lava.sentex.ca> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-F2GTLuMNn2V8Hal5Aoqk" Date: Wed, 14 Nov 2007 10:57:17 -0500 Message-Id: <1195055837.2118.8.camel@rnoland-ibm.acs.internap.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on gizmo.2hip.net Cc: freebsd-current@freebsd.org, jfvogel@gmail.com Subject: Re: em0: watchdog timeout ... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2007 16:09:01 -0000 --=-F2GTLuMNn2V8Hal5Aoqk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2007-11-14 at 10:15 -0500, Mike Tancsa wrote: > At 03:58 PM 10/31/2007, Mike Tancsa wrote: > >To: John Baldwin , freebsd-current@freebsd.org > >From: Mike Tancsa > >Subject: Re: em0: watchdog timeout ... > > > >At 04:21 PM 10/31/2007, John Baldwin wrote: > >> > > >> > em1@pci1:0:1: class=3D0x020000 card=3D0x115e8086 chip=3D0x105e8086 > >> > rev=3D0x06 hdr=3D0x00 > >> > vendor =3D 'Intel Corporation' > >> > device =3D 'PRO/1000 PT' > >> > class =3D network > >> > subclass =3D ethernet > >> > cap 01[c8] =3D powerspec 2 supports D0 D3 current D0 > >> > cap 05[d0] =3D MSI supports 1 message, 64 bit > >> > cap 10[e0] =3D PCI-Express 1 endpoint > >> > > >> > its also in FastE mode and not gigE. Not sure if that makes a > >> > difference or not. > >> > >>What if you use MSI? > > > >How do I enable that ? >=20 >=20 >=20 > Just to follow up on this thread for the archives, enabling MSI does=20 > indeed seem to stop, or at least mitigate watchdog timeouts. Its=20 > been almost 2 weeks on this one box and we have had zero watchdog timeout= s. I'm still getting these with MSI... em0@pci0:2:0:0: class=3D0x020000 card=3D0x02f61014 chip=3D0x108c8086 rev=3D= 0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82573E Intel Corporation 82573E Gigabit Ethernet Controller (Copper)' class =3D network subclass =3D ethernet cap 01[c8] =3D powerspec 2 supports D0 D3 current D0 cap 05[d0] =3D MSI supports 1 message, 64 bit enabled with 1 message cap 10[e0] =3D PCI-Express 1 endpoint rnoland-ibm% vmstat -i interrupt total rate irq1: atkbd0 87456 0 irq4: sio0 2 0 irq6: fdc0 10 0 irq14: ata0 1896659 11 irq15: ata1 422846 2 irq16: uhci3 drm0 10788636 63 irq22: pcm0 15730204 92 irq23: uhci0 ehci0 258850 1 cpu0: timer 338437976 1999 irq256: em0 1363782 8 cpu1: timer 338430141 1999 Total 707416562 4180 FreeBSD rnoland-ibm.acs.internap.com 8.0-CURRENT FreeBSD 8.0-CURRENT #112: Tue Nov 6 14:11:24 EST 2007 root@rnoland-ibm.acs.internap.com:/usr/obj/usr/src/sys/IBM i386 em0: watchdog timeout -- resetting em0: link state changed to DOWN em0: link state changed to UP em0: watchdog timeout -- resetting em0: link state changed to DOWN em0: link state changed to UP It seems to occur when a new connection is being created, typically from some fairly heavyweight application. For example starting the acroread plugin in firefox to download a PDF. I haven't had time to try and investigate it thoroughly, so this is all anecdotal. But it is still occurring with MSI. robert. >=20 > # vmstat -i > interrupt total rate > irq1: atkbd0 6 0 > irq4: sio0 59020 0 > irq17: em3 225204 0 > irq19: atapci1 243645 0 > cpu0: timer 1985129675 1997 > irq256: em0 1460563078 1470 > irq257: em1 2360550 2 > irq258: em2 1300707554 1309 > cpu1: timer 1985084642 1997 > Total 6734373374 6777 >=20 > However, it *seems* to increase the amount of missed packets. But,=20 > traffic patterns are a little higher, so I cant be certain. >=20 > em0: Missed Packets =3D 5514 > em0: Receive No Buffers =3D 1950 > em0: RX overruns =3D 9 > em2: Missed Packets =3D 220073 > em2: Receive No Buffers =3D 29034 > em2: RX overruns =3D 1498 >=20 >=20 > ---Mike=20 >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " --=-F2GTLuMNn2V8Hal5Aoqk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHOxrWM4TrQ4qfROMRAjsZAJ0XKq/gE6lKdj0mVMNL2zM6+i+2NQCeOWmW c3vIVhM2wQWvWNvyxqyGc2U= =ze5W -----END PGP SIGNATURE----- --=-F2GTLuMNn2V8Hal5Aoqk--