You are not logged in.
Well, I don't know exactly what this is called but here is the situation.
I have 4Mbit unlimited adsl connection at home. It's distrubuted between 2 computers through a US Robotics router. When I start downloading something, my brother always complains about how he can't play WoW because of the latency eventhough I limit my download to something like 100Kb/s. So I thought, I may shut his mouth once and for all by splitting the downstream exactly to 2 equal pieces. This way, eventhough he gets latency, I don't have to worry about it since we're using exactly the same amount of internet. Is there a way to do it? Should I buy a complicated router or something?
Thanks in advance
Last edited by cb951303 (2009-01-29 13:57:45)
Offline
tomato or dd-wrt ... but dont know whether your router is supported
Offline
I *think* you might want something like this on a router PC between your computers and the NET connection.
iptables -t mangle -A POSTROUTING -o eth0 -p tcp -s <YOUR IP ADDRESS> -j CLASSIFY --set-class 1:50
iptables -t mangle -A POSTROUTING -o eth0 -p tcp -s <OTHER IP> -j CLASSIFY --set-class 1:50
/sbin/tc qdisc del dev eth0 root
/sbin/tc qdisc add dev eth0 root handle 1: htb default 20
/sbin/tc class add dev eth0 parent 1: classid 1:1 htb rate 4096kbit
/sbin/tc class add dev eth0 parent 1:1 classid 1:30 htb rate 2048kbit ceil 4096kbit prio 2
/sbin/tc qdisc add dev eth0 parent 1:50 handle 50: sfq perturb 10
tc is part of the iproute2 package.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
the problem is probably not downstream. it's up.
when downloading, your sending lot's of tcp ACK packets. this is a known problem. Sure you could also do a 50-50 split, but that's a very inefficient solution.
You should do traffic shaping and use priorities. eg ack packets should get lower priority, online gaming high priority.
I don't know if your us robotics thing supports QoS/traffic shaping. have a look at pfsense and m0n0wall.
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
thank you guys, I used QoS and its working great.
I now, know that latency has nothing to do with my bandwith. In fact I remembered playing wow with a 1Mbit connection without latency. That proves everything.
I implemented a high priorty QoS for wow, and latency is better than ever.
Offline
Nice to hear. I'm glad your router supports it, that was the one thing I was afraid of.
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline