Search found 504 matches

by D Sceviour
Fri Mar 27, 2020 4:48 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: experiencing Lag in Arena, AMD 3900X build
Replies: 5
Views: 274

Re: experiencing Lag in Arena, AMD 3900X build

My intuition tells me this is a memory problem. Open the task manager and check memory allocations after "2 or 3 hours" as you claim. The problem may not be attached to the AMD board, but rather to a new engine you are using.
by D Sceviour
Sat Mar 21, 2020 5:41 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Covid-19, Chess and Threading
Replies: 2
Views: 467

Re: Covid-19, Chess and Threading

IBM is offering a contest for developers to write programs about Covid-19: https://developer.ibm.com/blogs/the-2020-call-for-code-global-challenge-takes-on-covid-19/ Most virus modeling programs are colorful extensions of statistical graphs predicting trend lines. I know little about actual virus mo...
by D Sceviour
Sat Mar 21, 2020 9:32 am
Forum: Computer Chess Club: General Topics
Topic: When will the chess programmers write an engine that plans ?
Replies: 198
Views: 5409

Re: When will the chess programmers write an engine that plans ?

I mean that creates a plan and develops a main line that leads to something. Not the usual engines we have today. That play chess within a Horizont of search depth. There are a lot of plans that programs follow. First: (1) To checkmate the other side. More and more, engines are announcing mate even...
by D Sceviour
Sat Mar 21, 2020 12:04 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Covid-19, Chess and Threading
Replies: 2
Views: 467

Covid-19, Chess and Threading

As the world puts itself into self-isolation over the Covid-19 pandemic, there is plenty of time to catch up on the latest stuff going on in chess. I have been doing exhaustive tests on trying to improve the search algorithm with multiple threads. So far little substantial has been found but I think...
by D Sceviour
Fri Mar 20, 2020 10:53 pm
Forum: Computer Chess Club: General Topics
Topic: When will the chess programmers write an engine that plans ?
Replies: 198
Views: 5409

Re: When will the chess programmers write an engine that plans ?

I mean that creates a plan and develops a main line that leads to something. Not the usual engines we have today. That play chess within a Horizont of search depth. There are a lot of plans that programs follow. First: (1) To checkmate the other side. More and more, engines are announcing mate even...
by D Sceviour
Wed Mar 11, 2020 6:55 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Removing Large Arrays
Replies: 36
Views: 3613

Re: Removing Large Arrays

Without demonstration inside the stockfish code, using a profiler to see where the time is really going, the trivial tests are meaningless. When there are a hundred arrays and large data objects all competing for the cache, the code will behave very differently from when things are all sitting nice...
by D Sceviour
Wed Mar 11, 2020 3:25 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Removing Large Arrays
Replies: 36
Views: 3613

Re: Removing Large Arrays

This doesn't show what you want it to. As others have pointed out, the array won't always be in L1 cache like in your test. Accessing the array in-order is probably an advantage. Finally, the loops are vectorized by gcc - the performance is nothing like what you'd see in SF. What is trying to be de...
by D Sceviour
Wed Mar 11, 2020 2:20 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Removing Large Arrays
Replies: 36
Views: 3613

Re: Removing Large Arrays

Often, I test the speed of different function methods. The results indicate the fixed array PushToEdges[] seems to be faster on average: 10 second test ... PushToEdges 16519006400 push_to_edge 16610155136 The optimizer can remove what we are testing because the results are unused. (warning: variabl...
by D Sceviour
Tue Mar 10, 2020 9:00 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Removing Large Arrays
Replies: 36
Views: 3613

Re: Removing Large Arrays

Often, I test the speed of different function methods. The results indicate the fixed array PushToEdges[] seems to be faster on average: 10 second test ... PushToEdges 16519006400 push_to_edge 16610155136 In a real chess program with many instances fighting for the caches, things may turn out diffe...
by D Sceviour
Tue Mar 10, 2020 7:55 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Removing Large Arrays
Replies: 36
Views: 3613

Re: Removing Large Arrays

Often, I test the speed of different function methods. The results indicate the fixed array PushToEdges[] seems to be faster on average: 10 second test ... PushToEdges 16519006400 push_to_edge 16610155136 nonsense, the compiler completely eliminates the inner loops, so it boils down to nothing (bus...