Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.27rc slow down after half a day #7171

Closed
xanatos opened this issue Jun 12, 2024 · 4 comments · Fixed by #7418
Closed

1.27rc slow down after half a day #7171

xanatos opened this issue Jun 12, 2024 · 4 comments · Fixed by #7418

Comments

@xanatos
Copy link

xanatos commented Jun 12, 2024

Purely anecdotal. I've been trying the 1.27rc on an old machine I have together with the new Lighthouse 5.2.0 . I've rebuilt both dbs from scratch using the 1.26 . Then I switched to the 1.27rc. There are no running validators or other programs (but I use the machine for websurfing).

Note that the machine is "old" (Intel i5-8500, 32gb ram, Crucial P3 2TB m.2), AND I'm using Windows 11 23H2.

The 1.27rc is FAST. The MGas/s are very high (compared to my main validator). But tonight at around 3:28 in the morning it slowed down and it remained slow. I had to relaunch it this morning to have it return to its "best" values. In the EventViewer there was nothing "strange".

I've exctracted from the log files the Mgas/s and plotted them. Yellow part is the slow down. Green part is after relaunching.

Screenshot 2024-06-12 095348

I'm adding some screenshots made with the ProcessExplorer (one yesterday evening, one this morning) to compare the use of resources.

Yesterday:

Screenshot 2024-06-11 195441
Screenshot 2024-06-11 195648

This morning:

Screenshot 2024-06-12 082954
Screenshot 2024-06-12 083002

And I'm including a zip file with the logs.

mainnet.logs.zip

As I've said, this could be totally anecdotal. If in the next 24h it will repeat then I'll add a comment.

@xanatos
Copy link
Author

xanatos commented Jun 13, 2024

While not in a so evident way, the moving average of the MGas/s seems to be still going down.

@LukaszRozmej
Copy link
Member

Hi, yes it is a known issue on Windows (not replicating on Linux). We tracked it down to how RocksDb manages memory. It is generally not great and especially bad on windows. We are trying to build a custom RocksDb package with a changed allocator, but are having a bit of trouble getting everything linked statically not to have dependency issues. Hopefully we can resolve that in 1.28.

Another thread about changing the allocator is here: #6107.

@benaadams
Copy link
Member

Partially resolved by #7327

@benaadams
Copy link
Member

image

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 a pull request may close this issue.

3 participants