From owner-freebsd-stable@FreeBSD.ORG Tue May 29 14:51:44 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6CB0116A421 for ; Tue, 29 May 2007 14:51:44 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 242E513C4BA for ; Tue, 29 May 2007 14:51:43 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 7842F4716B; Tue, 29 May 2007 10:51:41 -0400 (EDT) Date: Tue, 29 May 2007 15:51:41 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Stephen Clark In-Reply-To: <4656D0FB.5070200@seclark.us> Message-ID: <20070529154919.U2510@fledge.watson.org> References: <4656D0FB.5070200@seclark.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: network performance 6.1 stable vs 4.9 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 May 2007 14:51:44 -0000 On Fri, 25 May 2007, Stephen Clark wrote: > We have a network appliance that is currently based on 4.9. We are in the > process of releasing a new version based on 6.1 stable. > > In our testing using nttcp thru the appliance we see insignifant difference > in thruput between the 2 versions in a controlled environment - aproximately > 94mbs on a 100mb lan. > > We have a person that is testing the both system inhouse surfing out over > the internet on our T1 link and he complains that he is consistently seeing > the 6.1 version being much slower than the 4.9 version (on the same > hardware). He has been comparing the 6.1 system to 4.9 system for a couple > of weeks and continues to insist the 6.1 version is much slower. > > Are there any sysctl tunables that may affect performance going over the > internet with a slower link, dropped packets, etc that could cause this? > > Any ideas would be appreciated. Steve, The first thing I'd do is try a double-blind test for your testers -- don't tell them which version is running, and then compare performance complaints with/without. This would let you know if there's actually a difference. The main piece of advice I give people when working with 6.x is to consider turning on net.isr.direct, which enables direct dispatch in the network stack. With 4.x, I get lower forwarding and processing latency than 6.x unless I enable this. However, my recollection is that you don't want to turn it on on releases before 6.1, and I would really be most comfortable turning it on with 6.2 and later. In FreeBSD 7.0, net.isr.direct is the default. You might give that a try and see if it has an effect, but I'd see about getting some sort of objective testing of performance going to confirm that this isn't a subjectivity issue. Robert N M Watson Computer Laboratory University of Cambridge > > Steve > > -- > > "They that give up essential liberty to obtain temporary safety, deserve > neither liberty nor safety." (Ben Franklin) > > "The course of history shows that as a government grows, liberty decreases." > (Thomas Jefferson) > > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >