L4GSP1KE / Upload-Assistant

313 stars 110 forks source link

Creating torrent hash extremely slow #349

Open Zenya393 opened 2 months ago

Zenya393 commented 2 months ago

Creating a torrent hash is extremely slow. At this rate, I estimate it will take hours to complete the torrent hash.

'FileSize_String': '1.91 GiB'

Searching qbittorrent for an existing .torrent
No Valid .torrent found
Creating .torrent with a piece size of 16MiB... (No valid --torrenthash was provided to reuse)
Hashing...: 6%

I compared using mktorrent, and it took less than a minute.

vincejv commented 2 months ago

I compared using mktorrent, and it took less than a minute.

Because of file or OS Cache, if you re-read the same file it would be faster as it's cached in RAM, try a different file with the same file size with mktorrent