From owner-freebsd-performance@FreeBSD.ORG Sat Feb 17 08:42:04 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 03DEB16A407 for ; Sat, 17 Feb 2007 08:42:04 +0000 (UTC) (envelope-from garcol@postino.it) Received: from wendell.elitel.it (wendell.elitel.it [212.34.224.164]) by mx1.freebsd.org (Postfix) with SMTP id 694B913C4A5 for ; Sat, 17 Feb 2007 08:42:02 +0000 (UTC) (envelope-from garcol@postino.it) Received: (qmail 55316 invoked by uid 89); 17 Feb 2007 08:41:56 -0000 Received: from unknown (HELO elitel) (212.34.245.29) by wendell.elitel.it with SMTP; 17 Feb 2007 08:41:56 -0000 Message-ID: <001401c7526f$7b848b80$1df522d4@elitel> From: To: Date: Sat, 17 Feb 2007 09:41:53 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3028 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:42:04 -0000 Hi,=20 if you disable sack, what's happend? (sysctl net.inet.tcp.sack.enable=3D0)=20 (Are Memory and cpu OK?) For route problem you can set this to a low value, for example 10=20 sysctl net.inet.ip.rtexpire: 10 See = http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/securing-freebs= d.html Why do you modify this?, reset to original 4.x values. net.inet.ip.rtmaxcache=3D1024 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=3D0 If you use a SMP kernel you can try to set this or try to set anyway: sysctl machdep.hyperthreading_allowed=3D1 sysctl machdep.cpu_idle_hlt=3D0 See kern/83406: [smp] em/bge drivers: severe performance loss under SMP Let's me know Regards=20 Alessandro