anacrolix / anacrolix/torrent

Performance degradation between v1.56.1 and v1.58.1

オープン
#1,018 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
6.1k
フォーク
690
平均マージ
3日 10時間
マージ済み PR(30日)
12

説明

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!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。