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
|