Page 1 of 2

Bandwidth vs. Computer Power

Posted: Wed Nov 17, 2010 8:23 pm
by Dave Mitchell
I need to get the Nalimov Tablebase files for 3, 4, and 5 pieces, and am currently downloading them from Hyatt's UAB site.

Never has my DSL seemed so S-L-O-W! :shock:

On the other hand, I have an overclocked (but very stable), i7 with both Linux and Windows 7. (and 12GB RAM).

My question is would it be better to go ahead and generate these tablebase files, on the i7, rather than the tedious downloading?

Is there a better way to download these files, instead of this tedious one or two at a time, method?

Thanks so much!

Re: Bandwidth vs. Computer Power

Posted: Wed Nov 17, 2010 9:50 pm
by Sean Evans
Dave Mitchell wrote:I need to get the Nalimov Tablebase files for 3, 4, and 5 pieces, and am currently downloading them from Hyatt's UAB site.

Never has my DSL seemed so S-L-O-W! :shock:

On the other hand, I have an overclocked (but very stable), i7 with both Linux and Windows 7. (and 12GB RAM).

My question is would it be better to go ahead and generate these tablebase files, on the i7, rather than the tedious downloading?

Is there a better way to download these files, instead of this tedious one or two at a time, method?

Thanks so much!
You will have a long wait the tbs are huge. Buy them at Chessbase.com

Re: Bandwidth vs. Computer Power

Posted: Wed Nov 17, 2010 11:27 pm
by Peter C
3-4-5 Nalimov tablebases are only 7.5GB. I downloaded them in a few days manually (2 files at a time) and I don't have a particularly fast internet connection. Downloading them is probably the best option.

Peter

Re: Bandwidth vs. Computer Power

Posted: Thu Nov 18, 2010 5:42 pm
by Taner Altinsoy
You don't need to download all as stated in the link below.

http://stark.forumotion.com/endgame-tab ... b-t436.htm

Re: Bandwidth vs. Computer Power

Posted: Fri Nov 19, 2010 2:31 am
by Dave Mitchell
Thanks for all the replies. I did finish d/l'ing the 3-4-5 from Hyatt at UAB.

I have the opinion (based on zero testing :shock: ), that the 6 man egtb files would add very little strength to a chess program.

It was the old Chessmaster egtb files that could be easily generated, not the Nalimov type.

Re: Bandwidth vs. Computer Power

Posted: Tue Nov 23, 2010 5:44 pm
by BB+
I know of at least three different tablebase generators that are available.
* GCP was working on cleaning up the Nalimov code (including 6 piece -- the licensing question is also obscure here).
* Ballicora has some for Gaviota bases (no 6 piece yet).
* RobboBases for IvanHoe. For up to 5 pieces, this is easy (maybe 5 hours on a quad). For 6 pieces, it requires a machine with a lot of RAM (like 16GB), and takes a long time. I'm not sure it works under Windows either.
* There is also a more recent offering http://generatorchess.com that claims it can do 7-piece.

Other than RobboBases, I think that those that build the 6 piece do so from disk, and so the bottleneck is neither bandwidth nor computer power, but streaming I/O speed from the hard drive (which is about 50-100 MB/s). ;)

Re: Bandwidth vs. Computer Power

Posted: Tue Nov 23, 2010 6:14 pm
by BB+
I guess I should have read a few materials and kept up to date about RobboBase happenings. I could have given you more decent estimates.

First the ROBBO_BASE_BRIEF:
The totality of 6s will emerge in many days or weeks, and you need to tune the memory with 32GB in RAM enough but edgy.

A rule is to multiply by 150-200x for each next piece. The 5 piece take to build in nearly 15 hours of cpu at 3.41GB, and the 6 piece in 3-4 months of cpu when you have the memory (RAM) at 476GB.
So it seems that they take 3-4 cpu-months to build the 6s with 32GB of RAM [though my accounting yields that even 12GB should be OK, though maybe I'm disregarding disk access/caching with promotions], as opposed to downloading 476GB. From their wiki, they claim to have a download site set up for which the throughput can be as high as 10MB/s. At the more reasonable rate of 1MB/s it would take about a week, so my guess is that downloading will win on a strict time comparison in most cases. This should be true for any of the tablebase systems.

GCP was building a single 6 piece endgame in about a day, which seems to indicate around a calendar year to build them all. The Nalimov algorithm is slightly inferior to what (I presume) the RobboBases are using for many cases, as I think it uses the "grandfather" system as opposed to the "counting outs" system (see http://home.hccnet.nl/h.g.muller/EGTB.html for more about this, and he seems to have a 7-piece Leapfrog generator mentioned now). However, the main bottleneck for 6 pieces is I/O in any case, even with your 12GB of RAM. :)

Reading the original post again, I might mention that wget can be likely queued up to grab multiple files when downloading.

Re: Bandwidth vs. Computer Power

Posted: Wed Nov 24, 2010 7:58 am
by Dave Mitchell
Thanks for the info on wget - I could have really used it. :lol:

I do hate to see the chess engines fracturing the Tablebases into several different formats, each one unusable by so many other engines. It would see that two types could be standardized for: 1) Nalimov type, and 2) "The King" engine style bitbases (used by Chessmaster).

It's clear that d/l'ing the TB's was the better choice.

Re: Bandwidth vs. Computer Power

Posted: Wed Nov 24, 2010 8:45 am
by ernest
Dave Mitchell wrote:2) "The King" engine style bitbases (used by Chessmaster)
Since when are those bitbases? :shock:

Re: Bandwidth vs. Computer Power

Posted: Wed Nov 24, 2010 4:51 pm
by Dave Mitchell
They may not be - it's been several years since I read anything about what TheKing engine uses. Fruit uses them, for sure (from the Fruit 2.1 readme.txt file):
As for Fruit I plan on using selected "bitbases" in the (very far)
future. For now some draws are recognised by the evaluation function,
and - despite the errors - this somewhat reduces the penalty for not
using tablebases.
: