Re: THREADED_DELTA_SEARCH
On Thu, Jul 10, 2008 at 08:51:06AM +0000, Jakub Narebski wrote:
Show 11 quoted lines
> Pierre Habouzit <madcoder@debian.org> writes:
>
> > I'm using it in production for quite a long time now, and I wonder if
> > there is any specific reason why it's not default. Debian activated it
> > by default too a couple of weeks ago, which means that it's in
> > production on quite a large scale, and there are no issues reported
> > either. Would a patch making it default be accepted ? It's quite handy
> > given that SMP machines are really pervasive nowadays…
>
> Doues our ./configure detects if it makes sense (i.e. if it is SMP
> machine)?
I don't know if it does, but it wouldn't make sense for distros.
> What is the cost of THREADED_DELTA_SEARCH for single processor
> single core machine?
Threading has to be enabled in the configuration, and there is a
--thread=0 mode that enables autodetection of the number of CPUs online.
so there is no overhead for single CPU systems.
--
·O· Pierre Habouzit
··O madcoder@debian.org
OOO http://www.madism.org