Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[Feature Request][Performance]Attempt to improve Disk I/O via Exposing libtorrent's 1.2.x piece_extent_affinity feature in qBittorrent 4.2.x advanced options. #11436
Please provide the following information
qBittorrent version and Operating System
(4.2.x/Cross Platform/libtorrent 1.2.x)
If on linux, libtorrent-rasterbar and Qt version
What is the problem
(poor disk I/O utilization)
What is the expected behavior
(qBittorrent 4.2.x - Expose in advanced options affinity piece picker introduced in libtorrent 1.2.x that allows to create an affinity to pick adjecent pieces aligned to 4MiB extents. It's an attempt to improve disk I/O, by writing larger contiguous ranges of bytes. It's OFF by DEFAULT.)
Steps to reproduce
Extra info(if any)
@fusk-l I believe you were the one trying to run the benchmarks in the forum so this may be of relevance to you & any other info that you could add to this request would be of benefit, thanks.
"adjecent pieces aligned to 4MiB extents"
I used Windows-based Process Monitor to see how qBT was reading/writing to my storage devices...until recently it was doing a LOT of little 16 KB size chunks, despite arvidn saying it shouldn't be...
Lastly, I usually download to a 2-7 GB sized ramdrive (obviously smaller torrents) to mostly avoid file fragmentation that qBT is so good at causing when download directly to a HDD using NTFS with sparse files enabled.