Dragon draughts, endgame tables, memory allocation problem

Discussion about development of draughts in the time of computer and Internet.
Post Reply
Hassie
Posts: 3
Joined: Fri Jan 29, 2016 18:32

Dragon draughts, endgame tables, memory allocation problem

Post by Hassie » Fri Jan 29, 2016 20:23

First of all, very nice program Michel!

But the program does not release memory when necessary, when calculating endgame tablebases,
at least not with my configuration.
I have 16 G memory on Windows 10. And the problem is already there when I try seven men.
That should work with 4 G memory, as stated in the manual.
The longer the process takes, the more memory gets occupied,
wich is good, you have to do as much as possible in memory.
Until memory is full and must be freed...

So after a few hours I need to clean memory and start over again,

Or is the only solution virtual memory in Windows?, wich I deserted a long time ago...
But how much?, half way 5 vs 2 men the system crashed because 14 of the sixteen G was already reached...
And Windows does not like that :-)

And 8 men is much heavier...

Hassie
Posts: 3
Joined: Fri Jan 29, 2016 18:32

Re: Dragon draughts, endgame tables, memory allocation problem

Post by Hassie » Fri Feb 05, 2016 02:12

OK, solved :D

I bought a new SSD 240G and made virtual memory 32G with 16g real memory,
Now things go much better,
Soon I will start with the 8 men...

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Dragon draughts, endgame tables, memory allocation problem

Post by Krzysztof Grzelak » Sat Feb 06, 2016 20:16

I apologize that I ask. And you possess full 8 figure base to programme Dragon Hassie .

Hassie
Posts: 3
Joined: Fri Jan 29, 2016 18:32

Re: Dragon draughts, endgame tables, memory allocation problem

Post by Hassie » Tue Feb 09, 2016 17:56

Krzysztof Grzelak wrote:I apologize that I ask. And you possess full 8 figure base to programme Dragon Hassie .
No need to apologize Krzysztof :wink:
No, I'm busy with 7 men, that takes days and days to generate, still working on that...
Don't know if I ever get to 8 men, that must take months... :(

Greetz Hassie

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Dragon draughts, endgame tables, memory allocation problem

Post by Krzysztof Grzelak » Tue Feb 09, 2016 18:01

Hassie wrote:No need to apologize Krzysztof :wink:
No, I'm busy with 7 men, that takes days and days to generate, still working on that...
Don't know if I ever get to 8 men, that must take months... :(

Greetz Hassie
Thanks for the reply Hassie.

Krzysztof.

MichelG
Posts: 244
Joined: Sun Dec 28, 2003 20:24
Contact:

Re: Dragon draughts, endgame tables, memory allocation problem

Post by MichelG » Wed Mar 09, 2016 08:55

Hassie wrote:
But the program does not release memory when necessary, when calculating endgame tablebases,
at least not with my configuration.
I have 16 G memory on Windows 10. And the problem is already there when I try seven men.
That should work with 4 G memory, as stated in the manual.
The longer the process takes, the more memory gets occupied,
wich is good, you have to do as much as possible in memory.
Until memory is full and must be freed...

So after a few hours I need to clean memory and start over again,

Or is the only solution virtual memory in Windows?, wich I deserted a long time ago...
But how much?, half way 5 vs 2 men the system crashed because 14 of the sixteen G was already reached...
And Windows does not like that :-)

And 8 men is much heavier...
The access to lots of memory is essentially the limiting factor for the algorithm, and it is actually quite hard to do it correctly. The 8 piece databases were constructed with 24 GB of ram and 64 GB of virtual memory, and indeed it took months.

For 8 pieces, it can and will crash on memory allocation issues at some point. This might be fixed, but since you need to run the program only once, just restarting it several times is easier.

If someone has 50-100 GB of online storage available, i can upload the databases some time.

Michel

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Dragon draughts, endgame tables, memory allocation problem

Post by Krzysztof Grzelak » Wed Mar 09, 2016 09:26

Michel and what if you're using databases from the hard disk and not from memory. I know that you wrote that run slower compared to ram. Michel and you can not make the database on website https://mega.nz/

MichelG
Posts: 244
Joined: Sun Dec 28, 2003 20:24
Contact:

Re: Dragon draughts, endgame tables, memory allocation problem

Post by MichelG » Sun Mar 20, 2016 13:49

The endgames are back on mega.

Visit the following link to download:

http://mdgsoft.home.xs4all.nl/draughts/endgame.htm

Michel

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Dragon draughts, endgame tables, memory allocation problem

Post by Krzysztof Grzelak » Sun Mar 20, 2016 17:23

MichelG wrote:The endgames are back on mega.

Visit the following link to download:

http://mdgsoft.home.xs4all.nl/draughts/endgame.htm

Michel
Excuse me for asking whether this is the full version of the database program Dragon. I have a feeling that once already share Michel.

Post Reply