Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2007 09:57:49 +0000
From:      "Bruce M. Simpson" <bms@FreeBSD.org>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Dummynet and simulating random delay
Message-ID:  <45BB221D.3050508@FreeBSD.org>
In-Reply-To: <20070124073602.B57678@xorpc.icir.org>
References:  <53B52415C756A84E8A169F0E3673A3290E8BA4@IMCSRV6.MITRE.ORG>	<20070124071021.GG874@turion.vk2pj.dyndns.org> <20070124073602.B57678@xorpc.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo wrote:
> On Wed, Jan 24, 2007 at 06:10:21PM +1100, Peter Jeremy wrote:
>   
>> On Tue, 2007-Jan-23 14:22:54 -0500, Andresen, Jason R. wrote:
>>     
>>> I have a project that requires me to simulate a link with varying but
>>> well defined delay.  The link is guarenteed to deliver packets in
>>> order, so I wish to maintain that behavior with Dummynet.
>>>       
>> I don't think dummynet can do this in its current form.  Based on
>>     
>
> actually dummynet never does reordering within a single pipe, even
> if you change the delay on the fly.
>
> But this said, you should explain "varying but well defined delay",
>   
Hitting up Google reveals someone hacked Dummynet to introduce per-flow 
randomness in a uniform distribution:
http://www.cs.unc.edu/~jeffay/dirt/FAQ/dummynet-modifications.html

However, they included entire source files against FreeBSD 4.5; 
forward-porting should hopefully not be too tedious for an interested party.

Regards,
BMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45BB221D.3050508>