Skip to content

Conversation

@anacrolix
Copy link
Contributor

@anacrolix anacrolix commented Dec 11, 2025

This fixes excessive updates in the announcer work queue due to an excessively triggered event in the torrent client here.

This caused extremely high CPU when torrents exceeded around 13k in count and caused a bottleneck on the client it couldn't recover from. It didn't stop anything from operating it just got very slow, without any scheduler issues or thrashing.

There's still more aggressive improvements on main but I tried to keep it minimal.

The behaviour matches the profile in #18162 so it should be an exact fix for that. I think it also finally fixes https://github.com/erigontech/erigon-qa/issues/320.

@AskAlexSharov AskAlexSharov merged commit d4beeed into release/3.3 Dec 11, 2025
12 checks passed
@AskAlexSharov AskAlexSharov deleted the anacrolix/3.3-use-full-torrent-fix branch December 11, 2025 06:31
AskAlexSharov pushed a commit that referenced this pull request Dec 11, 2025
Accidentally lost the original thrashing fix from
#18179 while cleaning up
branches for #18256.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants