speedrr icon indicating copy to clipboard operation
speedrr copied to clipboard

Schedule - 'The download speed deducted in this time period' is not very intuitive

Open btTeddy opened this issue 6 months ago • 4 comments

The way scheduler section works is not very intuitive. If using percentage it works as "reserve 20% of bandwidth", when changing to units it's changing to e.g "limit speed to 20 MiB"

It would be more intuitive if percentage would work the other way around

e.g. Limit speed to: 20% (of max speed) or 20MiB 80% (of max speed) or 80MiB

Currently

    #   # The upload speed deducted in this time period.
    #   # Note: This can be a percentage of the maximum or a fixed value (uses units specified at the top of config).
    #   # Example: 50%, 10, 5, 80%, 20%, 0
    #   upload: 60%

Suggestion

    #   # The upload speed torrent client is limited to in this time period.
    #   # Note: This can be a percentage of the maximum or a fixed value (uses units specified at the top of config).
    #   # Example: 50%, 10, 5, 80%, 20%, 0
    #   upload: 60%

btTeddy avatar Jun 29 '25 12:06 btTeddy

I think when using units it’s also the amount of bandwidth that’s reserved, not the limit that it’s set to. So the same logic as with the percentage. I do agree that this is not immediately clear from the config file’s wording

larsdevolder avatar Jun 29 '25 12:06 larsdevolder

I think when using units it’s also the amount of bandwidth that’s reserved

You're absolutely right, just checked it.

In this case, it's even less intuitive, as speedrr reserves speed while in qbit we see max permitted speed

btTeddy avatar Jun 29 '25 13:06 btTeddy

Agreed, the wording makes it sound like you should put in the amount of speed you want subtracted.

So I have a max download set of 700 MiB/s - if I wanted to restrict that to say 5 MiB/s during the day it sounds like I should put 695 there.

But if I do that qbit reports it is now limited to 205 MiB/s which...doesn't make sense given the Math

Eodyne avatar Jul 14 '25 01:07 Eodyne

It's meant to work like this:

  • If max_upload is 100MiB
  • And there's a schedule between 5am and 10am with a reduction value of 50%
  • During 5am and 10am, upload is 50MiB (assuming no other modules are affecting the upload)
  • If a media stream is also happening using 5MiB of upload, then the upload should be 45MiB.

A 60% deduction would mean the upload speed is reduced by 60% of the max upload, not the current upload. You also need to take in affect the min speeds, as the script will not go lower than these values.

itschasa avatar Jul 17 '25 15:07 itschasa