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

Engine initialization takes longer and longer as caches increase #268

Open
Paladynee opened this issue Sep 17, 2024 · 3 comments
Open

Engine initialization takes longer and longer as caches increase #268

Paladynee opened this issue Sep 17, 2024 · 3 comments
Labels
performance Things are too slow / laggy

Comments

@Paladynee
Copy link

Stockfish was getting stuck at "waiting for readyok" up until i cleared the cache, code cache and GPU cache of nibbler.

@rooklift
Copy link
Owner

Curious.

@rooklift rooklift added the performance Things are too slow / laggy label Sep 17, 2024
@Paladynee
Copy link
Author

Paladynee commented Sep 17, 2024

More details:
I've been using nibbler for nearly 2 months and the first few weeks everything was fine. Then I started to realize stockfish getting slower and slower with time. However on lc0.exe there was no delay and it was always as fast as it could be. Recently startup of stockfish has gotten so slow that choosing stockfish from the engines menu took 2+ minutes, and started to sometimes say "Desync: Restart engine from engine menu".

I first suspected stockfish being the culprit and tried directly running the stockfish.exe and typing uci and isready as fast as I can. No matter how fast I type it, stockfish responded immediately, so stockfish was not the culprit.

Then I tried clearing the Nibbler caches by deleting the said folders and this fixed the issue immediately.

I will try to help with my cache files if I happen to come across this issue in the foreseeable future.

@rooklift
Copy link
Owner

I wouldn't be able to analyse such files anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Things are too slow / laggy
Projects
None yet
Development

No branches or pull requests

2 participants