From owner-freebsd-net@FreeBSD.ORG Fri Feb 10 19:06:24 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE64D16A420 for ; Fri, 10 Feb 2006 19:06:23 +0000 (GMT) (envelope-from ianchov@gmail.com) Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AC9B43D5A for ; Fri, 10 Feb 2006 19:06:22 +0000 (GMT) (envelope-from ianchov@gmail.com) Received: by uproxy.gmail.com with SMTP id k40so71164ugc for ; Fri, 10 Feb 2006 11:06:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=WW6Az6KGW/g1kf4gd9it1LMq31r3xRIYWX2L8aW1g1SHF+X+cVGt+LzH/lLm9P+HewKqxT22/3Bq/DzvgLkQxr6bJo9WhhGIIVmz73NI1fGLoYOu4peDiirvAc0I0nSpeNqC5c9gOg/xJ5HX5xtQzZ9xF/WJs6d3/w+PNj/OIVA= Received: by 10.48.235.15 with SMTP id i15mr2985716nfh; Fri, 10 Feb 2006 11:06:21 -0800 (PST) Received: by 10.49.26.12 with HTTP; Fri, 10 Feb 2006 11:06:21 -0800 (PST) Message-ID: <18e02bd30602101106s3781e4a0pd214cbb277181b2a@mail.gmail.com> Date: Fri, 10 Feb 2006 21:06:21 +0200 From: Iantcho Vassilev To: Chuck Swiger In-Reply-To: <43ECD636.3070403@mac.com> MIME-Version: 1.0 References: <7bb8f24157080b6aaacb897a99259df9@madhaus.cns.utoronto.ca> <43ECB1E7.8010308@mac.com> <711b7ec873f31bc5be50ce477313fac3@madhaus.cns.utoronto.ca> <43ECD636.3070403@mac.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Marcos Bedinelli , freebsd-net@freebsd.org Subject: Re: Network performance in a dual CPU system X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 19:06:24 -0000 Can someone make a little bit clear about vmstat -i. What exactly we should look for? On my systems i have also high total column. On 2/10/06, Chuck Swiger wrote: > > Marcos Bedinelli wrote: > [ ... ] > > mull [~]$vmstat -i > > interrupt total rate > > irq1: atkbd0 3466 0 > > irq6: fdc0 10 0 > > irq13: npx0 1 0 > > irq14: ata0 47 0 > > irq21: fxp1 20462527 8 > > irq28: bge0 3511765157 1444 > > irq29: bge1 3633124373 1494 > > irq30: aac0 1842472 0 > > cpu0: timer 566751007 233 > > Total 7733949060 3181 > > Interesting, what do you have HZ ("sysctl kern.clockrate") set to? Does > setting > it to somewhere around 500, 1000, or 2000 help? You're definitely going > to want > to increase HZ if you enable polling mode... > > > mull [~]$netstat -m > > 644/646/1290 mbufs in use (current/cache/total) > > 643/407/1050/17088 mbuf clusters in use (current/cache/total/max) > > 0/5/4528 sfbufs in use (current/peak/max) > > 1447K/975K/2422K bytes allocated to network (current/cache/total) > > 0 requests for sfbufs denied > > 0 requests for sfbufs delayed > > 0 requests for I/O initiated by sendfile > > 0 calls to protocol drain routines > > You might try increasing the # of kern.ipc.nmbclusters, say by a factor o= f > 2. > This may not help much, seems like you're bottlenecking servicing the bge > interrupts. > > I assume you've read "man tuning" and do not have something like WITNESS > enabled > in your kernel? :-) > > -- > -Chuck > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >