qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
26.35k stars 3.85k forks source link

qBittorrent (upload) speed limiting not very stable (bursty) #20667

Open 2peer opened 4 months ago

2peer commented 4 months ago

qBittorrent & operating system versions

qBittorrent: 4.6.3 x64 Operating system: Linux x64 Libtorrent: 2.0.9.0

What is the problem?

Looking at the network interface monitor I noticed that the qBittorents (upload) speed limiting seems to be much less stable than in other tools I use (it's very bursty). Could be compared for example with (in my opinion) very stable speed limiting in BiglyBT.

What kind of algorithm is qBittorent using, for this purpose? Are there any tuneables to adjust this its behaviour? Could it be improved by using a different algorithm?

Steps to reproduce

  1. Limit the upload speed to (for example) 70% of your total available upload bandwith
  2. Use some network interface speed plotting tool to view a bandwith utilization graph (1-2Hz should be sufficient)
  3. Observe the variation
  4. Compare with other apps

Additional context

No response

Log(s) & preferences file(s)

No response

Bluewave2 commented 4 months ago

Did you use "Apply rate limit to transport overhead"?

2peer commented 4 months ago

Did you use "Apply rate limit to transport overhead"?

No it's currently disabled. Should I?

Bluewave2 commented 4 months ago

Did you use "Apply rate limit to transport overhead"?

No it's currently disabled. Should I?

Worth a try, enable it and restart the client, it should stay under the limit much more consistently, at least in my experience

2peer commented 4 months ago

Doesn't seem to help much. Anyone has an idea what kind of algorithm is in use? Is it some variant of Leaky bucket algorithm ? Anyway to tune it?