It was one of those days where I go all ‘what the hell is going on?’ and sit down to fix a problem I’m facing with my Linux desktop and eventually begin swimming with sharks an hour later.
When I recently used Windows 7 on my machine to play StarCraft II, I noticed that I was getting my updates from them at about 512 kbps. I was confused; for months I’ve ranted to many that among them all BSNL (ISP) users out there I was the only one still having my speeds undoubled (as the ISP had claimed to have done a few months ago). On Linux, I never see my downloads (wget, rtorrent, whatever…) go beyond 256 kbps. This was very strange – that downloading a file on Windows gave me a higher speed than downloading the same file after booting into Linux.
In times of such crisis, I usually pour out concerns onto a channel where Kalpik usually resides. He has this weird knack of directly, and more likely indirectly point me to my solution. And he did it again.
Apparently, a few months ago, in some desperate need of better browsing while running bittorrent downloads/uploads I looked up some ‘better’ QoS serving script at LARTC and had applied it down into the roots of my ArchLinux installation manually. I had completely forgotten about that!
Now this script has a DOWNLINK amount one usually sets in it to get it to work properly. And I’d set mine to what was available to me back then – 256 kbit per second. And since then, I’d always been seeing a steady stream of 30-32 kBps in all my downloads on Linux (it capping the rest out?), wondering when I’d get that double offer my ISP had given to all of its unlimited-plan users.
I’m still hunting for that file and the caller for the same script; but in the meantime (read: grep time) I’ve removed linux-atm and iproute2 packages of ArchLinux which were needed to facilitate the script (These came back as a flash to me) and (thanks to Kalpik again for hinting “What tc?”) I’m seeing the same download rates on Linux as on Windows. No funny limiting is occurring in the middle anymore. Phew.