rdt-client icon indicating copy to clipboard operation
rdt-client copied to clipboard

REQUEST: Limiting speed of downloads

Open ziomek64 opened this issue 8 months ago • 5 comments

It would certainly be nice to have the possibility to limit download speed, i think globally would be sufficient. I myself am using aria2c

ziomek64 avatar Apr 01 '25 18:04 ziomek64

for aria2c, I'm pretty sure you can set a global download speed limit when you start the server with the --max-overall-download-limit=100M flag

doing it globally (on the rdt-cleint side) is actually harder. We only really have control over the speed of each download, so we'd either have to implement some complex thing which coordinates between all the active download clients to share the bandwidth between them, or eagerly limit the speed for each download based on the max allowable (not necessarily current) active download clients, so each download wouldn't use more than say 1/5 of the max global download speed if there were 5 active download clients allowed concurrently (even if only one download client was actually active).

imo this isn't worth implementing into rdt-client if setting that aria2c option works, but I might be underestimating the importance of/demand for this feature

Cucumberrbob avatar Apr 05 '25 11:04 Cucumberrbob

Changing speed mid download won't be possible though

ziomek64 avatar Apr 05 '25 14:04 ziomek64

Yes, changing the limit mid-download would be tricky.

I'm trying slightly to reduce the scope of your request, because if it's hard to implement, it's less likely to be implemented. I can't implement anything at the moment cause I signed away all my IP rights when I got a new job.

For now, I think aria2c's --max-overall-download-limit is probably your best bet. But you can't change the speed without restarting the aria2c rpc server (I think).

Cucumberrbob avatar Apr 07 '25 13:04 Cucumberrbob

@ziomek64 you can use AriaNg, that allow you to see your currents aria downloads and managed them. that way you can temporary set speed limit, do pause.

YvesPa avatar Apr 25 '25 09:04 YvesPa

@ziomek64 you can use AriaNg, that allow you to see your currents aria downloads and managed them. that way you can temporary set speed limit, do pause.

Will see that

ziomek64 avatar Apr 25 '25 22:04 ziomek64