#519888 trickle upload limit also limits download to 10KiB/s

Package:
trickle
Source:
trickle
Description:
user-space bandwidth shaper
Submitter:
Date:
2014-11-28 16:03:04 UTC
Severity:
normal
#519888#5
Date:
2009-03-15 22:27:16 UTC
From:
To:
*** Please type your report below this line ***

source : https://bugs.launchpad.net/ubuntu/+source/trickle/+bug/193195

If I set trickle to limit my upload while using it to control a
download, the download limit will be stuck a preset
value:
~$ trickle -u 8 wget -c
http://cdimage.debian.org/debian-cd/5.0.0/i386/iso-cd/debian-500-i386-netinst.iso

this should just limit my upload to 8KiB/s, but what it does is to limit
download rate at 10KiB/s no mater what the
upload limit I set.
It could even be:
~$ trickle -u 1024 wget -c
http://cdimage.debian.org/debian-cd/5.0.0/i386/iso-cd/debian-500-i386-netinst.iso
It would still limit my download rate by 10KiB/s

trickle -s #standalone doesnt change this;
trickle -u UPSPEED -d DOWNSPEED does in fact allow bigger speeds;
trickle -u UPSPEED limit the download to 10KiB/s

Should use the full speed for download when we specify only an upload
limit. The 10KiB/s seems to be the limit defined
in the source file trickle.c

#519888#10
Date:
2009-06-29 14:40:49 UTC
From:
To:
this is correct, trickle always limits both up and down traffic to the
configured value or the default (which is 10k). i'll try and add an
"unlimited" mode which would be on by default, but that might take a
while, in the meantime i suggest that you specify a very large value for
the other direction.

cu  robert

#519888#15
Date:
2010-11-07 12:30:08 UTC
From:
To:
If you don't have time to fix the issue, would you at least consider
a release with updated documentation detailing the issue, so every
user doesn't have to get bitten by this and search out bug reports
before realising it's by design.

Thanks,

Bron.

#519888#20
Date:
2014-11-28 15:59:20 UTC
From:
To:
The man page documentation has been updated to mention the default
upload/download limits. The change will be visible in trickle-1.08