Gaviota 0.74 released

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Gaviota 0.74 released

Post by michiguel »

Spock wrote:Hmm..... so far I have generated 9GB of 5-men files, about 85 of them
If there ends up being 290 files as there is with nalimov bases, how much space is this going to take up - Miguel ?
I am flattered that you guys are so interested and make me feel bad I did not provide good documentation. I will, though.

All 5 and 4 pieces take about 37 Gb because they are not compressed. They are fast enough as they are now with the cache I designed. In fact, the idea is that uncompressed will be very faster on solid state hard drives (untested yet, I have to buy a SSHD).

There are no separate files for white and black.

To use 4 processors and generate 5 pc-tb open gaviota in console mode and type

cores 4
tbgen 5

It will save them on the gtb folder by default. Otherwise, change the egtb path on the ini file (gaviota.ini.txt)

Regards,
Miguel
User avatar
AdminX
Posts: 6363
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Gaviota 0.74 released

Post by AdminX »

SzG wrote:
AdminX wrote:How to I generate Gaviota Tablebases?

'You can generate 4 or 5-pc after opening the engine in console mode and typing tbgen 4 or tbgen 5 (the last one may take a couple of days on a fast dual). '
Thanks for the info. :wink:
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
Spock

Re: Gaviota 0.74 released

Post by Spock »

5-men generation terminates with a "Lack of memory" error, cannot allocate memory, on my machine after about 11GB has been generated. Task manager shows it using 1.7GB of memory at that point. I'll try a different machine and see what happens
User avatar
AdminX
Posts: 6363
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Gaviota 0.74 released

Post by AdminX »

michiguel wrote:
Spock wrote:Hmm..... so far I have generated 9GB of 5-men files, about 85 of them
If there ends up being 290 files as there is with nalimov bases, how much space is this going to take up - Miguel ?
I am flattered that you guys are so interested and make me feel bad I did not provide good documentation. I will, though.

All 5 and 4 pieces take about 37 Gb because they are not compressed. They are fast enough as they are now with the cache I designed. In fact, the idea is that uncompressed will be very faster on solid state hard drives (untested yet, I have to buy a SSHD).

There are no separate files for white and black.

To use 4 processors and generate 5 pc-tb open gaviota in console mode and type

cores 4
tbgen 5

It will save them on the gtb folder by default. Otherwise, change the egtb path on the ini file (gaviota.ini.txt)

Regards,
Miguel
Will the 64-bit version be able to use the 32-bit version generated tablebases?
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Gaviota 0.74 released

Post by michiguel »

AdminX wrote:
michiguel wrote:
Spock wrote:Hmm..... so far I have generated 9GB of 5-men files, about 85 of them
If there ends up being 290 files as there is with nalimov bases, how much space is this going to take up - Miguel ?
I am flattered that you guys are so interested and make me feel bad I did not provide good documentation. I will, though.

All 5 and 4 pieces take about 37 Gb because they are not compressed. They are fast enough as they are now with the cache I designed. In fact, the idea is that uncompressed will be very faster on solid state hard drives (untested yet, I have to buy a SSHD).

There are no separate files for white and black.

To use 4 processors and generate 5 pc-tb open gaviota in console mode and type

cores 4
tbgen 5

It will save them on the gtb folder by default. Otherwise, change the egtb path on the ini file (gaviota.ini.txt)

Regards,
Miguel
Will the 64-bit version be able to use the 32-bit version generated tablebases?
Yes, tablebase files and opening books are portable in both 32, 64 bits, windows, linux etc.

Miguel
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Gaviota 0.74 released

Post by michiguel »

Spock wrote:5-men generation terminates with a "Lack of memory" error, cannot allocate memory, on my machine after about 11GB has been generated. Task manager shows it using 1.7GB of memory at that point. I'll try a different machine and see what happens
Do you have enough space in the hard drive?
My machine has 2 Gb of RAM and generates them well (in Linux).

Miguel
Spock

Re: Gaviota 0.74 released

Post by Spock »

michiguel wrote:
Spock wrote:5-men generation terminates with a "Lack of memory" error, cannot allocate memory, on my machine after about 11GB has been generated. Task manager shows it using 1.7GB of memory at that point. I'll try a different machine and see what happens
Do you have enough space in the hard drive?
My machine has 2 Gb of RAM and generates them well (in Linux).

Miguel
Plenty of hard drive space, and plenty of spare RAM (machine has 4GB) and it is Windows. I'm trying on another machine, but this time using 2 cores not 4.
Dann Corbit
Posts: 12777
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Gaviota 0.74 released

Post by Dann Corbit »

michiguel wrote:
Spock wrote:5-men generation terminates with a "Lack of memory" error, cannot allocate memory, on my machine after about 11GB has been generated. Task manager shows it using 1.7GB of memory at that point. I'll try a different machine and see what happens
Do you have enough space in the hard drive?
My machine has 2 Gb of RAM and generates them well (in Linux).

Miguel
I guess that the problem is the 32 bit build. In 32 bit Windows, a process can address only 2 GB maximum no matter how much memory is available, and OS usage subtracts from that.

For instance, from here:
http://kb2.adobe.com/cps/320/320005.html

We find this:
"Photoshop CS2 is a 32-bit application. When it runs on a 32-bit operating system, such as Windows 2000, Windows XP Professional, and Mac OS v10.2.8, it can access the first 2 GB of RAM on the computer. The operating system uses some of this RAM, so the Photoshop Memory Usage preference displays only a maximum of 1.6 or 1.7 GB of total available RAM. If you are running Windows XP Professional with Service Pack 2, you can set the 3 GB switch in the boot.ini file, which allows Photoshop to use up to 3 GB of RAM."

The 64 bit build will fix that problem.
Spock

Re: Gaviota 0.74 released

Post by Spock »

Dann, that was my theory also. Gabor is currently generating them, I'm expecting him to have the same issue.
User avatar
michiguel
Posts: 6401
Joined: Thu Mar 09, 2006 8:30 pm
Location: Chicago, Illinois, USA

Re: Gaviota 0.74 released

Post by michiguel »

Dann Corbit wrote:
michiguel wrote:
Spock wrote:5-men generation terminates with a "Lack of memory" error, cannot allocate memory, on my machine after about 11GB has been generated. Task manager shows it using 1.7GB of memory at that point. I'll try a different machine and see what happens
Do you have enough space in the hard drive?
My machine has 2 Gb of RAM and generates them well (in Linux).

Miguel
I guess that the problem is the 32 bit build. In 32 bit Windows, a process can address only 2 GB maximum no matter how much memory is available, and OS usage subtracts from that.

For instance, from here:
http://kb2.adobe.com/cps/320/320005.html

We find this:
"Photoshop CS2 is a 32-bit application. When it runs on a 32-bit operating system, such as Windows 2000, Windows XP Professional, and Mac OS v10.2.8, it can access the first 2 GB of RAM on the computer. The operating system uses some of this RAM, so the Photoshop Memory Usage preference displays only a maximum of 1.6 or 1.7 GB of total available RAM. If you are running Windows XP Professional with Service Pack 2, you can set the 3 GB switch in the boot.ini file, which allows Photoshop to use up to 3 GB of RAM."

The 64 bit build will fix that problem.
When the building stopped, which one was going to be generated? In other words, can you post a list (dir) of the files already generated. I can figure out which one was the one that caused problems. It may have been one with pawns.

Miguel