mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
High Disk Usage #8606
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#8606
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 @GKid94 on GitHub (Apr 30, 2019).
I have an issue where qBittorrent uses a lot of my hard drive when I’m downloading torrents
@Seeker2 commented on GitHub (Apr 30, 2019):
51.2 Mbps is about 6 MB/sec raw. Disk activity is less than double that.
Write amplification alone can explain much of that.
If you're trying to download+upload from 100 seeds+peers at once, which means the HDD is trying to access possibly 100 different places on the drive at roughly the same time..."eventually" you reach a point where the disk platters themselves cannot spin fast enough to keep up! (And probably sounds really noisy trying to!)
@Balls0fSteel commented on GitHub (May 1, 2019):
Yea this is not a bug. HDDs are horrible with random writes/reads, and torrent is a LOT of tiny pieces basically. So if you have several torrents.. or just even one thats downloading pieces here and there..things can slow down.
You can:
@GKid94 commented on GitHub (May 1, 2019):
I only have one active torrent and sometimes it doesn't use a lot of hard drive and sometimes it does
@Balls0fSteel commented on GitHub (May 1, 2019):
@GKid94 Pre-allocation might also help. Takes a bit of time to start then, especially with big torrents, but much less HDD load after.
@Seeker2 commented on GitHub (May 1, 2019):
Pre-allocation should be able to use no zero-fill and take much less time on HDDs than before qBitTorrent v4.1.0.
It may require running qBitTorrent in admin mode to have enough permissions to do that.
Limiting torrents to fewer total connections (like 10-50 instead of 50+, 10 while only seeding) might also help decrease the load on HDDs while downloading.
Also decreasing the number of upload slots globally can help, because the HDD can grab slightly bigger chunks in 1 sequential read. BitTorrent works best if each upload slot can upload at least 10 KB/sec to maybe 100 KB/sec for public torrents ...or 50 KB/sec to 1 MB/sec for private tracker torrents. (competition is typically fiercer there for uploading!)
So if there's 1000 KB/sec total usable upload speed, that means no more than 100 total/global upload slots to split between ALL active torrents to achieve an average speed of 10 KB/sec per upload slot.
Download speeds for torrents should improve slightly if upload slots per torrent is at least 2 but less than max connections per torrent. Spreading upload too thin can mean peers snub your peer instead of uploading back to you!