Posts Tagged ‘torrent’
Scheduled throttling of torrents
I switched to plus.net, partly because I fancied a change, but also because the previous ISP was charging 25 quid for a similar service. PlusNet, like most providers nowadays, have a usage allowance - but usage between midnight and 8am doesn’t count. So that sounds like an ideal time to run those Ubuntu ISO torrents at full throttle.
rtorrent can be configured to run internal commands on a schedule, so it’s pretty east to tweak rtorrent’s throttling automatically:
# initial rates
schedule = upload_throttle_default,0,0,upload_rate=1
schedule = download_throttle_default,0,0,download_rate=1
# free period starts at midnight
schedule = upload_throttle_free_start,00:01:00,24:00:00,upload_rate=25
schedule = download_throttle_free_start,00:01:00,24:00:00,download_rate=200
# free period ends at 8am
schedule = upload_throttle_free_end,07:59:00,24:00:00,upload_rate=1
schedule = download_throttle_free_end,07:59:00,24:00:00,download_rate=1
And since the Kurobox is a stratum 2 NTP server, I reckon it’ll throttle at just about the right time…
Tags: isp, torrent
Filed under tech :
Comments (0) :
Jun 20th, 2008