From owner-freebsd-performance@FreeBSD.ORG Thu Feb 7 16:42:51 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A33816A41A; Thu, 7 Feb 2008 16:42:51 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: from blah.sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.freebsd.org (Postfix) with ESMTP id 7571813C447; Thu, 7 Feb 2008 16:42:50 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 7E0DE1B10F1F; Thu, 7 Feb 2008 17:42:48 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on blah.cmotd.com X-Spam-Level: X-Spam-Status: No, score=-10.6 required=5.0 tests=ALL_TRUSTED,BAYES_00, NORMAL_HTTP_TO_IP autolearn=ham version=3.2.3 Received: from hater.haters.org (hater.cmotd.com [192.168.3.125]) by blah.sun-fish.com (Postfix) with ESMTP id 5356D1B10EF7; Thu, 7 Feb 2008 17:42:39 +0100 (CET) Message-ID: <47AB34FE.3050309@moneybookers.com> Date: Thu, 07 Feb 2008 18:42:38 +0200 From: Stefan Lambrev User-Agent: Thunderbird 2.0.0.9 (X11/20071120) MIME-Version: 1.0 To: Kris Kennaway References: <4794E6CC.1050107@moneybookers.com> <47A0B023.5020401@moneybookers.com> <47A3074A.3040409@moneybookers.com> <47A72EAB.6070602@moneybookers.com> <20080204182945.GA49276@heff.fud.org.nz> <47A780C0.2060201@moneybookers.com> <47A799A6.3070502@moneybookers.com> <47A84751.8020109@moneybookers.com> <47A8D233.8020506@FreeBSD.org> <47A8DCD6.3060209@moneybookers.com> <47A8E1F1.4040309@FreeBSD.org> <47A98CDC.2090407@moneybookers.com> <47A993D0.1060901@FreeBSD.org> <47A99736.8060809@moneybookers.com> <47A99B16.6030305@FreeBSD.org> <47A9B636.3040509@moneybookers.com> <47AA1395.2090501@FreeBSD.org> <47AACF47.9040101@moneybookers.com> In-Reply-To: <47AACF47.9040101@moneybookers.com> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5728/Thu Feb 7 13:51:05 2008 on blah.cmotd.com X-Virus-Status: Clean Cc: freebsd-performance@freebsd.org Subject: Re: network performance X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2008 16:42:51 -0000 Greetings, Results with if_lagg, p4-kernel, dual core, two gigabit netowrk cards: input (lagg0) output packets errs bytes packets errs bytes colls 512412 0 30744720 218164 0 12653686 0 508765 0 30525900 218720 0 12686514 0 509797 0 30587820 218001 0 12644522 0 529478 0 31768680 217203 0 12598412 0 502720 0 30163200 218808 0 12691154 0 http://89.186.204.158/hwpmc-p4-lagg.txt ================================================ with net.isr2.direct=1 input (lagg0) output packets errs bytes packets errs bytes colls 0 0 0 0 0 0 0 157533 0 9451980 145403 0 8433342 0 208414 0 12504840 193526 0 11224508 0 208731 0 12523860 193808 0 11240864 0 208537 0 12512220 193719 0 11235702 0 209309 0 12558540 194411 0 11275896 0 no pmcstat, but can provide if needed :) ================================================ with routehack.patch: netstat -w1 -I em0 input (em0) output packets errs bytes packets errs bytes colls 473241 110730 28394460 253427 0 14697722 0 446691 88556 26801460 236577 0 13721466 0 440030 86720 26401800 232431 0 13481026 0 433968 108071 26038080 227498 0 13194854 0 pmcstats - http://89.186.204.158/hwpmc-p4-routehack.txt ================================================ with net.isr2.direct=1 + routehack netstat -w1 -I em0 input (em0) output packets errs bytes packets errs bytes colls 250463 274227 15027780 233526 0 13547856 0 250596 271527 15035760 233655 0 13552032 0 251167 286648 15070020 234331 0 13589226 0 250895 286506 15053700 234067 0 13575654 0 250954 284616 15057240 234332 0 13593924 0 no pmcstat ================================================ lagg + routehack netstat -w1 -I lagg0 input (lagg0) output packets errs bytes packets errs bytes colls 503065 0 30183900 258149 0 14973512 0 512911 0 30774660 257825 0 14954546 0 519503 0 31170180 255413 0 14814476 0 pmcstats - http://89.186.204.158/hwpmc-p4-lagg-routehack.txt ================================================ Unfortunately 89.186.204.158 is down right now, but I hope it will be up soon :) P.S. Have in mind that netstat -w1 -I lagg0 do not report errors (they are reported separately for every network card) -- Best Wishes, Stefan Lambrev ICQ# 24134177