Hi all,
I am looking for 64 bit version of Diablo 0.5.1
that will compete my 64 bit engines league.
TIA,
Diablo 0.5.1 x64 version?
Moderators: hgm, Rebel, chrisw
-
- Posts: 3533
- Joined: Tue Jan 09, 2007 8:33 pm
- Location: Antalya, Turkey
Diablo 0.5.1 x64 version?
hi, merhaba, hallo HT
-
- Posts: 1384
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Diablo 0.5.1 x64 version?
Hi Harun,beachknight wrote:Hi all,
I am looking for 64 bit version of Diablo 0.5.1
that will compete my 64 bit engines league.
TIA,
Diablo gains nothing from 64 bit being a non-bitboard based engine.
I can compile a 64 bit version for you though if you still wish it.
Jim.
-
- Posts: 2949
- Joined: Mon May 05, 2008 12:16 pm
- Location: Bordeaux (France)
- Full name: Julien Marcel
Re: Diablo 0.5.1 x64 version?
Hi Jim,
I have a question. Prédateur isn't bitboard based either, and the only 64bits-long variables are the hash keys. Wondering if that could speed it up, I compiled a 64bits version and noticed no visible speedup compared with the 32bits version. Is it a general case when only hash keys are involved (remember they do are updated at least one time, and often more than one time at each node of the tree, not counting their writing/reading from the hash tables and comparisons), or would it be a tip that I implemented them in a poor way?
(It's a FreePascal engine, btw).
I have a question. Prédateur isn't bitboard based either, and the only 64bits-long variables are the hash keys. Wondering if that could speed it up, I compiled a 64bits version and noticed no visible speedup compared with the 32bits version. Is it a general case when only hash keys are involved (remember they do are updated at least one time, and often more than one time at each node of the tree, not counting their writing/reading from the hash tables and comparisons), or would it be a tip that I implemented them in a poor way?
(It's a FreePascal engine, btw).
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
-
- Posts: 454
- Joined: Sat Apr 04, 2009 6:44 pm
- Location: Bulgaria
Re: Diablo 0.5.1 x64 version?
Pawny issued the same. The only way I've managed to speed up with 1-2%
for the 64-bit version (which is highly insignificant) was to switch from -O3 for the x86 to -O2 for the x64 PGO compile.
for the 64-bit version (which is highly insignificant) was to switch from -O3 for the x86 to -O2 for the x64 PGO compile.
-
- Posts: 1384
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Diablo 0.5.1 x64 version?
JuLieN wrote:Hi Jim,
I have a question. Prédateur isn't bitboard based either, and the only 64bits-long variables are the hash keys. Wondering if that could speed it up, I compiled a 64bits version and noticed no visible speedup compared with the 32bits version. Is it a general case when only hash keys are involved (remember they do are updated at least one time, and often more than one time at each node of the tree, not counting their writing/reading from the hash tables and comparisons), or would it be a tip that I implemented them in a poor way?
(It's a FreePascal engine, btw).
You could run a profiler on your engine code you could see how much time it spends in different parts of your program.
I wouldn't expect changing hash variables to 64 bit would make much speed difference.
I'll tell you what can give definite speed up in nps to non-bitboard engine,
and that it to change all possible ints to unsigned ints. I did this with the pawny src code and got big nps increase.
Jim.
-
- Posts: 2949
- Joined: Mon May 05, 2008 12:16 pm
- Location: Bordeaux (France)
- Full name: Julien Marcel
Re: Diablo 0.5.1 x64 version?
Ah, thanks, I'll check again about that. I remember I had a nps improvement by switching some Integers into SmallInt, too, but maybe it's specific to Pascal. (SmallInt are signed 16bits int). I found this a bit weird, as modern CPUs should handle 32bits values as good as 16bits ones... But, again, maybe it depends on the FPC compiler.
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
-
- Posts: 454
- Joined: Sat Apr 04, 2009 6:44 pm
- Location: Bulgaria
Re: Diablo 0.5.1 x64 version?
I thought about that some time ago, but back then I've decided to postpone this a bit, maybe i should consider it again. Thanks, Jim!Jim Ablett wrote:JuLieN wrote:Hi Jim,
I have a question. Prédateur isn't bitboard based either, and the only 64bits-long variables are the hash keys. Wondering if that could speed it up, I compiled a 64bits version and noticed no visible speedup compared with the 32bits version. Is it a general case when only hash keys are involved (remember they do are updated at least one time, and often more than one time at each node of the tree, not counting their writing/reading from the hash tables and comparisons), or would it be a tip that I implemented them in a poor way?
(It's a FreePascal engine, btw).
You could run a profiler on your engine code you could see how much time it spends in different parts of your program.
I wouldn't expect changing hash variables to 64 bit would make much speed difference.
I'll tell you what can give definite speed up in nps to non-bitboard engine,
and that it to change all possible ints to unsigned ints. I did this with the pawny src code and got big nps increase.
Jim.
-
- Posts: 1384
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Diablo 0.5.1 x64 version?
Hi Mincho,Mincho Georgiev wrote:I thought about that some time ago, but back then I've decided to postpone this a bit, maybe i should consider it again. Thanks, Jim!Jim Ablett wrote:JuLieN wrote:Hi Jim,
I have a question. Prédateur isn't bitboard based either, and the only 64bits-long variables are the hash keys. Wondering if that could speed it up, I compiled a 64bits version and noticed no visible speedup compared with the 32bits version. Is it a general case when only hash keys are involved (remember they do are updated at least one time, and often more than one time at each node of the tree, not counting their writing/reading from the hash tables and comparisons), or would it be a tip that I implemented them in a poor way?
(It's a FreePascal engine, btw).
You could run a profiler on your engine code you could see how much time it spends in different parts of your program.
I wouldn't expect changing hash variables to 64 bit would make much speed difference.
I'll tell you what can give definite speed up in nps to non-bitboard engine,
and that it to change all possible ints to unsigned ints. I did this with the pawny src code and got big nps increase.
Jim.
These are the important files in Pawny to change from int to unsigned int. Changes in other files were found to be of negative effect or
even detrimental to speed >
Code: Select all
'eval.c'
'endev.c'
'movegen.c'
'io.c'
'tt.c'
The only way I could make faster compiles was to change ints to unsigned.
Jim.
-
- Posts: 454
- Joined: Sat Apr 04, 2009 6:44 pm
- Location: Bulgaria
Re: Diablo 0.5.1 x64 version?
Thanks again, Jim! I will look into that. It appears that the warnings from the intel documentation sometimes are justified. In x86, O3 is doing the best job, in x64 however, O3 hurts performance exactly how this possibility is described by intel. This is source-code specific though and it is valid only in my case i guess. I.E. -O3 for x86, -O2 for x64 PGO's.
-
- Posts: 3533
- Joined: Tue Jan 09, 2007 8:33 pm
- Location: Antalya, Turkey
Re: Diablo 0.5.1 x64 version?
Yep. I wish. Thank you.Jim Ablett wrote:Hi Harun,beachknight wrote:Hi all,
I am looking for 64 bit version of Diablo 0.5.1
that will compete my 64 bit engines league.
TIA,
Diablo gains nothing from 64 bit being a non-bitboard based engine.
I can compile a 64 bit version for you though if you still wish it.
Jim.
Apart from only one group, I'll not test 32 bit engines to save
computer time.
Best,
hi, merhaba, hallo HT