Modern Times wrote:OK, but the CPU doesn't get above about 16% across 8 cores, meaning the overall load is about 1 core only. Same situation on the other 6-cpu box.
No idea why it is happening.
The screendump shows that it detected 8 cores and also started 8 threads (you see 8 worker results).
Really odd.
Would pthreads under cygwin require something special?
Looks like Windows machines are no good to you, it clearly isn't working properly. On this 6-core box I'm seeing lots of screen output, but barely 1% CPU use.
Modern Times wrote:Looks like Windows machines are no good to you, it clearly isn't working properly. On this 6-core box I'm seeing lots of screen output, but barely 1% CPU use.
A friend sees 10-20% cpu on windows with 5k moves per second while my desktop does 34k per core.
Weird.
But everything helps! Even small counts.
Modern Times wrote:Looks like Windows machines are no good to you, it clearly isn't working properly. On this 6-core box I'm seeing lots of screen output, but barely 1% CPU use.
I had an epiphany: every time it calcs on a move, it first emits how long it is going to calculate.
What value do you see there?
It should be > 800ms, if not then maybe the clock of your pc is a bit off.
This often happens if it syncs against time.windows.com which is notoriously bad in time keeping.
I tried to run your executable on one of my Windows boxes and I have the same issue here. CPU usage < 1%.
The OS time was about 2 seconds off, I synchronized with nl.pool.ntp.org and that hardly made any difference.
There is clearly something broken in the Windows executable.
I would have liked to help you a little bit during the tourney, but as it is now it doesn't seem very useful.