Hi there,
I've successfully implemented a fairly complex traffic control setup
for a static SDSL line. All is working pretty nicely - multiple uploads
do not disturb parallel interactive ssh sessions any more.
Until somebody tried a large download. ssh got very sluggish just like
it used to be before I implemented traffic control.
My shaping policy roughly works like this:
- priorize DNS traffic
- priorize several TCP control packets (SYN, SYN+ACK etc.)
- priorize small ACK packets
- priorize ssh (which hasn't Maximize-Throughput TOS set)
- priorize small UDP packets
- medium size ACK packets get a slightly higher priority
This works very well in high-upload situations - small ssh packets come
through fast, big uploads get a fair share of bandwidth.
If somebody is just downloading, we've got almost no outgoing traffic,
the ACK packets come through very fast, so the sender will try to push
more through the line which get's saturated at my ISPs side of the line,
builds up a queue - dang! - ssh replies don't come through.
Is there anything I can do about this at my side - like detecting
connections which max out my bandwidth and throttling them somehow?
Maybe I could ask my ISP to employ some kind of traffic shaping on their
side - which is partly difficult since a lot of our traffic is via VPN,
so they cannot see what's inside and would have to rely on packet size
or some similar heuristics.
Any hints?
Thanks,
Tino.
--
"What we nourish flourishes." - "Was wir nähren erblüht."
www.tisc.de