[LARTC] Using Token Bucket Filter to simulate a low bandwidth radio link

Catalin BOIE util@deuroconsult.ro
Thu, 1 Jul 2004 14:08:20 +0300 (EEST)


> I seem to remember a kernel module for slowing down a link for testing? 
> Can't remember the details, but I saw it in my 2.6 kernel somewhere.  Perhaps 
> check the docs on that.

Yes, it's Stephen's sch_delay. Both 2.4 and 2.6 versions available.
Just run the 2.4.26 or 2.6.7 and last version of iproute2.
Then: tc qdisc add dev eth0 root delay limit 100000 latency 3000ms

> For my own custom apps I simulated a satellite link simply by writing a small 
> proxy program for my particular protocol (in perl and again in VB).  It 
> queued packets and released them after a set time period at a set rate.  If 
> you are only testing a simple app then this is another way to go
>
> Ed W
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>

---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/