Search found 1802 matches

by mar
Mon Sep 03, 2018 3:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Multithreaded batching on GPU for montecarlo and also alpha-beta
Replies: 4
Views: 515

Re: Multithreaded batching on GPU for montecarlo and also alpha-beta

Does anybody know the exact difference between sched_yield() and usleep(0) or in windows Sleep(0) and SwitchToThread()? I don't know about Linux, but there's an attempt to recreate open source version of Windows (including kernel) called ReactOS. I'm not sure how much it resembles Windows kernel/sc...
by mar
Sat Sep 01, 2018 11:53 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Texel tuning speed
Replies: 43
Views: 1483

Re: Texel tuning speed

Pawn cache helps, no doubt about that, I use it as well in my tuner. Your numbers indicate a speedup of 8% ((71.1-65.4)/71.1) for enabling eval cache. Ok, measurable at least but we can agree on the "not so stellar" :-) I think we can agree that the speedup would be 9% if you round properly :) Anyw...
by mar
Sat Sep 01, 2018 5:33 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Texel tuning speed
Replies: 43
Views: 1483

Re: Texel tuning speed

But we came from the question whether eval cache may help for texel tuning, and here I still believe that it has no measurable influence if I assume that duplicate positions with different game results do occur as an exception only, and with mostly unique positions and cache clearing after each par...
by mar
Fri Aug 31, 2018 7:48 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Texel tuning speed
Replies: 43
Views: 1483

Re: Texel tuning speed

I do not understand how an eval cache can help to speed up texel tuning. It depends on what positions you use, since I extracted the positions from actual self-play games, they weren't actually "random" positions but rather naturally sorted as the individual games progressed, that's why eval cache ...
by mar
Thu Aug 30, 2018 9:53 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Texel tuning speed
Replies: 43
Views: 1483

Re: Texel tuning speed

I think using eval cache when tuning is an error, each time you modify a term and call the evaluator you will get the cached value instead of the new value. The same holds for quiescence, if you use TT pruning in quiescence you have to disable it. Not at all, you clear it before each iteration, so ...
by mar
Thu Aug 30, 2018 7:23 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Texel tuning speed
Replies: 43
Views: 1483

Re: Texel tuning speed

I don't remember the times but IIRC eval cache helps a ton. Of course you want to parallelize as well.
Texel tuning is very fast because you don't have to play actual games.
by mar
Sun Aug 19, 2018 7:41 pm
Forum: Computer Chess Club: General Topics
Topic: Chess.com 2018 computer chess championship
Replies: 223
Views: 15384

Re: Chess.com 2018 computer chess championship

I'm quite familiar with hyperthreading. My concerns remain. :D Indeed, this shows the incompetence of the organizers by not understanding the difference between a logical and a physical core. I guess nobody even bothered to measure NPS ponder off vs ponder on (assuming running on the same machine),...
by mar
Sun Aug 19, 2018 7:45 am
Forum: Computer Chess Club: Tournaments and Matches
Topic: Lc0 strange results
Replies: 3
Views: 468

Re: Lc0 strange results

Werewolf wrote:
Sat Aug 18, 2018 8:10 pm
20 game match
What do you expect to get from 20 games except noise?
by mar
Sun Aug 12, 2018 10:28 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Opening book read speed
Replies: 17
Views: 812

Re: Opening book read speed

First of all, you don't have to read the whole book into memory, a waste of RAM and CPU resources, just as others pointed out already. Back to your (assume binary) book reader. A couple of things: 1) use unordered_map instead of map, I got 1.5x perf boost 2) in ReadBinary book you reconstruct the po...