help me in the csvn tournament

Discussion of chess software programming and technical issues.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
flok

Re: help me in the csvn tournament

Post by flok » Fri Nov 14, 2014 8:13 pm

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?

Modern Times
Posts: 2420
Joined: Thu Jun 07, 2012 9:02 pm

Re: help me in the csvn tournament

Post by Modern Times » Fri Nov 14, 2014 8:20 pm

flok wrote:[Would pthreads under cygwin require something special?
No idea, I don't know anything about either of those.

Modern Times
Posts: 2420
Joined: Thu Jun 07, 2012 9:02 pm

Re: help me in the csvn tournament

Post by Modern Times » Fri Nov 14, 2014 8:40 pm

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.

flok

Re: help me in the csvn tournament

Post by flok » Fri Nov 14, 2014 8:53 pm

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.

flok

Re: help me in the csvn tournament

Post by flok » Fri Nov 14, 2014 9:02 pm

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.

Modern Times
Posts: 2420
Joined: Thu Jun 07, 2012 9:02 pm

Re: help me in the csvn tournament

Post by Modern Times » Fri Nov 14, 2014 9:04 pm

I've booted this machine off a Ubuntu Live CD (typing this message under it). I'll see if I can run it that way

flok

Re: help me in the csvn tournament

Post by flok » Fri Nov 14, 2014 9:06 pm

Modern Times wrote:I've booted this machine off a Ubuntu Live CD (typing this message under it). I'll see if I can run it that way
According to google the live cd does a time sync at start. That may help.

Modern Times
Posts: 2420
Joined: Thu Jun 07, 2012 9:02 pm

Re: help me in the csvn tournament

Post by Modern Times » Fri Nov 14, 2014 9:15 pm

Much better -top shows up to about 385 percent CPU use, so the equivalent of 4 cores loaded of the six. Varies a bit, sometimes 200 percent.

Modern Times
Posts: 2420
Joined: Thu Jun 07, 2012 9:02 pm

Re: help me in the csvn tournament

Post by Modern Times » Sat Nov 15, 2014 9:54 am

No nearly so good today on the Linux Live CD, CPU usage pretty low, and string time 100-150

Joost Buijs
Posts: 990
Joined: Thu Jul 16, 2009 8:47 am
Location: Almere, The Netherlands

Re: help me in the csvn tournament

Post by Joost Buijs » Sat Nov 15, 2014 10:13 am

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.

Post Reply