From owner-freebsd-stable@FreeBSD.ORG Sun Jun 20 00:34:19 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D0F51065789 for ; Sun, 20 Jun 2010 00:34:19 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 343918FC1F for ; Sun, 20 Jun 2010 00:34:18 +0000 (UTC) Received: by qyk11 with SMTP id 11so866731qyk.13 for ; Sat, 19 Jun 2010 17:34:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=OsVeIMy7uq7/JIC/JYMIwV56yOFgIh7+oObUucl7Lpw=; b=QNx74JoFX/B52u0hzXUaDXDL/5TUbOs5F/vJqK+iyJwiY8Z9fy/YorsKrHmYrm6dpf 7eH2lJiiqejrUOVl5uW+X70UbRmhXVEzeNqpPH8TDSE28biE43r1mJL32mqmt/ZF53sb JbydlBsj9f+SFF2zzYx93tSltCPqA4eXs/tJw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Dt090dY339e6N+61rxQ6uq1NTs7LwdJQmg0F1oOt4oP9dqTXrXkUBe9hairrwiQGI+ lwgufwcd3iluYOfpsYV6kNaLHTJGpHG9M2WaUlUBzjofNQpaTbAkwBTeeG9JmQxD7rOS D6JnRCuLmK7kUqrxm5JyXDAGLYIlowOSiFhFA= MIME-Version: 1.0 Received: by 10.224.26.144 with SMTP id e16mr2041041qac.190.1276994058215; Sat, 19 Jun 2010 17:34:18 -0700 (PDT) Received: by 10.229.246.65 with HTTP; Sat, 19 Jun 2010 17:34:18 -0700 (PDT) In-Reply-To: <20100619192344.GA84784@icarus.home.lan> References: <20100619192344.GA84784@icarus.home.lan> Date: Sat, 19 Jun 2010 17:34:18 -0700 Message-ID: From: Jack Vogel To: Jeremy Chadwick Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org Subject: Re: RELENG_8 em(4) -- input errors ("Missed Packets") X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jun 2010 00:34:19 -0000 I do not believe this is a problem, a bit hard to parse the numbers on that netstat, but missed packets will happen when an interface gets lots of traffic. Keep an eye on things though. Thanks, Jack On Sat, Jun 19, 2010 at 12:23 PM, Jeremy Chadwick wrote: > Something I came across today on a RELENG_8 (8.1-PRERELEASE, amd64, > built Jun 8th) system we have: > > $ netstat -i -n -d -I em1 > Name Mtu Network Address Ipkts Ierrs Idrop Opkts > Oerrs Coll Drop > em1 1500 xx:xx:xx:xx:xx:xx 16117371 17 0 11011087 > 0 0 0 > em1 1500 xxxxxxxxx/xx xxxxxxxxxxx 16108452 - - 11024972 > - - - > > The input errors are what concerned me. I poked dev.em.1.stats and got > the following: > > em1: Excessive collisions = 0 > em1: Sequence errors = 0 > em1: Defer count = 0 > em1: Missed Packets = 17 > em1: Receive No Buffers = 0 > em1: Receive Length Errors = 0 > em1: Receive errors = 0 > em1: Crc errors = 0 > em1: Alignment errors = 0 > em1: Collision/Carrier extension errors = 0 > em1: watchdog timeouts = 0 > em1: XON Rcvd = 0 > em1: XON Xmtd = 0 > em1: XOFF Rcvd = 0 > em1: XOFF Xmtd = 0 > em1: Good Packets Rcvd = 16117349 > em1: Good Packets Xmtd = 11046837 > em1: TSO Contexts Xmtd = 17609 > em1: TSO Contexts Failed = 0 > > What exactly does "Missed Packets" mean here? How is a packet "missed"? > Said port on our switch doesn't any sign of problems: > > hp2510g# show interfaces 2 > > Status and Counters - Port Counters for port 2 > > Name : port2 > Link Status : Up > Totals (Since boot or last clear) : > Bytes Rx : 3,548,949,136 Bytes Tx : 2,613,086,119 > Unicast Rx : 182,088,023 Unicast Tx : 255,981,685 > Bcast/Mcast Rx : 14,674 Bcast/Mcast Tx : 81,852 > Errors (Since boot or last clear) : > FCS Rx : 0 Drops Rx : 0 > Alignment Rx : 0 Collisions Tx : 0 > Runts Rx : 0 Late Colln Tx : 0 > Giants Rx : 0 Excessive Colln : 0 > Total Rx Errors : 0 Deferred Tx : 0 > Rates (5 minute weighted average) : > Total Rx (bps) : 1457984 Total Tx (bps) : 1494568 > Unicast Rx (Pkts/sec) : 0 Unicast Tx (Pkts/sec) : 0 > B/Mcast Rx (Pkts/sec) : 0 B/Mcast Tx (Pkts/sec) : 0 > Utilization Rx : 00.04 % Utilization Tx : 00.04 % > > Relevant userland and kernel stuff: > > $ ifconfig em1 > em1: flags=8843 metric 0 mtu 1500 > > options=219b > ether xx:xx:xx:xx:xx:xx > inet xxxxxxxxxxx netmask xxxxxxxxxx broadcast xxxxxxxxxxx > media: Ethernet autoselect (1000baseT ) > status: active > > $ netstat -m > 2162/1678/3840 mbufs in use (current/cache/total) > 2048/1030/3078/25600 mbuf clusters in use (current/cache/total/max) > 2048/896 mbuf+clusters out of packet secondary zone in use (current/cache) > 0/104/104/12800 4k (page size) jumbo clusters in use > (current/cache/total/max) > 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max) > 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) > 4636K/2895K/7532K bytes allocated to network (current/cache/total) > 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) > 0/0/0 requests for jumbo clusters denied (4k/9k/16k) > 0/0/0 sfbufs in use (current/peak/max) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 0 requests for I/O initiated by sendfile > 0 calls to protocol drain routines > > $ vmstat -i > interrupt total rate > irq4: uart0 868 0 > irq6: fdc0 1 0 > irq23: uhci3 ehci1+ 332 0 > cpu0: timer 1818467717 2000 > irq256: em0 375532 0 > irq257: em1 5004095 5 > irq258: ahci0 5879898 6 > cpu1: timer 1818466783 2000 > cpu3: timer 1818466831 2000 > cpu2: timer 1818466828 2000 > Total 7285128885 8012 > > $ dmesg | grep em1 > em1: port 0x3000-0x301f mem > 0xd0300000-0xd031ffff irq 17 at device 0.0 on pci15 > em1: Using MSI interrupt > em1: [FILTER] > > $ pciconf -lvc > em1@pci0:15:0:0: class=0x020000 card=0x109a15d9 chip=0x109a8086 > rev=0x00 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Intel PRO/1000 PL Network Adaptor (82573L)' > 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) > > -- > | Jeremy Chadwick jdc@parodius.com | > | Parodius Networking http://www.parodius.com/ | > | UNIX Systems Administrator Mountain View, CA, USA | > | Making life hard for others since 1977. PGP: 4BD6C0CB | > >