Search found 2007 matches

by Michael Sherwin
Tue Dec 11, 2018 5:41 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: fast(er) movegen
Replies: 24
Views: 641

Re: fast(er) movegen

Ratosh wrote:
Mon Dec 10, 2018 9:50 pm
Oh, i assumed it since most top engines use bitboard. What would be the reason why they would chose it over other options?
if(!(wPassed[sq] & bPawns)) score += PASSED_PAWN_BONUS;
by Michael Sherwin
Tue Dec 11, 2018 5:23 am
Forum: Computer Chess Club: General Topics
Topic: Are opening principles correct?
Replies: 20
Views: 962

Re: Are opening principles correct?

I imagine that Stockfish sees Qe7 Be3 Qd7 Bf4 as being the same as Qd7 Bf4 therefore Qe7 and Qd7 are equal with each other. The reason that Qe7 was chosen at that depth over Qd7 is most likely that Qe7 was searched first and Qd7 did not replace it.
by Michael Sherwin
Mon Dec 10, 2018 10:54 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: fast(er) movegen
Replies: 24
Views: 641

Re: fast(er) movegen

Michael Sherwin wrote:
Mon Dec 10, 2018 10:22 pm
gbtami wrote:
Mon Dec 10, 2018 10:16 pm
It would be very kind if you can put these sources to a github repo.
I'll see if I can figure out how to do that. But, I'm an old dog and it's not easy for me to learn new tricks, wuf wuf. :?
That cost $7 dollars a month. Does not seem worth it to me!
by Michael Sherwin
Mon Dec 10, 2018 10:39 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: fast(er) movegen
Replies: 24
Views: 641

Re: fast(er) movegen

Once in a while I'll overclock my CPU from 3.2 GHz to 4.6 GHz. I never did that for my move generator examples so I thought it might be interesting. Carnivor: 36,649,859 nodes/sec => 45,176,777 Halfwit: 25,930,980 nodes/sec => 32,259,852 Conundrum: 38,679,036 nodes/sec => 47,856,608 Godzilla: 66,799...
by Michael Sherwin
Mon Dec 10, 2018 10:22 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: fast(er) movegen
Replies: 24
Views: 641

Re: fast(er) movegen

gbtami wrote:
Mon Dec 10, 2018 10:16 pm
It would be very kind if you can put these sources to a github repo.
I'll see if I can figure out how to do that. But, I'm an old dog and it's not easy for me to learn new tricks, wuf wuf. :?
by Michael Sherwin
Mon Dec 10, 2018 10:09 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: fast(er) movegen
Replies: 24
Views: 641

Re: fast(er) movegen

For people that have no idea how to program a GPU, like me, I did some CPU perft examples about 15 years ago. On my computer, an i7-3930k, running at 3.2 GHz single threaded I get the following results. Stockfish 10 bench 6 1,697,099 nodes/sec My Examples: Every move made and unmade and no move coun...
by Michael Sherwin
Sun Nov 25, 2018 10:23 pm
Forum: Computer Chess Club: General Topics
Topic: AMD Threadripper 2990x seems out what is the gain vs 1950x ?
Replies: 38
Views: 4486

Re: AMD Threadripper 2990x seems out what is the gain vs 1950x ?

Anyway Crafty uses magic bitboards and does terrible nodes/second compared to Stockfish Do you have any data on that? I remember Crafty actually had probably the highest nps I ever saw (not so long ago). Anyway - comparing nps of two different engines is irrelevant, also it doesn't correlate well w...
by Michael Sherwin
Sun Nov 25, 2018 8:43 pm
Forum: Computer Chess Club: General Topics
Topic: AMD Threadripper 2990x seems out what is the gain vs 1950x ?
Replies: 38
Views: 4486

Re: AMD Threadripper 2990x seems out what is the gain vs 1950x ?

To gain the best advantage of the Threadripper 2990wx in a bitboard engine avoid magic bitboards or any other memory intensive variation. Also a smaller hash might result in better node/second performance. The reason for this is that there is a memory access bottleneck imposed on the 16 additional ...
by Michael Sherwin
Sun Nov 25, 2018 8:06 pm
Forum: Computer Chess Club: General Topics
Topic: AMD Threadripper 2990x seems out what is the gain vs 1950x ?
Replies: 38
Views: 4486

Re: AMD Threadripper 2990x seems out what is the gain vs 1950x ?

To gain the best advantage of the Threadripper 2990wx in a bitboard engine avoid magic bitboards or any other memory intensive variation. Also a smaller hash might result in better node/second performance. The reason for this is that there is a memory access bottleneck imposed on the 16 additional c...
by Michael Sherwin
Wed Nov 14, 2018 5:54 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Staged move generation and killers
Replies: 5
Views: 610

Re: Staged move generation and killers

I do not know if your engine is bitboard or not but what I do in RomiChess is store the move and capture bitboards without making a move list when moves are generated. So to validate any move or capture all I have to do is see if the toSq bit for any given piece is set. And because I do not want to ...