NethermindEth / nethermind

A robust execution client for Ethereum node operators.
https://nethermind.io/nethermind-client
GNU General Public License v3.0
1.25k stars 430 forks source link

Dotnetty or FileWatcher eating 100% of one CPU core. #3965

Open LukaszRozmej opened 2 years ago

LukaszRozmej commented 2 years ago

At some point in time dotnetty or file watcher thread can use up one core (Probably dotnetty). Performance profiling session: https://drive.google.com/file/d/194GHNKU1Iyr22CY_qB-6opb1db7L7a76/view?usp=sharing

DotNetty misbehaving (having issues allocating in PoolArena?) image

Potentially FileWatcher is behaving suspicious too. It has to be used by some internal components, we don't use it directly (maybe its used by runtime or some library?). But its probably just waiting on I/O image image

We are thinking of replacing dotnetty as its not maintained: #3525

cnupy commented 2 years ago

Probably related https://github.com/Azure/DotNetty/issues/543