Re: [PATCH] autodetect number of CPUs by default when using threads

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

 



Nicolas Pitre <nico@xxxxxxx> writes:

> I've spent quite a while wondering why repacking in one repo was faster 
> than repacking in a clone of that repo on the same machine.  So let's 
> display how many threads are actually used.
>
> We have comprehensive test in Makefile to determine if threads are 
> available, just to not use them by default.  I think that code has 
> proven itself for long enough now not to let people benefit from it.

Hmm, it does appear that distros compile with THREADED_DELTA_SEARCH turned
on (I only checked Fedora and Debian), and I tend to agree with "long
enough" but "proven itself" feels bit too strong a statement.

I think defaulting to autodetect is a good change.  I do not like to add
new output to stderr deep in -rc, though.

Can we park this in 'next' and move it to 'master' after 1.6.1?
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux