[Click] Traffic Shaping in Click
Latency Buster
latencybuster at gmail.com
Mon Feb 9 10:59:02 EST 2009
<config>
fd0::PollDevice(eth0,PROMISC true)
-> SetTimestamp
-> Queue(4294967295)
-> BandwidthShaper(5242880B/s) //
-> ctr0::AverageCounter
-> td0::ToDevice(eth1);
fd1::PollDevice(eth1, PROMISC true)
-> SetTimestamp
-> Queue(4294967295)
-> BandwidthShaper(5242880B/s) //x Mb
-> ctr1::AverageCounter
-> td1::ToDevice(eth0);
StaticThreadSched(fd0 0, td0 0, fd1 1, td1 1);
</config>
e1000 Driver used: e1000-7.6.15.5 (supplied by Roman: Thanks!)
Click installation: ./click-uninstall; ./click-install -t 2 --cpu=0
/home/click/configs/shaper.conf
Both eth0 and eth1 are connected to Ixia traffic generator via gigabit
ethernet links. Input Traffic rate: 100Mbps/ frame size: 128 bytes.
RFC 2889 test. Desired output rate: 40Mbps
Test: bi-directional
Result: 80% frames are being dropped.
Help greatly appreciated,
Thanks,
More information about the click
mailing list