Search found 956 matches

by Joost Buijs
Fri Apr 15, 2011 4:51 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FreePascal and HashTables' size problem/anomaly
Replies: 11
Views: 1350

Re: FreePascal and HashTables' size problem/anomaly

Hi Julien,

Thanks for sending me these links!

I need this big amount of memory for the transposition table and the indices of the table bases.
Loading all 6 piece Nalimov TB's takes about 2.5 gig. so there is not much room left for the TT.
by Joost Buijs
Thu Apr 14, 2011 9:00 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FreePascal and HashTables' size problem/anomaly
Replies: 11
Views: 1350

Re: FreePascal and HashTables' size problem/anomaly

I use the 2.5.1 compiler with Lazarus on Windows 7 Ultimate 64 bit.
When I have some time I will try it on Linux to see what happens.
by Joost Buijs
Thu Apr 14, 2011 8:37 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FreePascal and HashTables' size problem/anomaly
Replies: 11
Views: 1350

Re: FreePascal and HashTables' size problem/anomaly

Each field is aligned on 64 bits even the byte values, this will speed up things a little bit, but in practice you wont notice any difference. I also have a problem with free Pascal, I wont let me allocate more than 4 gig. memory. I tried everything, even linking a module with C++ memory allocation ...
by Joost Buijs
Thu Apr 14, 2011 8:19 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: FreePascal and HashTables' size problem/anomaly
Replies: 11
Views: 1350

Re: FreePascal and HashTables' size problem/anomaly

Is it possible that your problem will be solved if you use packed records instead of normal (unpacked) records?
The compiler probably is aligning each record field on a 64 bit boundary.
by Joost Buijs
Thu Apr 14, 2011 7:29 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speed vs ELO gain
Replies: 31
Views: 6670

Re: Speed vs ELO gain

I've programmed my engine "Sjakk" in Visual Basic (Express 2010). This is quite a slow language without support for inline statements, and I don't get any speedup when I compile it to 64 bit (not even on the move generation where I use bitboards). My engine on a 2.00 GHz computer does about 100 K N...
by Joost Buijs
Thu Apr 14, 2011 7:13 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speed vs ELO gain
Replies: 31
Views: 6670

Re: Speed vs ELO gain

It would be faster, but the nodes per second would be a lot slower. Moves are not nodes. What you count now is more accuratey described as moves/sec than as nodes/sec. Well I guess it is just a matter of opinion. This is the way I do it for almost 34 years now. I count each new position as a node. ...
by Joost Buijs
Thu Apr 14, 2011 12:09 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speed vs ELO gain
Replies: 31
Views: 6670

Re: Speed vs ELO gain

It depends on what you count as nodes. If a node is defined as a move generation your perft speed would probably be quite a bit lower. What I mean with a node is generate the move, do the move on the board and undo the move on the board. When I would just count the number of moves generated at the ...
by Joost Buijs
Thu Apr 14, 2011 5:51 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Speed vs ELO gain
Replies: 31
Views: 6670

Re: Speed vs ELO gain

I've programmed my engine "Sjakk" in Visual Basic (Express 2010). This is quite a slow language without support for inline statements, and I don't get any speedup when I compile it to 64 bit (not even on the move generation where I use bitboards). My engine on a 2.00 GHz computer does about 100 K N...
by Joost Buijs
Thu Apr 07, 2011 12:50 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Delphi 64-bit sneak preview
Replies: 7
Views: 2040

Re: Delphi 64-bit sneak preview

In MSVC I use intel inline assembler. Hi, Since you are using inline assembler with MSVC I assume that your C++ engine runs in 32 bit mode as well. MSVC does not support inline assembler in 64 bit mode. It will make a lot of difference speedwise when you compile your bitboard engine with a 64 bit c...
by Joost Buijs
Wed Apr 06, 2011 9:33 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Delphi 64-bit sneak preview
Replies: 7
Views: 2040

Re: Delphi 64-bit sneak preview

My experience from porting my engine from free pascal to c++ was that the free pascal code is a bit slower than g++, but faster than Visual C++. Maybe you don't use bitboards or 64 bit because my experience is totally different. I keep a 1 to 1 copy of my C++ engine in Pascal and compared to MSVC++...