Search found 17956 matches

by hgm
Wed Oct 30, 2019 4:49 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ubuntu Shell file
Replies: 7
Views: 781

Re: Ubuntu Shell file

A script cd 'path' ./configure make sudo make install Should work without problems; the effect of the 'cd' would remain valid within the same script. The shell that had executed it would only terminate when it reaches the end of the script. After that the shell from which you invoked the script woul...
by hgm
Wed Oct 30, 2019 3:20 pm
Forum: Computer Chess Club: General Topics
Topic: Tactics cannot be very important for chess
Replies: 90
Views: 4661

Re: Tactics cannot be very important for chess

"Tactics is what you do when there is something to do. Strategy is what you do when there is nothing to do." BTW, the NN engines do not prove that tactics is not important. They prove they can avoid it against conventional engines. But the conventional engineswere never tuned to seek tactical comple...
by hgm
Tue Oct 29, 2019 7:44 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Decreasing Depth in MultiPV?
Replies: 14
Views: 1365

Re: Decreasing Depth in MultiPV?

I typically implement multi-PV by adding a few statements in the code that prints a newly found PV (and is thus only executed in the root). Normally alpha-beta would set alpha = bestScore just before this (after a score > alpha was found). The extra statements just lower alpha. As I control multi-PV...
by hgm
Tue Oct 29, 2019 3:09 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI Win/Draw/Loss reporting
Replies: 65
Views: 4150

Re: UCI Win/Draw/Loss reporting

What is the usual policy of interfaces for UCI_ prefixed options they do not know? Are these completely ignored, or are they treated as any other engine-defined option, shown in the Engine Settings dialog? If the latter (which is also what UCI2WB does) is common, it might be better if you used the p...
by hgm
Tue Oct 29, 2019 2:18 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Decreasing Depth in MultiPV?
Replies: 14
Views: 1365

Re: Decreasing Depth in MultiPV?

If you know at what point you'll stop the analysis, say, Depth 30, then there's much faster methods to get to know the top N moves than leaving it on MultiPV to Depth 30, mainly, analyze best move to Depth 30, then exclude it from analysis and let the second one to reach Depth 30 (which will do it ...
by hgm
Tue Oct 29, 2019 2:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Ubuntu Shell file
Replies: 7
Views: 781

Re: Ubuntu Shell file

This is because commands you execute from the shell are first forked off as a new process. What you do in that new process does not affect your original shell. A 'cd' command is one of the exceptions to that; it is executed by the shell process itself (or it would not have any lasting effect). When ...
by hgm
Tue Oct 29, 2019 12:28 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Decreasing Depth in MultiPV?
Replies: 14
Views: 1365

Re: Decreasing Depth in MultiPV?

I don't get it. If you search the moves one by one to full depth, you would not know that the second move is poor before you already have searched it to completion. Or do you want to save time by refraining from searching the 3rd and 4th move in that case. For that reason I usually control multi-PV ...
by hgm
Mon Oct 28, 2019 9:14 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pawn hash table, a little disappointment
Replies: 15
Views: 1349

Re: Pawn hash table, a little disappointment

xr_a_y wrote:
Mon Oct 28, 2019 8:19 pm
Pawn + King hash but not really storing King things for now
But that explains the low hit rate.
by hgm
Mon Oct 28, 2019 7:31 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pawn hash table, a little disappointment
Replies: 15
Views: 1349

Re: Pawn hash table, a little disappointment

In KingSlayer I use a 1MB table, but the entry size is only 32 bytes. So in the end I have more entries than your 4MB. But not much more. An 83% hit rate seems a bit low. But even then, you should have reduced the time spent in executing Pawn-evaluation code by a factor 6. The only cost is the updat...
by hgm
Mon Oct 28, 2019 6:31 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pawn hash table, a little disappointment
Replies: 15
Views: 1349

Re: Pawn hash table, a little disappointment

How large is your table in MB? Making it so large that it cannot be easily contained in the L3 cache could be very counter-productive. Because most accesses would be very much slower, while the extra size would hardly give you any extra hits. Because even the small table might have a hit rate of 95%...