Bittorrent is harder to shape than most things.


I think the issue is lots of connections all going into fast start?

I liked Andy's idea of having a seperate queue for the first few Kbytes of new connections and pegging it with a VERY short queue length. This means that connections in fast start will get a packet drop very early on unless they play very nicely

I guess one could do something like making it the very lowest priority class in a standard HTB setup with near zero guaranteed rate and then it would be self throttling, the first few connections can come in, mop up all the bandwidth, and new connections after that get packet loss very early on (because they only get the leftovers), forcing them to slow down much more quickly.

Once they have transferred some small amount of data they fall back into your normal traffic shaping queues and everything proceeds as normal.

I guess for an even better approach, only do this nasty trick on your "bulk" incoming connections...

If anyone gives this a serious test then please do report back with your findings

Ed W
_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

Reply via email to