From owner-freebsd-net@FreeBSD.ORG Wed Jul 21 12:50:59 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B39E1065670 for ; Wed, 21 Jul 2010 12:50:59 +0000 (UTC) (envelope-from freebsd-net@pp.dyndns.biz) Received: from smtprelay-h22.telenor.se (smtprelay-h22.telenor.se [195.54.99.197]) by mx1.freebsd.org (Postfix) with ESMTP id B63308FC1A for ; Wed, 21 Jul 2010 12:50:58 +0000 (UTC) Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 38D56E9519 for ; Wed, 21 Jul 2010 14:24:14 +0200 (CEST) X-SENDER-IP: [85.226.59.55] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgczAIODRkxV4js3PGdsb2JhbACTM4w7DAEBAQE1Lb9yhTIE X-IronPort-AV: E=Sophos;i="4.55,238,1278280800"; d="scan'208";a="108570729" Received: from c-373be255.107-1-64736c10.cust.bredbandsbolaget.se (HELO gatekeeper.pp.dyndns.biz) ([85.226.59.55]) by ipb1.telenor.se with ESMTP; 21 Jul 2010 14:24:14 +0200 Received: from [192.168.69.67] (phobos [192.168.69.67]) by gatekeeper.pp.dyndns.biz (8.14.4/8.14.4) with ESMTP id o6LCODxd059192 for ; Wed, 21 Jul 2010 14:24:13 +0200 (CEST) (envelope-from freebsd-net@pp.dyndns.biz) Message-ID: <4C46E6ED.7010805@pp.dyndns.biz> Date: Wed, 21 Jul 2010 14:24:13 +0200 From: =?ISO-8859-1?Q?Morgan_Wesstr=F6m?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100624 Lightning/1.0b1 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <4C463D90.6040308@mahan.org> In-Reply-To: <4C463D90.6040308@mahan.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Looking for some education on ALTQ 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, 21 Jul 2010 12:50:59 -0000 On 2010-07-21 02:21, Patrick Mahan wrote: > I am the first to admit I don't understand ALTQ and it's impact on QoS but > that said, I am trying to learn. > > I have the following three systems. All systems are running FreeBSD > 8.0-p2 Release. > I am attempting to learn how AltQ can be used to prioritized and setup > banddwith > pipelines. > > At the end of this message is the topology and all (I hope) the relevent > info for > someone to help me understand what is happening. > > I have setup AltQ on em0 on NPX3 with a queue set to run at 1.9Mbps. > However, in > testing by generating UDP traffic on NPX4 and having it received on NPX3 > I am > seeing (what I believe) to be really low throughput scores for queue > test7788 > (see the pf.conf below). > > pfctl -vv -s queue shows the bandwidth starts at 4.84 Kb/s, not 1.9 Mbps > I was > expecting. > > Am I > > 1. Not driving the datastream high enough to eat 1.9 Mbps (what should I > run as > my iperf -b value? > > 2. Miss configuring AltQ? > > or > > 3. There is a bug in AltQ? > > Thanks for the education - > > Patrick > > > Network topology: > According to the following PR, ALTQ doesn't work with em(4) in 8.0-p2. A patch has been submitted for later versions but since I haven't upgraded myself because of this issue, I'm not sure exactly what version you need. http://www.freebsd.org/cgi/query-pr.cgi?pr=138392 Regards Morgan