anacrolix / anacrolix/torrent

Performance degradation between v1.56.1 and v1.58.1

Ouverte
#1,018 7 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
6.1k
Forks
690
Merge moyen
3 j 10 h
PR mergées (30 j)
12

Description

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!

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.