cutechess-cli 0.6.0 silent mode?
Moderators: hgm, Rebel, chrisw
-
- Posts: 1535
- Joined: Sun Oct 25, 2009 2:30 am
cutechess-cli 0.6.0 silent mode?
I was wondering if there's a way to run this program, without getting any update on progress.
-
- Posts: 2204
- Joined: Sat Jan 18, 2014 10:24 am
- Location: Andorra
Re: cutechess-cli 0.6.0 silent mode?
May be redirecting the output to a file?
cutechess ... >file.txt
cutechess ... >file.txt
Daniel José - http://www.andscacs.com
-
- Posts: 1535
- Joined: Sun Oct 25, 2009 2:30 am
Re: cutechess-cli 0.6.0 silent mode?
Do you think that would reduce the overhead? I'm getting around 3% CPU usage from the exe, I'm guessing a part of it, is because of the constant updating of the Command Prompt window.
-
- Posts: 2204
- Joined: Sat Jan 18, 2014 10:24 am
- Location: Andorra
Re: cutechess-cli 0.6.0 silent mode?
I suppose it will be similar. In my tests, I use all the available cores minus one, to let the system and cutechess use all what they want.Ozymandias wrote:Do you think that would reduce the overhead? I'm getting around 3% CPU usage from the exe, I'm guessing a part of it, is because of the constant updating of the Command Prompt window.
Daniel José - http://www.andscacs.com
-
- Posts: 1535
- Joined: Sun Oct 25, 2009 2:30 am
Re: cutechess-cli 0.6.0 silent mode?
Is that overhead normal, in your experience? You probably didn't even notice, if you free up a whole core for "secondary" tasks. I can imagine how this would be the case.cdani wrote:I suppose it will be similar. In my tests, I use all the available cores minus one, to let the system and cute chess use all what they want.Ozymandias wrote:Do you think that would reduce the overhead? I'm getting around 3% CPU usage from the exe, I'm guessing a part of it, is because of the constant updating of the Command Prompt window.
-
- Posts: 2204
- Joined: Sat Jan 18, 2014 10:24 am
- Location: Andorra
Re: cutechess-cli 0.6.0 silent mode?
I'm just observing now a current running test in an AMD with 8 core, and cutechess uses 1-2%, mostly 1%. Its output it’s going to the screen. Of course this % depends mainly of the speed of the cpu.Ozymandias wrote: Is that overhead normal, in your experience? You probably didn't even notice, if you free up a whole core for "secondary" tasks. I can imagine how this would be the case.
I free a whole cpu to obtain more stable results. Windows in particular uses often part of the cpu for who knows what. Many testers do the same.
May be if you have only 2-4 cpu you can test using all of them. The greater number of games will be more important in this case.
Daniel José - http://www.andscacs.com
-
- Posts: 1535
- Joined: Sun Oct 25, 2009 2:30 am
Re: cutechess-cli 0.6.0 silent mode?
Considering the impact of hyper threading on overall CPU speed, your numbers are very similar. Still, I would hope that giving up a GUI, would bring CPU utilizations down to the tenths of a point.cdani wrote:I'm just observing now a current running test in an AMD with 8 core, and cutechess uses 1-2%, mostly 1%. Its output it’s going to the screen. Of course this % depends mainly of the speed of the cpu.
-
- Posts: 4833
- Joined: Sun Aug 10, 2008 3:15 pm
- Location: Philippines
Re: cutechess-cli 0.6.0 silent mode?
One way is to redirect it to null device, you can use, from batch file for example.Ozymandias wrote:I was wondering if there's a way to run this program, without getting any update on progress.
cutechess ... > NUL
-
- Posts: 1535
- Joined: Sun Oct 25, 2009 2:30 am
Re: cutechess-cli 0.6.0 silent mode?
I'm going to try that, thx.Ferdy wrote:One way is to redirect it to null device, you can use, from batch file for example.Ozymandias wrote:I was wondering if there's a way to run this program, without getting any update on progress.
cutechess ... > NUL
-
- Posts: 1535
- Joined: Sun Oct 25, 2009 2:30 am
Re: cutechess-cli 0.6.0 silent mode?
PS: the PGN looks ok, but I got the message
"warning: engineprocess: pipe reader was terminated"
Any reason for concern?
"warning: engineprocess: pipe reader was terminated"
Any reason for concern?