From owner-freebsd-performance@FreeBSD.ORG Thu May 26 19:07:45 2005 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 288AD16A41C for ; Thu, 26 May 2005 19:07:45 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBCA343D49 for ; Thu, 26 May 2005 19:07:44 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout08/MantshX 4.0) with ESMTP id j4QJ7iDB013414; Thu, 26 May 2005 12:07:44 -0700 (PDT) Received: from [192.168.1.6] (pool-68-161-53-96.ny325.east.verizon.net [68.161.53.96]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id j4QJ7gn8007218; Thu, 26 May 2005 12:07:43 -0700 (PDT) In-Reply-To: <1117133571.42961b03ca6fd@webmail.telus.net> References: <1117129668.42960bc4b751b@webmail.telus.net> <9827650D-A61E-461A-85FC-A45413B42FEA@mac.com> <1117133571.42961b03ca6fd@webmail.telus.net> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <25049451-CF59-48B6-A3ED-B154A36F35D1@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Thu, 26 May 2005 15:07:43 -0400 To: Peter Kieser X-Mailer: Apple Mail (2.730) Cc: freebsd-performance@freebsd.org Subject: Re: Performance/lockup issues with FreeBSD as a router 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, 26 May 2005 19:07:45 -0000 On May 26, 2005, at 2:52 PM, Peter Kieser wrote: > I've tried without fast forwarding, I've tried without the TCP > sendspace as well > as reducing it to 65K, I let maxusers auto tune itself and I've > even tried uping > the KVA space. OK. You didn't mention whether this helped or made no difference. :-) > I'm at a loss, what would be the ideal sysctl's/loader.conf for a > router thats > doing a fair amount of traffic? Using FreeBSD as a router is a very common task: you generally don't need to tune anything to have it work pretty well, if the hardware underneath is OK. Can you confirm that you're not losing the connections because a NIC freaks out and drops the carrier, or something along those lines? What does top look like, and "netstat -m" and "netstat -i" look like during a lockup...? Anything in the logs or dmesg? -- -Chuck