From owner-freebsd-performance@FreeBSD.ORG Thu Feb 7 09:28:47 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 00E4716A418; Thu, 7 Feb 2008 09:28:47 +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 7D8A513C467; Thu, 7 Feb 2008 09:28:46 +0000 (UTC) (envelope-from stefan.lambrev@moneybookers.com) Received: by blah.sun-fish.com (Postfix, from userid 1002) id 6ABBF1B10F39; Thu, 7 Feb 2008 10:28:44 +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 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 6F8AF1B10EF7; Thu, 7 Feb 2008 10:28:40 +0100 (CET) Message-ID: <47AACF47.9040101@moneybookers.com> Date: Thu, 07 Feb 2008 11:28:39 +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> In-Reply-To: <47AA1395.2090501@FreeBSD.org> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5725/Thu Feb 7 08:42:28 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 09:28:47 -0000 Greetings, Kris Kennaway wrote: > Stefan Lambrev wrote: >> Greetings, >> >> Kris Kennaway wrote: >>> Yes, it is gone with 8.0. Disable the module builds because some of >>> them like this one probably need compile fixes. If you need a >>> subset of modules use MODULES_OVERRIDE=list (in /etc/make.conf) >>> >> Yes, kernel builds. >> I'm still playing with it, but the first results shows that new >> kernel can handle 800k incoming packets (well may be more but I have >> not enough power right now to generate more packets). >> It still answer only to 250K-260K. I guess I'm hitting the limitation >> of syncache/syncookies ? > > Yes, it could be. You may need to tune the net.inet.tcp.syncache > parameters to get better performance. That is good news though. > >> Anyway this netisr2 looks like huge improvement :) > > Actually I forgot to mention: you probably want to set net.isr2.direct=1. net.isr2.direct=1 have very bad impact over performance. When I set it to 1 the server cannot handle more then 230kpps which is worse then vanilla 7.0 :) Do you want to see lock profiling and hwpmc output when enabled? Btw from where I can check if malloc() debugging is enabled, as I want to be sure that no debugging is slowing down the tests? Does `ln -s aj /etc/malloc.conf` disable malloc() dubug? -- Best Wishes, Stefan Lambrev ICQ# 24134177