From owner-freebsd-ipfw@FreeBSD.ORG Tue Feb 21 14:12:03 2006 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35BC016A420 for ; Tue, 21 Feb 2006 14:12:03 +0000 (GMT) (envelope-from donaldbaud@yahoo.com) Received: from web37406.mail.mud.yahoo.com (web37406.mail.mud.yahoo.com [209.191.87.59]) by mx1.FreeBSD.org (Postfix) with SMTP id 7A4FD43D49 for ; Tue, 21 Feb 2006 14:12:02 +0000 (GMT) (envelope-from donaldbaud@yahoo.com) Received: (qmail 44392 invoked by uid 60001); 21 Feb 2006 14:12:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=G7UNdcKVyAkF8wc+2/1dBfWpJg1SiHgKB76A3V+f5aDzfZnuDkZ3P6JLjOhHMPVXPdHR1u0TOgB+rpRF3lzctBHJ3q4fd6X+wlIr8zDI8Cu7OluFlv4ymWaeRRUuwpJz/b9/REwOemBU8UjX6mSDQVg6WnYFN3wLEXiGvK1Jm6k= ; Message-ID: <20060221141201.44390.qmail@web37406.mail.mud.yahoo.com> Received: from [216.239.92.172] by web37406.mail.mud.yahoo.com via HTTP; Tue, 21 Feb 2006 06:12:01 PST Date: Tue, 21 Feb 2006 06:12:01 -0800 (PST) From: Donald Baud To: freebsd-ipfw@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Patch to add burst to dummynet ? X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2006 14:12:03 -0000 Looking back in the mailing archives http://docs.freebsd.org/cgi/getmsg.cgi?fetch=62536+0+archive/2003/freebsd-ipfw/20030907.freebsd-ipfw , I found a message saying that it would be trivial to add burst support in dummynet. In that message, it says to change in ip_dummynet.c : - if (len_scaled > q->numbytes ) + if (len_scaled > q->numbytes + q->burst_size) I did that, even tried len_scaled = 0 But I don't see any difference after recompiling, kldunload/kldload dummynet. I still get the same throughput with wget --progress=dot some_file --------------------------------- Relax. Yahoo! Mail virus scanning helps detect nasty viruses!