From: "Jesper Juhl" <jesper.juhl@gmail.com>
To: "linux-os (Dick Johnson)" <linux-os@analogic.com>
Cc: "Paul Fulghum" <paulkf@microgate.com>,
"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>,
"Sam Ravnborg" <sam@ravnborg.org>,
"Andrew Morton" <akpm@osdl.org>
Subject: Re: make -j with j <= 4 seems to only load a single CPU core
Date: Tue, 21 Feb 2006 22:59:33 +0100 [thread overview]
Message-ID: <9a8748490602211359m241aaff0v4f727bf0746e4829@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0602211653070.6016@chaos.analogic.com>
On 2/21/06, linux-os (Dick Johnson) <linux-os@analogic.com> wrote:
>
> On Tue, 21 Feb 2006, Jesper Juhl wrote:
>
> > On 2/21/06, Paul Fulghum <paulkf@microgate.com> 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 <jesper.juhl@gmail.com>
> > 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?
>
I doubt it.
If that was the case then I should be I/O bound with 'make -j 4' and
even more so with 'make -j 5'. But what I'm seeing is that with 'make
-j 4' (and less) only ~50% of my CPU resources are being used but with
'make -j 5' I get close to 100% CPU utilization.
--
Jesper Juhl <jesper.juhl@gmail.com>
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
next prev parent reply other threads:[~2006-02-21 21:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-21 21:02 Jesper Juhl
2006-02-21 21:10 ` Jesper Juhl
2006-02-21 21:42 ` Paul Fulghum
2006-02-21 21:47 ` Paul Fulghum
2006-02-21 21:51 ` Jesper Juhl
2006-02-21 21:54 ` linux-os (Dick Johnson)
2006-02-21 21:59 ` Jesper Juhl [this message]
2006-02-21 22:02 ` Jesper Juhl
2006-02-21 22:15 ` Sam Ravnborg
2006-02-21 22:18 ` Jesper Juhl
2006-02-23 19:44 ` Jan Engelhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9a8748490602211359m241aaff0v4f727bf0746e4829@mail.gmail.com \
--to=jesper.juhl@gmail.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-os@analogic.com \
--cc=paulkf@microgate.com \
--cc=sam@ravnborg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®