From owner-freebsd-ipfw@FreeBSD.ORG Fri Mar 20 15:57:06 2009 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF763106566C for ; Fri, 20 Mar 2009 15:57:06 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.9.129]) by mx1.freebsd.org (Postfix) with ESMTP id 946C88FC08 for ; Fri, 20 Mar 2009 15:57:06 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 872C673098; Fri, 20 Mar 2009 17:01:54 +0100 (CET) Date: Fri, 20 Mar 2009 17:01:54 +0100 From: Luigi Rizzo To: Sebastian Mellmann Message-ID: <20090320160154.GA92207@onelab2.iet.unipi.it> References: <49C3BBF6.7040104@net.t-labs.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49C3BBF6.7040104@net.t-labs.tu-berlin.de> User-Agent: Mutt/1.4.2.3i Cc: freebsd-ipfw@freebsd.org Subject: Re: ipfw dummynet - delay distributions when using config masks 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: Fri, 20 Mar 2009 15:57:07 -0000 On Fri, Mar 20, 2009 at 04:53:26PM +0100, Sebastian Mellmann wrote: > Hi! > > > I'm using pipe masks for defining multiple queues per traffic flow, e.g. > > $cmd pipe 100 config mask all bw $webclient_upload_bandwidth queue $queue_size delay $client_rtt_delay > $cmd pipe 200 config mask all bw $webclient_download_bandwidth queue $queue_size delay $client_rtt_delay > > $cmd add pipe 100 all from $client1_subnet to $server1_subnet in recv $in_if > $cmd add pipe 200 all from $server1_subnet to $client1_subnet out xmit $in_if > > > As you can see in the example above I'm defining a fixed delay value for > all queues. > Is it possible to define a delay distribution, e.g. min. 20ms, mean 50ms > and max. 80ms for the pipe? we do have something that does the thing you are asking for, and should be committed soon to head (and easily backported to RELENG_7). Please be patient a couple of week, the code is already working and we only need to address some binary compatibility issue. cheers luigi