Skip to content

Performance degradation between v1.56.1 and v1.58.1 #1018

@viciious

Description

@viciious

Hi!

Sorry for being so vague about the issue, but users of the library in our corporate network have reported performance issues with our bittorrent client after was upgraded from v1.56.1 to v1.58.1. The main symptom is slow download times. One thing I noticed after updating is that whenever a new torrent is initialized on the leecher, the application log is flooded with the following kind of messages:

"message":"543f82beb3062cd1d40e3878710585e6e809d13b: error hashing piece 0: open 1.tar.zst: no such file or directory"
"message":"543f82beb3062cd1d40e3878710585e6e809d13b: error hashing piece 1: open 1.tar.zst: no such file or directory"
"message":"543f82beb3062cd1d40e3878710585e6e809d13b: error hashing piece 2: open 1.tar.zst: no such file or directory"
...

and so on and so forth, whereas the log used to be the following:

"message":"hashed piece 0 (passed=false)"
"message":"hashed piece 2 (passed=false)"
"message":"hashed piece 3 (passed=false)"
...

Any help would be appreciated. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions