mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Impossible speed in Speed graphs #10206
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#10206
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jagannatharjun on GitHub (Apr 20, 2020).
Please provide the following information
qBittorrent version and Operating System
4.2.3 Windows 10
If on linux, libtorrent-rasterbar and Qt version
(type here)
What is the problem
Incorrect speed in Speed graphs, see the attached image

110 120 PiB/s is so not possible
What is the expected behavior
Correct speed
Steps to reproduce
Just wait and download
@thalieht commented on GitHub (Apr 20, 2020):
Duplicate of #7920
@jagannatharjun commented on GitHub (Apr 20, 2020):
hmm reported speed is very close to averager overflow limit
github.com/qbittorrent/qBittorrent@48c1ad8059/src/gui/properties/speedplotview.cpp (L131)PS: I think this is different from the issue you guys linked
@thalieht commented on GitHub (Apr 20, 2020):
Maybe but definitely dupe of #9946
@jagannatharjun commented on GitHub (Apr 22, 2020):
I let qbittorrent(build on master) run with the following patch for two days.
now It chooses to do it on a totally different speed value.🤦♂️ and I didn't get any log messages either.

@Chocobo1 @glassez any idea where I can look further?
EDIT: I see I choose the incorrect type for
invalidSpeed, but still this time a different invalid speed value is reported,@jagannatharjun commented on GitHub (May 2, 2020):
Today I stared the code for an hour or two, couldn't get anything 😥, and It's happening to me, again and again, Image of today

@glassez @Chocobo1 Please help🙇♂️! anywhere I can look for?
@jagannatharjun commented on GitHub (May 2, 2020):
maximum speed is different for 12 hours even though the peeks for 24 hours should contain 12 hours data and 120 is definitely greater than 60

@glassez commented on GitHub (May 2, 2020):
It seems that to catch it, you will need to analyze all the participating values.
In fact, you do not need to catch some extreme value, it is enough to catch some unreal (just, for example, exceeding the speed of your connection). E.g. you store all appropriate variables in some arrays and if they produces "errored" point you should store and analize the collected data (otherwise drop it and start collecting the new one for the next point).
@jagannatharjun commented on GitHub (May 3, 2020):
unknowingly I had my release build set with libtorrent-l.2.2 and was running for 24 hours with the debugger attached, didn't get the weird spike.
@gothicserpent commented on GitHub (Jul 12, 2020):
This happens to me too -- fairly infrequently but it is an occurence.
I'm using qBittorrent 4.2.5 on Win10 Pro 10.0.19041
Here are the current log files from my machine's %localappdata%/qbittorrent/logs/qbittorrent.log.bak, %appdata%/qBittorrent/qBittorrent.ini and %appdata%/qBittorrent/qBittorrent-data.ini with sensitive data hidden: https://pastebin.com/xJv3jXPk
Overall censored qBittorrent UI with spikes on bottom graph
24 hour plot ( i am using a dark mode theme hence the graph looks dark )
30 minute plot (shows normal graph - the issue can occur in 30 minute spans too, just didn't catch it in time)
The bug is strictly visual. It does not affect download or upload transfers for me at all, and all files are being processed as normal. It's just the spike in the graph. Since this is an intermittency issue that only affects single data points, I would say a possible solution would be limiting the graph to intentionally hiding data that is an outlier:
If the averages of last several network plots are about 2 MB/s, and there is a data point that is more than 1000% deviation than that in the graph range, it should not be plotted unless it has at least 3-5 or more similar more points, in which case there would be a change in bandwidth that should be plotted. Also, instead of plotting these "outlier" points, they can be interpolated using the average of the points before and after them to preserve visual fidelity of the graph. This way, outliers are not plotted, but general, sustained changes in speed are plotted.
That is a possible solution I would say.
@jagannatharjun commented on GitHub (Jul 13, 2020):
I find this usually happens in situations where there is high I/O usage for example

during this spike, I was doing something weird that required high I/O usage and this is what I get but it doesn't happen all the time, also this only happens with SSDs, I had an old computer with HDD, this never happens on that computer.