On Thu, Jan 1, 2009 at 9:47 PM, Chris Henry <[email protected]> wrote: > On Thu, Jan 1, 2009 at 12:00 PM, Yong Han <[email protected]> wrote: >> >> i have a few spaces on in a data center in singapore and i am having >> some problem of users having latency problem in telcos like singtel. >> >> i am thinking of ways to speed up the link or lower the network latency? > > RTT time (and packet loss rate) can't be decreased easily other than > having servers in multiple data centers (or using Akamai and the like) > and intelligent load balancing.
If your problem is packet loss, then duplicating the packets will help a lot: for IF in `ifconfig -a|grep '^[a-z]'|field 1`; do sudo tc qdisc add dev $IF root netem duplicate 100% reorder 100% gap 1 delay 300ms done It will, of course, cost you twice the bandwidth. You may not need 100%. Depending on your application a smaller percentage works fine. (The above works great if you are on a wireless network with bad reception) /Ole _______________________________________________ Slugnet mailing list [email protected] http://wiki.lugs.org.sg/LugsMailingListFaq http://www.lugs.org.sg/mailman/listinfo/slugnet
