Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2010 20:40:11 GMT
From:      Jack Vogel <jfvogel@gmail.com>
To:        freebsd-net@FreeBSD.org
Subject:   Re: misc/153308: em interface use 100% cpu
Message-ID:  <201012202040.oBKKeBl2042206@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/153308; it has been noted by GNATS.

From: Jack Vogel <jfvogel@gmail.com>
To: Yusuf Ozbilgin <yusuf@gunes.net>
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 <yusuf@gunes.net> 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<br>by the igb driver rather than em. Try the prerelease code for 8.=
 2 or 7.4.<br><br>Should also point out that the bug is mistitled, natd uses=
  100%, it does not<br>
 follow its em, although that might be a likely suspect, it could be an inte=
 rnal<br>natd bug too afterall...<br><br>Jack<br><br><br><div class=3D"gmail=
 _quote">On Mon, Dec 20, 2010 at 6:25 AM, Yusuf Ozbilgin <span dir=3D"ltr">&=
 lt;<a href=3D"mailto:yusuf@gunes.net">yusuf@gunes.net</a>&gt;</span> wrote:=
 <br>
 <blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
 r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
 &gt;Number: =A0 =A0 =A0 =A0 153308<br>
 &gt;Category: =A0 =A0 =A0 misc<br>
 &gt;Synopsis: =A0 =A0 =A0 em interface use 100% cpu<br>
 &gt;Confidential: =A0 no<br>
 &gt;Severity: =A0 =A0 =A0 serious<br>
 &gt;Priority: =A0 =A0 =A0 high<br>
 &gt;Responsible: =A0 =A0freebsd-bugs<br>
 &gt;State: =A0 =A0 =A0 =A0 =A0open<br>
 &gt;Quarter:<br>
 &gt;Keywords:<br>
 &gt;Date-Required:<br>
 &gt;Class: =A0 =A0 =A0 =A0 =A0sw-bug<br>
 &gt;Submitter-Id: =A0 current-users<br>
 &gt;Arrival-Date: =A0 Mon Dec 20 14:30:11 UTC 2010<br>
 &gt;Closed-Date:<br>
 &gt;Last-Modified:<br>
 &gt;Originator: =A0 =A0 Yusuf Ozbilgin<br>
 &gt;Release: =A0 =A0 =A0 =A0Freebsd 7.3<br>
 &gt;Organization:<br>
 Gunes Bilg. A.S<br>
 &gt;Environment:<br>
 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<br>
 &gt;Description:<br>
 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.<br>
 <br>
 <br>
 <br>
 em0@pci0:1:0:0: class=3D0x020000 card=3D0x00008086 chip=3D0x10d38086 rev=3D=
 0x00 hdr=3D0x00<br>
  =A0 =A0vendor =A0 =A0 =3D &#39;Intel Corporation&#39;<br>
  =A0 =A0class =A0 =A0 =A0=3D network<br>
  =A0 =A0subclass =A0 =3D ethernet<br>
  =A0 =A0cap 01[c8] =3D powerspec 2 =A0supports D0 D3 =A0current D0<br>
  =A0 =A0cap 05[d0] =3D MSI supports 1 message, 64 bit enabled with 1 messag=
 e<br>
  =A0 =A0cap 10[e0] =3D PCI-Express 1 endpoint max data 128(256) link x1(x1)=
 <br>
  =A0 =A0cap 11[a0] =3D MSI-X supports 5 messages in map 0x1c<br>
 <br>
 top<br>
 <br>
  =A0PID USERNAME =A0 =A0THR PRI NICE =A0 SIZE =A0 =A0RES STATE =A0 C =A0 TI=
 ME =A0 WCPU COMMAND<br>
 =A01592 root =A0 =A0 =A0 =A0 =A01 112 =A0 =A00 =A03348K =A01316K RUN =A0 =
 =A0 0 =A0 0:38 85.09% natd<br>
 =A01899 postfix =A0 =A0 =A0 1 =A0 4 =A0 =A00 24600K 21336K kqread =A00 =A0 =
 0:06 =A00.00% qmgr<br>
 =A01762 root =A0 =A0 =A0 =A0 =A01 =A044 =A0 =A00 39132K 36772K select =A00 =
 =A0 0:03 =A00.00% perl<br>
 <br>
 <br>
 <br>
 &gt;How-To-Repeat:<br>
 Always<br>
 &gt;Fix:<br>
 <br>
 <br>
 &gt;Release-Note:<br>
 &gt;Audit-Trail:<br>
 &gt;Unformatted:<br>
 _______________________________________________<br>
 <a href=3D"mailto:freebsd-bugs@freebsd.org">freebsd-bugs@freebsd.org</a> ma=
 iling list<br>
 <a href=3D"http://lists.freebsd.org/mailman/listinfo/freebsd-bugs" target=
 =3D"_blank">http://lists.freebsd.org/mailman/listinfo/freebsd-bugs</a><br>;
 To unsubscribe, send any mail to &quot;<a href=3D"mailto:freebsd-bugs-unsub=
 scribe@freebsd.org">freebsd-bugs-unsubscribe@freebsd.org</a>&quot;<br>
 </blockquote></div><br>
 
 --20cf305644b1d0fc980497dd19d4--



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