From owner-freebsd-net@FreeBSD.ORG Wed Feb 22 08:43:49 2006 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 CF4A516A422 for ; Wed, 22 Feb 2006 08:43:49 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received: from dbmail-mx1.orcon.net.nz (loadbalancer1.orcon.net.nz [219.88.242.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2ECCC43D48 for ; Wed, 22 Feb 2006 08:43:48 +0000 (GMT) (envelope-from thompsa@freebsd.org) Received-SPF: none Received: from heff.fud.org.nz (60-234-149-201.bitstream.orcon.net.nz [60.234.149.201]) by dbmail-mx1.orcon.net.nz (8.13.2/8.13.2/Debian-1) with SMTP id k1M8i9ZT001728 for ; Wed, 22 Feb 2006 21:44:10 +1300 Received: by heff.fud.org.nz (Postfix, from userid 1001) id 0CBF01CC39; Wed, 22 Feb 2006 21:43:47 +1300 (NZDT) Date: Wed, 22 Feb 2006 21:43:46 +1300 From: Andrew Thompson To: freebsd-net@freebsd.org Message-ID: <20060222084346.GB29653@heff.fud.org.nz> References: <20060222054441.GA29653@heff.fud.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060222054441.GA29653@heff.fud.org.nz> User-Agent: Mutt/1.5.11 X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on dbmail-mx1.orcon.net.nz X-Virus-Status: Clean Subject: Re: ALTQ slowness 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: Wed, 22 Feb 2006 08:43:49 -0000 On Wed, Feb 22, 2006 at 06:44:41PM +1300, Andrew Thompson wrote: > I am having a problem where it appears that the queue speed is 1/10th of > the desired number. I have this simple setup on a bridge and can not get > any more than about 1700 Bps with a http download (roughly 12Kbits). > > altq on sis0 cbq bandwidth 256Kb queue { std_in } > queue std_in bandwidth 128Kb cbq(default) > > pass out on sis0 proto tcp from any to any queue std_in To add further information, it now appears to be caused by the sis driver. Here is iperf tests with a net4801+sis(4) and pentuim3+xl(4) using the above pf config. xl driver [ 4] 0.0-13.2 sec 200 KBytes 124 Kbits/sec [ 4] 0.0-23.1 sec 352 KBytes 125 Kbits/sec [ 6] 0.0-32.7 sec 496 KBytes 124 Kbits/sec sis driver [ 4] 0.0-49.8 sec 296 KBytes 48.7 Kbits/sec [ 6] 0.0-49.7 sec 296 KBytes 48.8 Kbits/sec [ 4] 0.0-49.6 sec 296 KBytes 48.9 Kbits/sec Andrew