A Chess forum. ChessBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » ChessBanter forum » Chess Newsgroups » rec.games.chess.computer (Computer Chess)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , ,

amount of memory needed?



 
 
Thread Tools Display Modes
  #1  
Old November 3rd 07, 01:19 PM posted to rec.games.chess.computer
Buller
external usenet poster
 
Posts: 5
Default amount of memory needed?

Can anyone give me some typical numbers for how much RAM a modern chess
engine uses (not including the the amount used for the program code itself
and the amount used for hash tables, which I realize is often made as large
as the computer will tolerate)? I suppose the amount could be all over the
map, but I'm curious about how much more modern engines use than something
like my old Fidelity Designer 2100, which has only 8K RAM but yet could
easily beat most of us.

Thanks,
DB


Ads
  #2  
Old November 3rd 07, 03:45 PM posted to rec.games.chess.computer
pascal
external usenet poster
 
Posts: 142
Default amount of memory needed?

Buller a écrit :
Can anyone give me some typical numbers for how much RAM a modern chess
engine uses (not including the the amount used for the program code itself
and the amount used for hash tables, which I realize is often made as large
as the computer will tolerate)? I suppose the amount could be all over the
map, but I'm curious about how much more modern engines use than something
like my old Fidelity Designer 2100, which has only 8K RAM but yet could
easily beat most of us.

Thanks,
DB



Usually the answer is between 500 kB and 10 MB, of course without hash
tables, but including code segment. But engines sometimes use hash for
other things like evaluation cache, etc... that I included here.

Pascal
  #3  
Old November 3rd 07, 05:12 PM posted to rec.games.chess.computer
Guest
external usenet poster
 
Posts: 4
Default amount of memory needed?

That's hard to answer because there are so many programs that do things in
so many different ways.

For the basic chess program itself, just code, probably 100k. Smaller,
simpler programs may only need 30k of code.

But that doesn't include needed tables. Modern programs use lots of tables
to generate moves, attacks, etc. There are some bitboard move generation &
attack generation methods that can use a meg or so data.

Modern programs really don't compare to the older chess computers or micro
programs. They are written for a different category of computers.

There is no need to try and keep a program within 8k or 16k, etc. So nobody
even tries.

Also todays programs are far more sophisticated, which takes more space.
The pawn evaluator can be larger than the entire program of older 8 bit
micro programs.

And people care about cache lines, which causes the programmer to actually
add unused space to structures to keep things nice & aligned for fastest
access.

And doing a program for a 32 bit or 64 bit computer causes quite a bit of
code bloat. Instruction sizes and data sizes are larger. So a comparable
program could actually be 2 or even 3 times larger than an 8 bit micro
program.



"Buller" wrote in message
news:Sz_Wi.71$4I.0@trndny03...
Can anyone give me some typical numbers for how much RAM a modern chess
engine uses (not including the the amount used for the program code itself
and the amount used for hash tables, which I realize is often made as
large as the computer will tolerate)? I suppose the amount could be all
over the map, but I'm curious about how much more modern engines use than
something like my old Fidelity Designer 2100, which has only 8K RAM but
yet could easily beat most of us.

Thanks,
DB




----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
  #4  
Old November 3rd 07, 11:57 PM posted to rec.games.chess.computer
johnny_t
external usenet poster
 
Posts: 116
Default amount of memory needed?

Buller wrote:
Can anyone give me some typical numbers for how much RAM a modern chess
engine uses (not including the the amount used for the program code itself
and the amount used for hash tables, which I realize is often made as large
as the computer will tolerate)? I suppose the amount could be all over the
map, but I'm curious about how much more modern engines use than something
like my old Fidelity Designer 2100, which has only 8K RAM but yet could
easily beat most of us.

Thanks,
DB



At least for interest of the question...

http://home.hccnet.nl/h.g.muller/max-src2.html

A relatively decent program under 2k in size.
  #5  
Old November 4th 07, 07:54 AM posted to rec.games.chess.computer
pascal
external usenet poster
 
Posts: 142
Default amount of memory needed?

johnny_t a écrit :
Buller wrote:
Can anyone give me some typical numbers for how much RAM a modern
chess engine uses (not including the the amount used for the program
code itself and the amount used for hash tables, which I realize is
often made as large as the computer will tolerate)? I suppose the
amount could be all over the map, but I'm curious about how much more
modern engines use than something like my old Fidelity Designer 2100,
which has only 8K RAM but yet could easily beat most of us.

Thanks,
DB


At least for interest of the question...

http://home.hccnet.nl/h.g.muller/max-src2.html

A relatively decent program under 2k in size.


This is a nice example.

Consider also Viper from Tord Romstad
http://www.superchessengine.com/glaurung.htm

Less than 5000 lines of code (including blank lines and comments), and
UCI compliant with a great strength.

Pascal
  #6  
Old November 4th 07, 04:17 PM posted to rec.games.chess.computer
Gian-Carlo Pascutto
external usenet poster
 
Posts: 41
Default amount of memory needed?

johnny_t wrote:
Buller wrote:
Can anyone give me some typical numbers for how much RAM a modern
chess engine uses (not including the the amount used for the program
code itself and the amount used for hash tables, which I realize is
often made as large as the computer will tolerate)? I suppose the
amount could be all over the map, but I'm curious about how much more
modern engines use than something like my old Fidelity Designer 2100,
which has only 8K RAM but yet could easily beat most of us.

Thanks,
DB


At least for interest of the question...

http://home.hccnet.nl/h.g.muller/max-src2.html

A relatively decent program under 2k in size.


Don't confuse program size with RAM requirements. That small program
needs more than 16 Megabytes of RAM to run.

--
GCP
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help bot memory is not weak. Sanny rec.games.chess.politics (Chess Politics) 0 October 11th 07 07:40 AM
Help bot memory is not weak. Sanny rec.games.chess.misc (Chess General) 0 October 11th 07 07:40 AM
Help bot memory is not weak. Sanny alt.chess (Alternative Chess Group) 0 October 11th 07 07:40 AM
Rybka 2.2 + Chess Openings = P.O.S. Ange1o DePa1ma rec.games.chess.computer (Computer Chess) 53 January 11th 07 10:41 AM
Rybka 2.2 + Chess Openings = P.O.S. Ange1o DePa1ma rec.games.chess.misc (Chess General) 60 January 11th 07 10:41 AM


All times are GMT +1. The time now is 10:57 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Content Relevant URLs by vBSEO 2.4.0
Copyright ©2004-2008 ChessBanter, part of the NewsgroupBanter project.
The comments are property of their posters.
Charity - 0 Credit Cards - Personal Loans - Myspace Images - Download movies