Lately though most of my torrent uploads have slowed to a crawl. I did some troubleshooting and discovered that my years-old QOS script is killing my ability to seed. The script is multi-level, but experimenting has shown it's the very top-level qdisc that is causing the problems:
Code: Select all
tc qdisc add dev eth1 root handle 1: tbf rate 675kbit latency 50ms burst 1540
But for some reason lately it's killing my torrent UL speeds. My average UL speed now is somewhere around 5KiB/s, never topping 18KiB/s. I tried a wide range of values for rate, latency and burst with no success. If I clear the QOS and remove all qdiscs completely my UL speed jumps to the pin (~85KiB/s) within seconds and stays there. I've tried setting every valid TOS bit in Deluge with no success (not that it should matter with no other concurrent traffic).
I tried rolling back to deluge version 1.1.3 (oldest one I still had in my apt cache), but same issue. I tried seeding all the same torrents in Transmission and the result was the same, so I'm guessing the problem is not in deluge per se, but in the underlying common machinery (libtorrent?). Nevertheless, I thought I would run it by the capable community here. Anybody have any insight? I need QOS; without it either the voip goes or the torrents go.
Thanks for looking.