Moderator: Andres Valverde
Andres Valverde wrote:Note that this is an extremely adictive hobby
Roy van Rijn wrote:Just a small update:
Nodes: 4865351 (5)
Captures: 82461
Checks: 27351
Mates: 347
---- 1635ms
Improvement of almost 50% here. When not counting mates/checks/captures the numbers are:
Nodes: 20 (1)
---- 0ms
Nodes: 400 (2)
---- 1ms
Nodes: 8902 (3)
---- 20ms
Nodes: 197281 (4)
---- 316ms
Nodes: 4865351 (5)
---- 436ms
Nodes: 119048429 (6)
---- 6939ms
How are these numbers compared to other engines? I don't have any clue... are there performance numbers/results posted anywhere?
I've seen perft-6 numbers as low as +/-1.5 seconds.
$ ./qperft 6
- - - - - - - - - - - -
- - - - - - - - - - - -
- - r n b q k b n r - -
- - p p p p p p p p - -
- - . . . . . . . . - -
- - . . . . . . . . - -
- - . . . . . . . . - -
- - . . . . . . . . - -
- - P P P P P P P P - -
- - R N B Q K B N R - -
- - - - - - - - - - - -
- - - - - - - - - - - -
Quick Perft by H.G. Muller
Perft mode: No hashing, bulk counting in horizon nodes
perft(1)=20 ( 0.000 sec)
perft(2)=400 ( 0.000 sec)
perft(3)=8902 ( 0.000 sec)
perft(4)=197281 ( 0.010 sec)
perft(5)=4865609 ( 0.360 sec)
perft(6)=119060324 ( 9.173 sec)
Roy van Rijn wrote:Yes, I should have mentioned, no en-passant and castling yet
Roy van Rijn wrote:Ok, thanks guys! For a starting engine (* in Java *) a week old it seems to be pretty good. Time to shift the focus onto e.p. and castling, I keep getting distracted with small optimization-opportunities.
My machine is a Dell M4500 laptop, Core i7 Q840 (1.87 quad core). Very happy with the quadcore with hyperthreading, but my engine is just a single thread heh.
What is the best way to make chess engine's work in a multi-core environment, just copy the whole board and let two seperate processes search from different startingpoints?
H.G.Muller wrote:I noticed that your times went up dramatically: 44 sec in stead of 7 for perft(6)...
Fritz Reul wrote:Hi
I am planning to port my Loop engine to Java, too. But as far as I know Java does not implement any unsigned 64-bit build-in type - is this correct?
Fritz
Gerd Isenberg wrote:Fritz Reul wrote:Hi
I am planning to port my Loop engine to Java, too. But as far as I know Java does not implement any unsigned 64-bit build-in type - is this correct?
Fritz
Hi Fritz,
yes, Java has only signed integers, char 8, short 16, int 32 and long 64 bit. To avoid right shifts with the sign bit, it has the >>> unsigned shift operator, always shifting in zeros (opposed to signed shift >>).
Gerd
Fritz Reul wrote:The motivation of translating Loop to you Java is my new Android mobile phone.
Return to Programming and Technical Discussions
Users browsing this forum: No registered users and 22 guests