Author: Odd Gunnar Malin
Date: 16:12:27 06/19/02
Go up one level in this thread
On June 19, 2002 at 18:45:17, Roy Eassa wrote: >On June 19, 2002 at 17:43:08, Odd Gunnar Malin wrote: > >>On June 19, 2002 at 16:07:35, Heiner Marxen wrote: >> >>>On June 19, 2002 at 14:49:56, Dann Corbit wrote: >>> >>>>Some engines are far more effective at grabbing CPU cycles than others. For >>>>instance, I do not like to run EPD tests on my machine for either Bringer or GLC >>>>because they grab so much CPU, I cannot even move the mouse. The machine is >>>>completely locked up for the duration of the test. >>> >>>Shame on the OS! >>>Isn't the scheduler expected to prevent such locking? >>> >>>Cheers, >>>Heiner >> >>There is nothing wrong with the os here. Win32 has 31 (*) levels for priorities >>where a programer should stick to the predefined levels. If two engines run with >>the same priority level they would get equal cpu usage. >> > > >There are tools to change an app's priority. If a power user uses such a tool >to make sure both programs have the same priority, does that FIX this problem? I'm not sure what Dann's problem is because both glc and bringer run test suits quite ok here (WinNT PII/266MHz), there is no problem to stop them switch to another program or whatevere. For two engine to run a 'ponder on' tournament there is two ways to lower the priority. Either only for a thread (used by ChessBase) or for the process class (used by arena). Shredder (clasic) and Chessmaster run the engines without fiddle with the threads so it should be enough to force the engine to background (clik on another window). The later is easy to manage from outside with just to use the console interpreter (cmd.exe). For the first issue you have to figure out which thread to lower and use its id/handle. You can maybe do this by a 'power tool' but is it possible to do this automatic? The best had been if the gui goes through all threads and lower their priorities and not as now only lower the main thread. I'm not sure if this need a windows hack (undocumeted feature) or not but a place to look is in the pview source that is included in VC6. Odd Gunnar
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.