You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libtorrent 2.0 allow program UI to keep updating on heavy file IO operations.
Adding torrents with big (over 20GB) files still freeze operations to torrent: .queue_position_up() or changing priority of files inside torrent. This can be very long wait. With 150MB/s HDD pre-allocating 50GB is over 5 minutes.
libtorrent 2.0 need option to enable_set_file_valid_datapre-allocate disk space (presumably in separate thread), prior to starting torrent, as extra lt::torrent_status::state_t. Have to skip state_t::checking_files.
Option to delete file on download_priority_t set 0 or priority selector (pause) before pre-allocate happen (without checking_files).
The text was updated successfully, but these errors were encountered:
libtorrent does support SetFileValidData, but it requires running as Administrator. So, in practice it's not necessarily practical.
File allocation happens in the disk thread, unless you're using posix_disk_io, which is not threaded. If you're using the mmap_disk_io and you still experience this, it's possible the page-cache/memory pressure is causing the issues you experience.
You can set file priorities in the add_torrent_paramsas you add the torrent. If you do that, and set a file's priority to 0, it won't be allocated.
libtorrent 2.0, Win10 x64, local HDD.
libtorrent 2.0 allow program UI to keep updating on heavy file IO operations.
Adding torrents with big (over 20GB) files still freeze operations to torrent: .queue_position_up() or changing priority of files inside torrent. This can be very long wait. With 150MB/s HDD pre-allocating 50GB is over 5 minutes.
libtorrent 2.0 need option to
enable_set_file_valid_data
pre-allocate disk space
(presumably in separate thread), prior to starting torrent, as extralt::torrent_status::state_t
. Have to skipstate_t::checking_files
.Option to delete file on download_priority_t set 0 or priority selector (pause) before pre-allocate happen (without checking_files).
The text was updated successfully, but these errors were encountered: