From owner-freebsd-stable@FreeBSD.ORG Wed Aug 5 21:42:06 2009 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 4C855106564A for ; Wed, 5 Aug 2009 21:42:06 +0000 (UTC) (envelope-from alexpalias-bsdstable@yahoo.com) Received: from web56402.mail.re3.yahoo.com (web56402.mail.re3.yahoo.com [216.252.111.81]) by mx1.freebsd.org (Postfix) with SMTP id E3D3C8FC1E for ; Wed, 5 Aug 2009 21:42:05 +0000 (UTC) Received: (qmail 2040 invoked by uid 60001); 5 Aug 2009 21:42:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1249508525; bh=aPBTOQQSOf9O3qgVSKnuutpAo3i18833EdtHCJ0rrmM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=OElF/he1/ZywqtJQQbyiOeZ1q5rfLqFJWGM9KRMUAAqnZCUbEtSSYPct9HyITnInaHGfwm9LIhnZUWpbeq8vCIH/YdEdKu1YXZIRYbUXyLjitibJxISm98eo5KkPdshUFJp4ye1Q1Mc/vO3kZRpVZc9ITCz3nERJ5zsmu5nbNFI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=tW/bUBTJK8gPLEKmUIYsbsQ13NTkJZ6yYGSTokawyOFT1YJBf3pUgqZMciLiItv9XeqhZxIwkI5ZRKopuiufSG2oxW0KX27A43UcTgEHhonCMwVRRAkedNkc1HDqKAXuoDJ6L5rV+prsskQ3V+Gh56VGL0FxOFtnbiNtU0dFGSU=; Message-ID: <121465.1568.qm@web56402.mail.re3.yahoo.com> X-YMail-OSG: rtz2kbQVM1klHKWK_ifWW.Nb7gthpl3XkjPcRaqo63PkYhoKDrXrjkKb3U55gAFO4E1Odi__z7xDIJsP4M50kay46cMhIU4r0zC.Ku6hq92eZKeFnL4vkiyfFGr13LTq1a03S5tjILRK8ppmG9f8JhuR7V9WgWWcCzD9gJA_FQzj3sKaZCJAq_j6LYcevF3KcEDz.MZKTPjBzxgVJCdAzoeMqgM9BarI7gLziwjgL0kbvrCrKDJZ7_gN2OJXl7w6MiAYW9oSILMG7gFI9Nmq3moWpPgEMPZq6T33NpIq5YPQw7dZDc.fx7MiHNO1AtQqdx9eL7Gno.VtKX1gHKhLMLmtRHFHBMC.h7o3Nw-- Received: from [89.136.169.205] by web56402.mail.re3.yahoo.com via HTTP; Wed, 05 Aug 2009 14:42:05 PDT X-Mailer: YahooMailClassic/6.1.2 YahooMailWebService/0.7.338.2 Date: Wed, 5 Aug 2009 14:42:05 -0700 (PDT) From: alexpalias-bsdstable@yahoo.com To: freebsd-stable@freebsd.org, "Marat N.Afanasyev" In-Reply-To: <4A79EFE6.5080001@ksu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: em driver input errors X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: alexpalias-bsdstable@yahoo.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2009 21:42:06 -0000 --- On Wed, 8/5/09, Marat N.Afanasyev wrote: > From: Marat N.Afanasyev > Subject: Re: em driver input errors > To: alexpalias-bsdstable@yahoo.com, "freebsd-stable@freebsd.org >> FreeBSD-STABLE Mailing List" > Date: Wednesday, August 5, 2009, 11:47 PM > alexpalias-bsdstable@yahoo.com > wrote: > > > > kern.ipc.nmbclusters=655360 > > > do you have enough mbufs? look for mbuf clusters value in > netstat -m output. if 'current' is near to 'total' you'll > have drops of input packets. and take a look to 'jumbo > clusters' in netstat -m too. > > -- SY, Marat > As mentioned in my initial mail, I did tune nmbclusters (you might say it's excessively high, 655360, but I still have 2.5 GB free memory on that machine. I forgot to mention, MTU is 1500 on all vlans, so there's no need for jumbo frames, only VLAN_MTU flag on the interfaces. All interfaces have: em0: flags=8843 metric 0 mtu 1500 options=9b ether 00:14:22:xx:xx:xx media: Ethernet autoselect (1000baseTX ) status: active Here's the output from netstat -m for reference: > netstat -m 16390/9350/25740 mbufs in use (current/cache/total) 16388/7938/24326/655360 mbuf clusters in use (current/cache/total/max) 16388/7932 mbuf+clusters out of packet secondary zone in use (current/cache) 0/151/151/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) 36873K/18817K/55691K 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