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
d442793 added an fdatasync(2) for each metadata update. Each such operation can be quite slow on HDDs (I'm measuring them at 15-30 milliseconds per operation with strace -T). With two such operations per active torrent, and 1000 active torrents, the main thread (including the UI and all upload and download activity) will freeze for approximately a minute during the periodic session_save operation:
d442793 added an fdatasync(2) for each metadata update. Each such operation can be quite slow on HDDs (I'm measuring them at 15-30 milliseconds per operation with
strace -T
). With two such operations per active torrent, and 1000 active torrents, the main thread (including the UI and all upload and download activity) will freeze for approximately a minute during the periodicsession_save
operation:rtorrent/src/main.cc
Line 358 in ee12073
resulting in only 95% availability for the client, since the operation is scheduled every 20 minutes.
I'm wondering if there could be a better way to handle this? Some possible ideas that come to mind:
Thanks for your time.
The text was updated successfully, but these errors were encountered: