[Top][All Lists]

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

[Bug-gnubg] Multithreaded rollouts

From: Jonathan Kinsey
Subject: [Bug-gnubg] Multithreaded rollouts
Date: Thu, 08 Feb 2007 20:07:47 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20061207 Thunderbird/ Mnenhy/

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.

As this is reliant on the previous code, it probably won't work on linux
at present.


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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