Hi,
I am running some matches with crafty221_x64_ja.exe 2CPU under Arena here. I used my old crafty.rc
mt=2
egtb
tbpath=F:\tbs
ponder=off
hash=384M
hashp=128M
cache=32M
log=off
exit
When starting crafty in console mode it uses 482.588 K.
I now used the deliverd crafty.rc and found:
424.404 Start
427.676 1st. move
430.764 after 2nd. move
455.488 starting 10th move and 455.468 after this move (this happens always)
and so on...
After a few matches I saw crafty using more than 1 GB hash. Seems like it uses more and more hash after each move. And later Windows tells me: must put more RAM to HD (do not remember it correct)
What is wrong with my crafty.rc? or with this crafty build?
best
Crafty 22.1 RAM usage
Moderator: Ras
-
Werner
- Posts: 3017
- Joined: Wed Mar 08, 2006 10:09 pm
- Location: Germany
- Full name: Werner Schüle
Crafty 22.1 RAM usage
Werner
-
Jim Ablett
- Posts: 2406
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Crafty 22.1 RAM usage
Hi Werner,Werner wrote:Hi,
I am running some matches with crafty221_x64_ja.exe 2CPU under Arena here. I used my old crafty.rc
mt=2
egtb
tbpath=F:\tbs
ponder=off
hash=384M
hashp=128M
cache=32M
log=off
exit
When starting crafty in console mode it uses 482.588 K.
I now used the deliverd crafty.rc and found:
424.404 Start
427.676 1st. move
430.764 after 2nd. move
455.488 starting 10th move and 455.468 after this move (this happens always)
and so on...
After a few matches I saw crafty using more than 1 GB hash. Seems like it uses more and more hash after each move. And later Windows tells me: must put more RAM to HD (do not remember it correct)
What is wrong with my crafty.rc? or with this crafty build?
best
Are you using also smpnice ? This is not working correctly under
windows. Crafty is actually creating new processes, but not terminating
the old one and releasing memory, so memory usage and number of processes
increases until you run out of available memory.
Answer, switch off smpnice until next update/fix.
Jim.
-
Werner
- Posts: 3017
- Joined: Wed Mar 08, 2006 10:09 pm
- Location: Germany
- Full name: Werner Schüle
Re: Crafty 22.1 RAM usage
Hi Jim,Jim Ablett wrote:Hi Werner,
Are you using also smpnice ? This is not working correctly under
windows. Crafty is actually creating new processes, but not terminating
the old one and releasing memory, so memory usage and number of processes
increases until you run out of available memory.
Answer, switch off smpnice until next update/fix.
Jim.
as you can see in my rc-file - I do not use smpnice. But I see Crafty is creating new processes but not terminating it properly. A little bit helps to tell Arena starting the engines new after each game.
So I will stop testing this version and wait for next one
Thanks for the answer!
Werner
-
Jim Ablett
- Posts: 2406
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Crafty 22.1 RAM usage
I downloaded the src again and compiled some new builds for you to test,Werner wrote:Hi Jim,Jim Ablett wrote:Hi Werner,
Are you using also smpnice ? This is not working correctly under
windows. Crafty is actually creating new processes, but not terminating
the old one and releasing memory, so memory usage and number of processes
increases until you run out of available memory.
Answer, switch off smpnice until next update/fix.
Jim.
as you can see in my rc-file - I do not use smpnice. But I see Crafty is creating new processes but not terminating it properly. A little bit helps to tell Arena starting the engines new after each game.
So I will stop testing this version and wait for next one![]()
Thanks for the answer!
just in case I messed something up in the original compiles.
http://www.zshare.net/download/13983177d9d4686d/
Jim.
-
Werner
- Posts: 3017
- Joined: Wed Mar 08, 2006 10:09 pm
- Location: Germany
- Full name: Werner Schüle
Re: Crafty 22.1 RAM usage
Thanks Jim,Jim Ablett wrote: I downloaded the src again and compiled some new builds for you to test,
just in case I messed something up in the original compiles.
http://www.zshare.net/download/13983177d9d4686d/
Jim.
but this version crashes here in console mode just when making the move.
with this rc file:
mt=2
egtb
tbpath=J:\tbs
ponder=off
hash=384M
hashp=128M
cache=32M
log=off
exit
best
Werner
-
Werner
- Posts: 3017
- Joined: Wed Mar 08, 2006 10:09 pm
- Location: Germany
- Full name: Werner Schüle
Re: Crafty 22.1 RAM usage
Ok,
does not like ponder=off
but without this no eng-eng match is possible as the engine is unloaded after each move and then reloaded (under Arena....)
best
does not like ponder=off
but without this no eng-eng match is possible as the engine is unloaded after each move and then reloaded (under Arena....)
best
Werner
-
beachknight
- Posts: 3533
- Joined: Tue Jan 09, 2007 8:33 pm
- Location: Antalya, Turkey
Re: Crafty 22.1 RAM usage
I changed rc file:
mt=2
smpnice=1
egtb
tbpath=tablebases path
hash=96M
hashp=32M
cache=32M
log=on
exit
did not crash either.
best,
I'll try x64 compile later.
mt=2
smpnice=1
egtb
tbpath=tablebases path
hash=96M
hashp=32M
cache=32M
log=on
exit
did not crash either.
best,
I'll try x64 compile later.
hi, merhaba, hallo HT
-
Werner
- Posts: 3017
- Joined: Wed Mar 08, 2006 10:09 pm
- Location: Germany
- Full name: Werner Schüle
Re: Crafty 22.1 RAM usage
...sorry, does not help under Arena in eng-eng match with x64 version 2CPU: the engine is always unloaded after the move.beachknight wrote:I changed rc file:
mt=2
smpnice=1
egtb
tbpath=tablebases path
hash=96M
hashp=32M
cache=32M
log=on
exit
did not crash either.
best,
I'll try x64 compile later.
best
Werner
-
ernest
- Posts: 2053
- Joined: Wed Mar 08, 2006 8:30 pm
Re: Crafty 22.1 RAM usage
I have given up testing Crafty 22 and 221...
I use Windows and the ShredderClassic GUI.
I hope Bob will some day be able to to leave Linux for a few minutes and check that on a Windows machine!
I use Windows and the ShredderClassic GUI.
I hope Bob will some day be able to to leave Linux for a few minutes and check that on a Windows machine!
-
Gregory Owett
- Posts: 259
- Joined: Fri Mar 10, 2006 10:26 am
- Location: France
Re: Crafty 22.1 RAM usage
Werner wrote:Hi,
I am running some matches with crafty221_x64_ja.exe 2CPU under Arena here. I used my old crafty.rc
mt=2
egtb
tbpath=F:\tbs
ponder=off
hash=384M
hashp=128M
cache=32M
log=off
exit
When starting crafty in console mode it uses 482.588 K.
I now used the deliverd crafty.rc and found:
424.404 Start
427.676 1st. move
430.764 after 2nd. move
455.488 starting 10th move and 455.468 after this move (this happens always)
and so on...
After a few matches I saw crafty using more than 1 GB hash. Seems like it uses more and more hash after each move. And later Windows tells me: must put more RAM to HD (do not remember it correct)
What is wrong with my crafty.rc? or with this crafty build?
best
This is what I have already reported a few weeks ago.
Gregory