From owner-freebsd-pf@FreeBSD.ORG Mon May 23 06:12:19 2005 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F7C316A41C for ; Mon, 23 May 2005 06:12:19 +0000 (GMT) (envelope-from slaveszeroes@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10A7F43D49 for ; Mon, 23 May 2005 06:12:18 +0000 (GMT) (envelope-from slaveszeroes@gmail.com) Received: by zproxy.gmail.com with SMTP id 16so324720nzp for ; Sun, 22 May 2005 23:12:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=CwL32193Dv6woEjgX07MDnJWgXlZjEWPzXM8/TXT5csV/e2KDpHa1rqz/UmvxLk1onTObcw2xV82DMb0Wj/XwxaDlH79lB+N9MAuRBzdtHsAvh03r2ojwitajcuqHD18elocwxrweaAA6cIkzNtnXxfqrHWZfCIW0qy2s8ONChY= Received: by 10.36.42.13 with SMTP id p13mr1226118nzp; Sun, 22 May 2005 23:12:18 -0700 (PDT) Received: by 10.36.32.4 with HTTP; Sun, 22 May 2005 23:12:18 -0700 (PDT) Message-ID: Date: Mon, 23 May 2005 13:12:18 +0700 From: RdBSD To: freebsd-pf@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Simetric Upload Download Bandwidth pf+altq X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: RdBSD List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 06:12:19 -0000 Dear all,=20 I want to ask something that strange for me. I Have freebsd 5.4 Stable with pf+altq compiled in kernel. i try to use the altq for bandwidth shaping. the script is : altq on $internet_if bandwidth 64Kb cbq queue { gateway, internet } queue gateway priority 1 bandwidth 64Kb cbq( ecn default ) queue internet priority 2 bandwidth 64Kb cbq( ecn ) { standard, pri_3, pri_6, pri_7 } queue standard priority 5 cbq( ecn borrow ) queue pri_3 bandwidth 64Kb priority 3 cbq( ecn ) { http, smtp, ssh_data, ftp, pop3 } queue smtp cbq( ecn ) queue ssh_data cbq( ecn ) queue ftp cbq( ecn ) queue pop3 cbq( ecn ) queue pri_6 bandwidth 64Kb priority 4 cbq( ecn ) queue http cbq( ecn ) queue pri_7 priority 7 cbq( ecn borrow ) { im, ssh_login, domain } queue im cbq( ecn ) queue ssh_login cbq( ecn ) queue domain cbq( ecn ) pass on $internet_if proto tcp from any port { ftp, 49999><55001 } queue ftp $tcp_options pass on $internet_if proto tcp to any port { ftp, 49999><55001 } queue ftp $tcp_options but when i try to upload my files, my speed meter show 416Kbps. but it's different with download speed. it has a 64Kbps and i think this speed is correct. My question is why it;s different beetwen upload and download in pf+altq Rgds,