From owner-freebsd-performance@FreeBSD.ORG Sat Feb 17 08:53:16 2007 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6424016A400 for ; Sat, 17 Feb 2007 08:53:16 +0000 (UTC) (envelope-from justin@sk1llz.net) Received: from sed.awknet.com (sed.awknet.com [66.152.175.11]) by mx1.freebsd.org (Postfix) with ESMTP id 527BD13C4B7 for ; Sat, 17 Feb 2007 08:53:16 +0000 (UTC) (envelope-from justin@sk1llz.net) Received: by sed.awknet.com (Postfix, from userid 58) id 0FE3610BBE55; Sat, 17 Feb 2007 00:53:16 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on sed.awknet.com X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_50 autolearn=disabled version=3.1.3 Received: from [192.168.1.101] (cpe-76-167-105-254.socal.res.rr.com [76.167.105.254]) by sed.awknet.com (Postfix) with ESMTP id C222110BBCF9; Sat, 17 Feb 2007 00:53:13 -0800 (PST) Message-ID: <45D6C276.2070207@sk1llz.net> Date: Sat, 17 Feb 2007 00:53:10 -0800 From: Justin Robertson User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: garcol@postino.it, freebsd-performance@freebsd.org References: <001401c7526f$7b848b80$1df522d4@elitel> In-Reply-To: <001401c7526f$7b848b80$1df522d4@elitel> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: : 6.x, 4.x ipfw/dummynet pf/altq - network performance issues 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: Sat, 17 Feb 2007 08:53:16 -0000 Sack was never enabled, the packets in the flood had sack set. rtmaxcache was default, what made you think I had changed it? I was not running SMP, as I explained. More over suggestions to do ether.ipfw result in terrible performance, etc. A 4.11 bridge and 4.11 router in series move all packets without issue. I'll play with rtexpire and rtmin garcol@postino.it wrote: > Hi, > if you disable sack, what's happend? > (sysctl net.inet.tcp.sack.enable=0) > (Are Memory and cpu OK?) > > > For route problem you can set this to a low value, for example 10 > sysctl net.inet.ip.rtexpire: 10 > See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/securing-freebsd.html > > Why do you modify this?, reset to original 4.x values. > net.inet.ip.rtmaxcache=1024 > > > Try to set this to 0 disable the optimization of the bandwidth delay product for all TCP connections (but it's useful on GE interface). > sysctl net.inet.tcp.inflight.enable=0 > > > > If you use a SMP kernel you can try to set this or try to set anyway: > > sysctl machdep.hyperthreading_allowed=1 > sysctl machdep.cpu_idle_hlt=0 > > See kern/83406: [smp] em/bge drivers: severe performance loss under SMP > > > Let's me know > Regards > Alessandro > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org" > > -- Justin