From owner-freebsd-current@FreeBSD.ORG Fri Apr 9 13:32:52 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 506DC16A4CE for ; Fri, 9 Apr 2004 13:32:52 -0700 (PDT) Received: from s1.vhost.cz (s1.vhost.cz [82.208.27.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34E3743D31 for ; Fri, 9 Apr 2004 13:32:51 -0700 (PDT) (envelope-from konfer@mikulas.com) Received: (qmail 85678 invoked by uid 89); 9 Apr 2004 22:32:49 +0200 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 9 Apr 2004 22:32:49 +0200 Received: from QMQPqq_client ([127.0.0.1]) by localhost (s1.vhost.cz [127.0.0.1]) (amavisd-new, port 10628) with QMQPqq id 47708-132 for ; Fri, 9 Apr 2004 22:32:49 +0200 (CEST) Received: from unknown (HELO mikulas.com) (jiri@mikulas.com@195.122.218.78) by s1.vhost.cz with AES256-SHA encrypted SMTP; 9 Apr 2004 22:32:49 +0200 Message-ID: <4077086F.4080707@mikulas.com> Date: Fri, 09 Apr 2004 22:32:47 +0200 From: Jiri Mikulas User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7a) Gecko/20040314 X-Accept-Language: cs, en-us, en MIME-Version: 1.0 To: current@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at vhost.cz Subject: dummynet pipes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 20:32:52 -0000 Hello I have found one thing. It seems there is some problem in IPFW dummynet. I use the same ruleset on FBSD 5.1-RELEASE, 5.2.1-RELEASE and -CURRENT. For example, if I set pipe to 64Kbit I get only half real speed 32Kbit on 5.2.1 and CURRENT example: ${fwcmd} pipe 110 config bw 64Kbit/s queue 16KBytes ${fwcmd} pipe 111 config bw 64Kbit/s queue 16KBytes ${fwcmd} add 6050 pipe 110 ip from not 10.0.0.0/8 to 10.27.10.9 out ${fwcmd} add 6055 pipe 111 ip from 10.27.10.9 to not 10.0.0.0/8 in on 5.1-RELEASE is everything working properly Please could anybody check this ruleset (or similar) on 5.2.1-RELEASE (CURRENT) and 5.1-RELEASE if it is my mistake or not. thanks for help. Jiri