Chess engine running slowly
- JustinHorton
- Posts: 10700
- Joined: Mon Aug 04, 2008 10:06 am
- Location: Somewhere you're not
Chess engine running slowly
I don't know if anybody can help me with this. Recently I uninstalled and reinstalled the Arena chess user interface on my laptop. I'm not skilled or knowledgeable in this field. Anyway it seemed to be working perfectly well but when I tried to use it today, suddenly the engine was calculating really slowly (i.e. instead of scooting up to 25-ply and beyond really quickly, it started slowing at about 12-ply or 13-play and wouldn't go much above that). I was and am not running anything particular on the computer, which uses Windows 11, and I have no idea why this is happening. I tried reinstalling it again but this doesn't seem to have changed anything. Does anybody have any advice? Changing the selected engine does not seem to have any effect.
"Do you play chess?"
"Yes, but I prefer a game with a better chance of cheating."
"Yes, but I prefer a game with a better chance of cheating."
- John Upham
- Posts: 8598
- Joined: Wed Apr 04, 2007 10:29 am
- Location: Cove, Hampshire, England.
- Contact:
Re: Chess engine running slowly
I'd check the health of the device running the engine.
Does the drive containing the OS, swap files and page files have sufficient headroom to do its thing?
John
Does the drive containing the OS, swap files and page files have sufficient headroom to do its thing?
John
Arbiter, Organiser, Swiss Mangler person, Rating Officer, Teacher, Coach and Photographer
British Chess News : britishchessnews.com
Twitter: @BritishChess
Facebook: facebook.com/groups/britishchess
British Chess News : britishchessnews.com
Twitter: @BritishChess
Facebook: facebook.com/groups/britishchess
- JustinHorton
- Posts: 10700
- Joined: Mon Aug 04, 2008 10:06 am
- Location: Somewhere you're not
Re: Chess engine running slowly
I dunno! It did when I last used it a few days ago, which is why I'm baffled. How would I find out?
"Do you play chess?"
"Yes, but I prefer a game with a better chance of cheating."
"Yes, but I prefer a game with a better chance of cheating."
- John Upham
- Posts: 8598
- Joined: Wed Apr 04, 2007 10:29 am
- Location: Cove, Hampshire, England.
- Contact:
Re: Chess engine running slowly
What is the size of Local Disk which ought to be C: drive?JustinHorton wrote: ↑Wed Nov 25, 2026 5:16 pmI dunno! It did when I last used it a few days ago, which is why I'm baffled. How would I find out?
What space remains on this drive?
Arbiter, Organiser, Swiss Mangler person, Rating Officer, Teacher, Coach and Photographer
British Chess News : britishchessnews.com
Twitter: @BritishChess
Facebook: facebook.com/groups/britishchess
British Chess News : britishchessnews.com
Twitter: @BritishChess
Facebook: facebook.com/groups/britishchess
- JustinHorton
- Posts: 10700
- Joined: Mon Aug 04, 2008 10:06 am
- Location: Somewhere you're not
Re: Chess engine running slowly
It says I have 123 GB free out of 237 GB
"Do you play chess?"
"Yes, but I prefer a game with a better chance of cheating."
"Yes, but I prefer a game with a better chance of cheating."
- John Upham
- Posts: 8598
- Joined: Wed Apr 04, 2007 10:29 am
- Location: Cove, Hampshire, England.
- Contact:
Re: Chess engine running slowly
OK, that is sufficient headroom so not the cause of the problem.
Arbiter, Organiser, Swiss Mangler person, Rating Officer, Teacher, Coach and Photographer
British Chess News : britishchessnews.com
Twitter: @BritishChess
Facebook: facebook.com/groups/britishchess
British Chess News : britishchessnews.com
Twitter: @BritishChess
Facebook: facebook.com/groups/britishchess
-
Reg Clucas
- Posts: 666
- Joined: Mon May 16, 2011 3:45 pm
Re: Chess engine running slowly
Are there any other processes running that are gobbling CPU? It could well be a 'rogue' process that you don't know about. It's a long time since I used Windows, but I'm sure it has a utility to view the running processes, showing % of processing power they are using.
- Christopher Kreuzer
- Posts: 11158
- Joined: Fri Aug 06, 2010 2:34 am
- Location: London
Re: Chess engine running slowly
Task Manager (ctl alt del) on a Windows machine will tell you if there are rogue processes gobbling up CPU.
Weirdly (someone will explain) I find emptying the Recycle Bin and clearing temp files and caches (which should clear automatically but sometimes get stuck) can help with this.
Worst case scenario is that the computer is a zombie. I think you test for this by disconnecting from the internet, but I may be talking rubbish here.
Weirdly (someone will explain) I find emptying the Recycle Bin and clearing temp files and caches (which should clear automatically but sometimes get stuck) can help with this.
Worst case scenario is that the computer is a zombie. I think you test for this by disconnecting from the internet, but I may be talking rubbish here.
-
John Hickman
- Posts: 212
- Joined: Sun Sep 07, 2008 8:35 pm
Re: Chess engine running slowly
I dropped your question into Gemini AI...
"When chess engines suddenly slow down after a fresh reinstall of Arena, it is almost always because the engine's thread and hash settings reset to defaults, or Windows 11 is throttling the CPU.
I would start by checking your Engine Management settings inside Arena, as a fresh install wipes out previous performance configurations and forces powerful engines to run on a single, underpowered thread.
1. Reset Engine Threads and Hash Size (Most Likely)
When you reinstall Arena, it forgets how many CPU cores your engine is allowed to use and how much memory (Hash) it can allocate.
• What happens: By default, UCI engines like Stockfish often revert to 1 Thread and a tiny 16 MB hash size, causing them to hit a wall around depth 12–14.
• How to fix it:
1. In Arena, go to Engines > Manage... in the top menu.
2. Click the Details tab, select your engine, and click Configure (or right-click the engine output window while it's running and select Configure).
3. Find Threads and increase it from 1 to match your laptop's physical CPU cores (usually 4, 6, or 8—leaving 1 or 2 cores free for Windows).
4. Find Hash and increase it from 16 to 512 or 1024 (MB), depending on your laptop's RAM.
5. Click OK to save.
2. Check Windows 11 Power Mode and Plug-in Status
Because this happened across all engines you selected, Windows 11 may have silently throttled your processor speed to save battery or manage heat.
• Plug in your charger: Most Windows 11 laptops severely limit maximum CPU clock speeds when running on battery power.
• Check Power Mode: Open Windows Settings > System > Power & battery, and ensure Power mode is set to Best performance rather than Best power efficiency or Balanced.
3. Check for Background Windows 11 Updates or Throttling
Even when you aren't actively running programs, Windows 11 can consume heavy CPU resources in the background.
• Press Ctrl + Shift + Esc to open Task Manager.
• Click the Processes tab and sort by CPU (click the CPU column header).
• Look at what is at the top while Arena is analysing. If your engine is only using 8% to 15% CPU, it is restricted to one thread (see Step 1). If something like Windows Modules Installer Worker or Antimalware Service Executable is using high CPU, Windows is temporarily bogged down with background maintenance.
4. Clear Leftover Configuration Files
Standard uninstallers often leave behind a hidden configuration folder in Windows. If a setting got corrupted, reinstalling over it won't fix it.
• If none of the above work, uninstall Arena, then check C:\Users\[YourName]\AppData\Roaming\ for any leftover Arena folders and delete them before doing a clean install."
"When chess engines suddenly slow down after a fresh reinstall of Arena, it is almost always because the engine's thread and hash settings reset to defaults, or Windows 11 is throttling the CPU.
I would start by checking your Engine Management settings inside Arena, as a fresh install wipes out previous performance configurations and forces powerful engines to run on a single, underpowered thread.
1. Reset Engine Threads and Hash Size (Most Likely)
When you reinstall Arena, it forgets how many CPU cores your engine is allowed to use and how much memory (Hash) it can allocate.
• What happens: By default, UCI engines like Stockfish often revert to 1 Thread and a tiny 16 MB hash size, causing them to hit a wall around depth 12–14.
• How to fix it:
1. In Arena, go to Engines > Manage... in the top menu.
2. Click the Details tab, select your engine, and click Configure (or right-click the engine output window while it's running and select Configure).
3. Find Threads and increase it from 1 to match your laptop's physical CPU cores (usually 4, 6, or 8—leaving 1 or 2 cores free for Windows).
4. Find Hash and increase it from 16 to 512 or 1024 (MB), depending on your laptop's RAM.
5. Click OK to save.
2. Check Windows 11 Power Mode and Plug-in Status
Because this happened across all engines you selected, Windows 11 may have silently throttled your processor speed to save battery or manage heat.
• Plug in your charger: Most Windows 11 laptops severely limit maximum CPU clock speeds when running on battery power.
• Check Power Mode: Open Windows Settings > System > Power & battery, and ensure Power mode is set to Best performance rather than Best power efficiency or Balanced.
3. Check for Background Windows 11 Updates or Throttling
Even when you aren't actively running programs, Windows 11 can consume heavy CPU resources in the background.
• Press Ctrl + Shift + Esc to open Task Manager.
• Click the Processes tab and sort by CPU (click the CPU column header).
• Look at what is at the top while Arena is analysing. If your engine is only using 8% to 15% CPU, it is restricted to one thread (see Step 1). If something like Windows Modules Installer Worker or Antimalware Service Executable is using high CPU, Windows is temporarily bogged down with background maintenance.
4. Clear Leftover Configuration Files
Standard uninstallers often leave behind a hidden configuration folder in Windows. If a setting got corrupted, reinstalling over it won't fix it.
• If none of the above work, uninstall Arena, then check C:\Users\[YourName]\AppData\Roaming\ for any leftover Arena folders and delete them before doing a clean install."
- Christopher Kreuzer
- Posts: 11158
- Joined: Fri Aug 06, 2010 2:34 am
- Location: London
Re: Chess engine running slowly
Hmph. AI - the bright kid showing off. It does have some uses.
- JustinHorton
- Posts: 10700
- Joined: Mon Aug 04, 2008 10:06 am
- Location: Somewhere you're not
Re: Chess engine running slowly
I dunno - I feel it ought to be possible to run some other program to see if it, too, is going slowly, but I am not sure what.Reg Clucas wrote: ↑Wed Nov 25, 2026 8:30 pmAre there any other processes running that are gobbling CPU?
Thanks for this. I recognise quite a lot of it from when I did an AI search yesterday, particularly the things about Threads and Hash. I had to hunt around and do further Ai searches because these were in different places or disguised under other names, but I got there, made the changes and it didn't seem to affect anything. I think I changed everything back afterwards - it can be hard to be sure.John Hickman wrote: ↑Wed Nov 25, 2026 9:17 pmI dropped your question into Gemini AI...
a lot of stuff
"Do you play chess?"
"Yes, but I prefer a game with a better chance of cheating."
"Yes, but I prefer a game with a better chance of cheating."
- JustinHorton
- Posts: 10700
- Joined: Mon Aug 04, 2008 10:06 am
- Location: Somewhere you're not
Re: Chess engine running slowly
I feel that (unless somebody tells me otherwise I ought to have a look at what people are telling me about Task Manager and see if that brings me closer to understanding what is happening. I will try and do that this afternoon while game three is on!
None of this is super-urgent but I really would like to have a functional chess engine on my computer.
One thing - is it plausibly anything to do with Focus Guard or Privacy Badger, which I installed recently? AI says no, but it's the only change I've made in ages.
None of this is super-urgent but I really would like to have a functional chess engine on my computer.
One thing - is it plausibly anything to do with Focus Guard or Privacy Badger, which I installed recently? AI says no, but it's the only change I've made in ages.
"Do you play chess?"
"Yes, but I prefer a game with a better chance of cheating."
"Yes, but I prefer a game with a better chance of cheating."
- Carl Hibbard
- Posts: 6146
- Joined: Fri Dec 08, 2006 8:05 pm
- Location: Evesham
Re: Chess engine running slowly
A free alternative is TMOG at https://tmog.org that might give you some indications.
Cheers
Carl Hibbard
Carl Hibbard
- JustinHorton
- Posts: 10700
- Joined: Mon Aug 04, 2008 10:06 am
- Location: Somewhere you're not
Re: Chess engine running slowly
Thanks. What I get is this:




"Do you play chess?"
"Yes, but I prefer a game with a better chance of cheating."
"Yes, but I prefer a game with a better chance of cheating."
- Carl Hibbard
- Posts: 6146
- Joined: Fri Dec 08, 2006 8:05 pm
- Location: Evesham
Re: Chess engine running slowly
I also recommend uBlock Origin over Privacy Badger.
Cheers
Carl Hibbard
Carl Hibbard