http://wolfbeing.blog.51cto.com/435511/190470
In short:
first, start the server on a machine by running: netserv.
second, run "netperf -H $server-ip$ " on the client machine.
tc:
cbq:
http://doc.linuxpk.com/2855.html
http://www.91linux.com/html/article/kernel/20071224/9346.html
http://www.linux.org/docs/ldp/howto/Traffic-Control-HOWTO/software.html
http://www.topwebhosts.org/tools/traffic-control.php
http://www.chinaunix.net/jh/4/350969.html
http://linux.chinaitlab.com/c/32739.html
http://www.webjx.com/server/linux-14448_2.html
http://www.host01.com/article/server/00070002/0621409045465728.htm
http://www.hugbear.net/hugbear/viewinfobearworks42.html
add traffic control:
following command can resitrict the send speed to 10k:
"tc qdisc add dev eth1 root tbf rate 10kbit latency 50ms burst 1000kb"
following cmd used to remove traffic control:
"tc qdisc del dev eth1 root tbf"
No comments:
Post a Comment