From owner-freebsd-questions@FreeBSD.ORG Wed May 25 01:14:43 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80CA616A41C for ; Wed, 25 May 2005 01:14:43 +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 F0C8943D48 for ; Wed, 25 May 2005 01:14:42 +0000 (GMT) (envelope-from slaveszeroes@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so1361348nzo for ; Tue, 24 May 2005 18:14:42 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z1QLDufLd6ky7hzg/ge9DkRAb1ViIBybPGRYOmM2i4P3a21rQNui9bOXefEYqmDAQX5oH0dlJuUOOGJEygiaDGg2KFiIYqrCV24xDqBCTx+3VSojLFeIdO0UlCUhiw40nrvYjlweQm0C8i3/22H+2GLU32sYdzj4dEdVt2i85b0= Received: by 10.36.39.19 with SMTP id m19mr1998149nzm; Tue, 24 May 2005 18:14:42 -0700 (PDT) Received: by 10.36.32.4 with HTTP; Tue, 24 May 2005 18:14:42 -0700 (PDT) Message-ID: Date: Wed, 25 May 2005 08:14:42 +0700 From: RdBSD To: freebsd-questions@freebsd.org, freebsd-pf@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Cc: Subject: Simetric Upload Download Bandwidth pf+altq X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: RdBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2005 01:14:43 -0000 Dear all, 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, Rino