bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Re: Getting gnubg to use all available cores


From: Michael Petch
Subject: Re: [Bug-gnubg] Re: Getting gnubg to use all available cores
Date: Fri, 07 Aug 2009 02:02:55 -0600
User-agent: Microsoft-Entourage/12.20.0.090605

On 07/08/09 1:36 AM, "Christian Anthon" <address@hidden> wrote:

> Hi Michael,
> 
> thx for investigating this. My answer would have been along the lines
> of "beyond our control". Jon coded most of the threading stuff and I
> believe that the MAX_NUMTHREADS is indeed somewhat arbitrary. However
> I believe there is a bit of memory consumption and possible also extra
> cpu time involved in setting it higher. Hopefully Jon will pitch in.
> 

You are right about overhead. There is the resource overhead (extra memory),
runtime threading overhead, and as the cores increase on SMP system there is
the contention overhead of all the memory requests coming from all the
processors across the same bus (with current SMP/FSB architectures)

Its going to be rather interesting to see performance numbers for GnuBG on
systems with 32+ cores and Numa architectures (Nehalem/QPI for example). I
think the shared memory design we use for every thread could still be a
bottleneck for scalability. The question for me would be, at what point do
additional extra cores provide little in the way of performance gains.

Some day I think we might have to re-evaluate how we process data in a given
thread, but likely we have some breathing room before someone here is
running GnuBG on a 128 Core desktop system. The next 5-10 years could be
interesting.

Michael






reply via email to

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