Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: To anyone who has ever automatically created an opening book

Author: Robert Hyatt

Date: 18:32:12 11/09/01

Go up one level in this thread


On November 09, 2001 at 11:54:42, John Merlino wrote:

>Since I am modifying the opening book format in Chessmaster to allow an
>"unlimited" number of moves in a book, I was wondering a few things about the
>general performance of my PGN importer.
>
>Some questions:
>
>1) In general, how long does it take to create a book (i.e. size to time ratio).

Crafty can create a book from 3+ million PGN games in about 30 minutes using
a single 700mhz cpu with good disk drives (10K scsi).


>2) How much memory does the process take (size to RAM ratio).



Not very much.  It will build in 16mb and more memory doesn't help.



>
>In my largest test, I used a PGN file with almost 150,000 games in it, and I'm
>wondering if my time/RAM usage is anything close to "the norm". I'd rather not
>give out the stats of this process just yet, to avoid any bias in responses. ;-)
>
>Many thanks,
>
>jm


I would suspect that 150K games would take a couple of minutes.  I haven't
done one that small.  I assume you have crafty handy.

Assuming you want to make a book that is reasonably deep and which excludes
moves played 4 or less times, type this inside crafty:

book create xxx.pgn 60 5

and time it.

Bob




This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.