From owner-freebsd-net@FreeBSD.ORG Mon Dec 20 20:40:12 2010 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02CA7106564A for ; Mon, 20 Dec 2010 20:40:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E5C3D8FC0C for ; Mon, 20 Dec 2010 20:40:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBKKeB8A042208 for ; Mon, 20 Dec 2010 20:40:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBKKeBl2042206; Mon, 20 Dec 2010 20:40:11 GMT (envelope-from gnats) Date: Mon, 20 Dec 2010 20:40:11 GMT Message-Id: <201012202040.oBKKeBl2042206@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Jack Vogel Cc: Subject: Re: misc/153308: em interface use 100% cpu X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jack Vogel List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 20:40:12 -0000 The following reply was made to PR kern/153308; it has been noted by GNATS. From: Jack Vogel To: Yusuf Ozbilgin Cc: freebsd-gnats-submit@freebsd.org Subject: Re: misc/153308: em interface use 100% cpu Date: Mon, 20 Dec 2010 12:09:43 -0800 --20cf305644b1d0fc980497dd19d4 Content-Type: text/plain; charset=ISO-8859-1 So, use current code, this is ancient, its actually a 82575 which is now supported by the igb driver rather than em. Try the prerelease code for 8.2 or 7.4. Should also point out that the bug is mistitled, natd uses 100%, it does not follow its em, although that might be a likely suspect, it could be an internal natd bug too afterall... Jack On Mon, Dec 20, 2010 at 6:25 AM, Yusuf Ozbilgin wrote: > > >Number: 153308 > >Category: misc > >Synopsis: em interface use 100% cpu > >Confidential: no > >Severity: serious > >Priority: high > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Mon Dec 20 14:30:11 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: Yusuf Ozbilgin > >Release: Freebsd 7.3 > >Organization: > Gunes Bilg. A.S > >Environment: > FreeBSD firewall.test.local 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #0: Wed > Sep 22 17:41:32 EEST 2010 root@firewall.test.local:/usr/obj/usr/src/sys/GATEWAY-FW > i386 > >Description: > After installing freebsd as a gateway, natd use 100% cpu without any > network load, I am using em interfaces. I updated kernel and recompiled but > nothing changed. > > > > em0@pci0:1:0:0: class=0x020000 card=0x00008086 chip=0x10d38086 rev=0x00 > hdr=0x00 > vendor = 'Intel Corporation' > class = network > subclass = ethernet > cap 01[c8] = powerspec 2 supports D0 D3 current D0 > cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message > cap 10[e0] = PCI-Express 1 endpoint max data 128(256) link x1(x1) > cap 11[a0] = MSI-X supports 5 messages in map 0x1c > > top > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 1592 root 1 112 0 3348K 1316K RUN 0 0:38 85.09% natd > 1899 postfix 1 4 0 24600K 21336K kqread 0 0:06 0.00% qmgr > 1762 root 1 44 0 39132K 36772K select 0 0:03 0.00% perl > > > > >How-To-Repeat: > Always > >Fix: > > > >Release-Note: > >Audit-Trail: > >Unformatted: > _______________________________________________ > freebsd-bugs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bugs > To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org" > --20cf305644b1d0fc980497dd19d4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable So, use current code, this is ancient, its actually a 82575 which is now su= pported
by the igb driver rather than em. Try the prerelease code for 8.= 2 or 7.4.

Should also point out that the bug is mistitled, natd uses= 100%, it does not
follow its em, although that might be a likely suspect, it could be an inte= rnal
natd bug too afterall...

Jack


On Mon, Dec 20, 2010 at 6:25 AM, Yusuf Ozbilgin &= lt;yusuf@gunes.net> wrote:=

>Number: =A0 =A0 =A0 =A0 153308
>Category: =A0 =A0 =A0 misc
>Synopsis: =A0 =A0 =A0 em interface use 100% cpu
>Confidential: =A0 no
>Severity: =A0 =A0 =A0 serious
>Priority: =A0 =A0 =A0 high
>Responsible: =A0 =A0freebsd-bugs
>State: =A0 =A0 =A0 =A0 =A0open
>Quarter:
>Keywords:
>Date-Required:
>Class: =A0 =A0 =A0 =A0 =A0sw-bug
>Submitter-Id: =A0 current-users
>Arrival-Date: =A0 Mon Dec 20 14:30:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: =A0 =A0 Yusuf Ozbilgin
>Release: =A0 =A0 =A0 =A0Freebsd 7.3
>Organization:
Gunes Bilg. A.S
>Environment:
FreeBSD firewall.test.local 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #0: Wed S= ep 22 17:41:32 EEST 2010 =A0 =A0 root@firewall.test.local:/usr/obj/usr/src/= sys/GATEWAY-FW =A0i386
>Description:
After installing freebsd as a gateway, natd use 100% cpu without any networ= k load, I am using em interfaces. I updated kernel and recompiled but nothi= ng changed.



em0@pci0:1:0:0: class=3D0x020000 card=3D0x00008086 chip=3D0x10d38086 rev=3D= 0x00 hdr=3D0x00
=A0 =A0vendor =A0 =A0 =3D 'Intel Corporation'
=A0 =A0class =A0 =A0 =A0=3D network
=A0 =A0subclass =A0 =3D ethernet
=A0 =A0cap 01[c8] =3D powerspec 2 =A0supports D0 D3 =A0current D0
=A0 =A0cap 05[d0] =3D MSI supports 1 message, 64 bit enabled with 1 messag= e
=A0 =A0cap 10[e0] =3D PCI-Express 1 endpoint max data 128(256) link x1(x1)=
=A0 =A0cap 11[a0] =3D MSI-X supports 5 messages in map 0x1c

top

=A0PID USERNAME =A0 =A0THR PRI NICE =A0 SIZE =A0 =A0RES STATE =A0 C =A0 TI= ME =A0 WCPU COMMAND
=A01592 root =A0 =A0 =A0 =A0 =A01 112 =A0 =A00 =A03348K =A01316K RUN =A0 = =A0 0 =A0 0:38 85.09% natd
=A01899 postfix =A0 =A0 =A0 1 =A0 4 =A0 =A00 24600K 21336K kqread =A00 =A0 = 0:06 =A00.00% qmgr
=A01762 root =A0 =A0 =A0 =A0 =A01 =A044 =A0 =A00 39132K 36772K select =A00 = =A0 0:03 =A00.00% perl



>How-To-Repeat:
Always
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org ma= iling list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"

--20cf305644b1d0fc980497dd19d4--