[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Bug-gnubg] Multithreaded rollouts

From: Ian Shaw
Subject: RE: [Bug-gnubg] Multithreaded rollouts
Date: Fri, 9 Feb 2007 09:10:18 -0000

> I've made the rollout code multithread, I've left a copy of 
> the old code so compiling with USE_MULTITHRAED=0 should be 
> the same as before.
> It was quite straight-forward, I've made each thread do 
> trials independently, it just took a bit of thinking about 
> which trial each thread was doing.  One thing I didn't do was 
> the catching up of a candidate if it fails back within a jsd 
> range (I doubt this is important, it could be done if it is).
> I was amazed that the results of a couple of tests were 
> exactly the same
> (single/multithreaded) and got a bit under 90% speed 
> improvement on a dual core machine.

Way to go, Jon!

Mmmm, Dual Core... Must have dual core (drool).

-- Ian

reply via email to

[Prev in Thread] Current Thread [Next in Thread]