From owner-freebsd-net@FreeBSD.ORG Mon Jun 20 20:50:47 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09D8316A41F for ; Mon, 20 Jun 2005 20:50:47 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD34343D55 for ; Mon, 20 Jun 2005 20:50:46 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.12.11) with ESMTP id j5KKoiwt035939; Mon, 20 Jun 2005 13:50:44 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id j5KKoiha035938; Mon, 20 Jun 2005 13:50:44 -0700 (PDT) (envelope-from rizzo) Date: Mon, 20 Jun 2005 13:50:44 -0700 From: Luigi Rizzo To: Pieter de Boer Message-ID: <20050620135044.B35720@xorpc.icir.org> References: <42B722EF.2090203@thedarkside.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <42B722EF.2090203@thedarkside.nl>; from pieter@thedarkside.nl on Mon, Jun 20, 2005 at 10:11:27PM +0200 Cc: freebsd-net@freebsd.org Subject: Re: Issues with a Large Fat pipe Network simulation X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2005 20:50:47 -0000 On Mon, Jun 20, 2005 at 10:11:27PM +0200, Pieter de Boer wrote: > Hello there, ... > When testing without any extra delay on 'network' and send/recvspaces of > 65535 bytes, we can sustain around 800mbit/s. The interrupts on > 'network' may be the limiting factor here. However, when we set the > send/recv space to 65535*2, we can only sustain around 200-300mbit/s. It have you checked that these two kern.ipc.maxsockbuf: 262144 kern.ipc.sockbuf_waste_factor: 8 aren't responsible for the trouble ? I won't enter into details because i am not sure but try upping maxsockbuf might help. Or not. in any case it would be nice to try and let us know cheers luigi > seems the speed isn't as 'stable' either (peaks of more than 300mbit/s, > sometimes up to 500mbit/s). We also used read/write sizes of 128KB using > the -l option on iperf, but this didn't seem to have any noticeable > effect. > > When adding extra latency on 'network' and adjusting the > send/recv-spaces to correct for the greater bandwidth*delay product, we > weren't able to sustain rates much higher than 200mbit/s either. > > > Can anyone shed some light on what we're seeing here? > > -- > With regards, > Pieter de Boer > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"