netdev
[Top] [All Lists]

Re: network delay simulation

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: network delay simulation
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Tue, 16 Mar 2004 18:40:01 -0800
Cc: "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20040316151058.3cc2fa28@xxxxxxxxxxxxxxxxxxxxx>
Organization: Candela Technologies
References: <20040316151058.3cc2fa28@xxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
Stephen Hemminger wrote:
Still bumming around for how to easily simulate long latencies.
There is NISTnet but that is fugly old 2.2 code; and Dummynet, and hitbox which are FreeBSD based. The existing traffic shaper might do, but it seems
to be limited to lower speed lines and needs some work (using atomic_set
do own locking for instance).

Probably "the cowboy way" would be to right a new net/scheduler to just
do FIFO delay.

Any ideas/comments? Somebody have some code sitting in a drawer?

I'll give you licenses to my (closed source) LANforge-ICE WAN emulator which 
runs
as a Linux module and has been benchmarked at 1Gbps full-duplex (well, 999Mbps).

It can do up to about 1 second delay at 1Gbps, but with more delay
at this high speed it runs out of memory (seems skb_alloc, or the
way I am calling it, will not use high-memory).  At lower speeds you
can have several seconds of delay.

Please send me email off the list if you are interested.

Thanks,
Ben

--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com


<Prev in Thread] Current Thread [Next in Thread>