From owner-freebsd-net@FreeBSD.ORG Wed Feb 22 05:44:45 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 EABC516A420 for ; Wed, 22 Feb 2006 05:44:45 +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 5FDFE43D45 for ; Wed, 22 Feb 2006 05:44:45 +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 k1M5j4c0027910 for ; Wed, 22 Feb 2006 18:45:05 +1300 Received: by heff.fud.org.nz (Postfix, from userid 1001) id D5E8B1CC39; Wed, 22 Feb 2006 18:44:41 +1300 (NZDT) Date: Wed, 22 Feb 2006 18:44:41 +1300 From: Andrew Thompson To: freebsd-net@freebsd.org Message-ID: <20060222054441.GA29653@heff.fud.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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: 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 05:44:46 -0000 Hi, 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 It looks very much like the bandwidth number in the kernel is screwy. # uname -a FreeBSD 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Feb 21 20:03:03 NZDT 2006 thompsa@yyy.org.nz:/usr/obj/nanobsd.full/usr/home/thompsa/scratch/nanobsd/src/sys/NET4801 i386 cheers, Andrew