Re: make -j with j <= 4 seems to only load a single CPU core

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

 



On Tue, 21 Feb 2006, Jesper Juhl wrote:

> On 2/21/06, Paul Fulghum <[email protected]> wrote:
>> On Tue, 2006-02-21 at 22:10 +0100, Jesper Juhl wrote:
>>
>>> I should probably mention that the kernel I'm currently running and
>>> observing this behaviour with is 2.6.16-rc4-mm1.
>> ...
>>>> I find this quite strange since anything from 'make -j 2' and up
>>>> should be able to keep both cores resonably busy, but there seems to
>>>> be a huge difference between j <= 4 and j > 4.
>>
>> I've seen the same thing (on Athlon 64x2 64 bit)
>> but was not sure if it was a problem.
>>
>> The break point for me seems to be between -j 2 and -j 3
>> -j 2 = serialized (or the appearance of)
>> -j 3 = both cores mostly busy
>>
>> I'm pretty sure with an earlier 2.6 kernel source (but same environment)
>> I did not see this. I'll start back tracking to earlier kernels
>> to see if I can identify when this started.
>>
>
> I know positively that I've seen this with previous 2.6.16-<something>
> kernels, but not sure which ones exactely. I just dismissed it as
> something that would probably be fixed soon and then today when I
> build a few test kernels I noticed it again and thought "ohh, so it
> didn't get fixed, better report it".
>
> I don't recall seeing it with 2.6.15 and earlier kernels, but I'm not
> at all sure - especially since I only got this Athlon X2 box recently
> and the first kernels I ever ran on it were 2.6.15-<something>.
>
> --
> Jesper Juhl <[email protected]>
> Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
> Plain text mails only, please      http://www.expita.com/nomime.html

Could it be, simply, that you are now I/O bound with nothing
for these CPUs to do in user-space, being busy handling the
kernel I/O?

Cheers,
Dick Johnson
Penguin : Linux version 2.6.13.4 on an i686 machine (5589.49 BogoMips).
Warning : 98.36% of all statistics are fiction.
_


****************************************************************
The information transmitted in this message is confidential and may be privileged.  Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited.  If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to [email protected] - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux