Strange behavior
Moderators: hgm, Rebel, chrisw
-
- Posts: 373
- Joined: Wed Mar 22, 2006 10:17 am
- Location: Novi Sad, Serbia
- Full name: Karlo Balla
Strange behavior
Sometimes when I load engine into Arena, engine work at 1/2 or even at 1/4 of expected speed. When look in task manager I can see that engine use more than 90% processor time. I have 1GB ram and I didn't find any memory swapping from HD to ram. This is happening with almost every engine I have. What could be the reason for such behavior(cache pollution, memory fragmentation, hardware bug)?
Best Regards,
Karlo Balla Jr.
Karlo Balla Jr.
-
- Posts: 2851
- Joined: Wed Mar 08, 2006 10:01 pm
- Location: Irvine, CA, USA
Re: Strange behavior
Some processors will slow down if they get too hot, and for all I know for other reasons too. Did your computer come with a utility you can run that can check that it is running at full speed?Karlo Bala wrote:Sometimes when I load engine into Arena, engine work at 1/2 or even at 1/4 of expected speed. When look in task manager I can see that engine use more than 90% processor time. I have 1GB ram and I didn't find any memory swapping from HD to ram. This is happening with almost every engine I have. What could be the reason for such behavior(cache pollution, memory fragmentation, hardware bug)? :?
-
- Posts: 373
- Joined: Wed Mar 22, 2006 10:17 am
- Location: Novi Sad, Serbia
- Full name: Karlo Balla
Re: Strange behavior
I doubt that my old northwood celeron has such capabilities. Sometimes reloading engine fix the problem, but sometimes notDirt wrote:Some processors will slow down if they get too hot, and for all I know for other reasons too. Did your computer come with a utility you can run that can check that it is running at full speed?Karlo Bala wrote:Sometimes when I load engine into Arena, engine work at 1/2 or even at 1/4 of expected speed. When look in task manager I can see that engine use more than 90% processor time. I have 1GB ram and I didn't find any memory swapping from HD to ram. This is happening with almost every engine I have. What could be the reason for such behavior(cache pollution, memory fragmentation, hardware bug)?
Best Regards,
Karlo Balla Jr.
Karlo Balla Jr.
-
- Posts: 12541
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: Strange behavior
What indicator are you using for your estimate of 1/2 or 1/4 speed?Karlo Bala wrote:Sometimes when I load engine into Arena, engine work at 1/2 or even at 1/4 of expected speed. When look in task manager I can see that engine use more than 90% processor time. I have 1GB ram and I didn't find any memory swapping from HD to ram. This is happening with almost every engine I have. What could be the reason for such behavior(cache pollution, memory fragmentation, hardware bug)?
Sometimes, when an engine has a well filled hash table, the earlier plies will give really low NPS figures, but you will see that it finishes the plies very quickly. And so really, rather than underperforming the engine is overperforming. So there can be serious deception if you are using NPS as a figure of compute power.
-
- Posts: 373
- Joined: Wed Mar 22, 2006 10:17 am
- Location: Novi Sad, Serbia
- Full name: Karlo Balla
Re: Strange behavior
As an indicator I'm using NPS. I have celeron 2.6gh with 1GB RAM. On my comp normal NPS is(was for years): old Crafty 600-700 KN/s Fruit 300-400 KN/s, Romi about 1.000 KN/s, Hamsters 500-600 KN/s, etc.Dann Corbit wrote:What indicator are you using for your estimate of 1/2 or 1/4 speed?Karlo Bala wrote:Sometimes when I load engine into Arena, engine work at 1/2 or even at 1/4 of expected speed. When look in task manager I can see that engine use more than 90% processor time. I have 1GB ram and I didn't find any memory swapping from HD to ram. This is happening with almost every engine I have. What could be the reason for such behavior(cache pollution, memory fragmentation, hardware bug)?
Sometimes, when an engine has a well filled hash table, the earlier plies will give really low NPS figures, but you will see that it finishes the plies very quickly. And so really, rather than underperforming the engine is overperforming. So there can be serious deception if you are using NPS as a figure of compute power.
Sometimes when I start engine match NPS drop to 1/4 and stay low during and after match. Problem is that in that case I don't see any unusual activities (for example HD). Sometimes it help if I reload engines. Of course I'm not talking about nps at low depth, but about stabilized nps. I'm using Arena1.99beta3.
Best Regards,
Karlo Balla Jr.
Karlo Balla Jr.
Re: Strange behavior
You can try to open the Task Manager, go to the Process view and sort the processes by CPU time, this will show you if there is some process "stealing" CPU time from the chess engine (at times, this could even be another chess engine that failed to unload properly or is pondering).
-
- Posts: 626
- Joined: Sun May 13, 2007 9:55 pm
- Location: Bay Area, CA USA
- Full name: Mike Adams
Re: Strange behavior
Hi,
Have you hecked that the cpu is not sleeping? Maybe its going into some sort of energy/power saving mode?
Mike
Have you hecked that the cpu is not sleeping? Maybe its going into some sort of energy/power saving mode?
Mike