public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Mol <mikemol@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge -j, make -j and make -l
Date: Mon, 28 Nov 2011 13:54:44 -0500	[thread overview]
Message-ID: <CA+czFiAK0idQhqw--j2tregB1P7-pk1gaoMGfp9zgHnGfn7pgQ@mail.gmail.com> (raw)
In-Reply-To: <CA+czFiBP+czst5Ec+GLgXudCjiUA23ivAP4nFLQ89MxctM2n7w@mail.gmail.com>

On Mon, Nov 28, 2011 at 1:51 PM, Michael Mol <mikemol@gmail.com> wrote:
> On Mon, Nov 28, 2011 at 12:26 AM, Pandu Poluan <pandu@poluan.info> wrote:

[snip]

> FWIW, I strongly suspect that N should be your number of *logical*
> cores, not your number of physical cores. I believe most of the
> overhead

...and finishing my sentence.

I believe most of the overhead comes from context switching between
two threads, and hyperthreading adds CPU hardware specifically for the
purpose of avoiding that costly context switch when controlling which
thread's instructions get sent up the pipeline.


-- 
:wq



  reply	other threads:[~2011-11-28 18:57 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-26 15:22 [gentoo-user] emerge -j, make -j and make -l Michael Mol
2011-11-26 15:34 ` Alex Schuster
2011-11-26 15:51   ` Michael Mol
2011-11-26 16:03   ` Stefan G. Weichinger
2011-12-19 19:58     ` Stefan G. Weichinger
2011-12-19 20:05       ` Michael Mol
2011-11-26 15:35 ` Stefan G. Weichinger
2011-11-27  9:27 ` Mick
2011-11-27 10:09   ` Michael Mol
2011-11-27 17:56     ` Pandu Poluan
2011-11-27 20:16       ` Michael Mol
2011-11-27 20:42         ` Michael Mol
2011-11-27 20:51           ` Alex Schuster
2011-11-28  0:42             ` Pandu Poluan
2011-11-27 20:57         ` Alan McKinnon
2011-11-28  1:06         ` Pandu Poluan
2011-11-28  5:30           ` Michael Mol
2011-11-28  5:55             ` Pandu Poluan
2011-11-27 23:21       ` Neil Bothwick
2011-11-28  0:54         ` Pandu Poluan
2011-11-28  1:10           ` [gentoo-user] " Jack Byer
2011-11-28  1:35             ` Dale
2011-11-28  2:16               ` Pandu Poluan
2011-11-28  7:02                 ` Dale
2011-11-28  4:34           ` [gentoo-user] " Michael Mol
2011-11-28  5:13             ` Pandu Poluan
2011-11-28  5:27               ` Michael Mol
2011-11-28  9:27             ` Neil Bothwick
2011-11-28 13:36               ` Pandu Poluan
2011-11-28 16:36               ` Stefan G. Weichinger
2011-11-29 11:08                 ` Neil Bothwick
2011-11-29 13:47                   ` Stefan G. Weichinger
2011-11-29 15:39                     ` Neil Bothwick
2011-11-29 18:50                       ` Stefan G. Weichinger
2011-11-28  4:30         ` Michael Mol
2011-11-27 10:39   ` covici
2011-11-27 10:52     ` Michael Mol
2011-11-27 10:58     ` Dale
2011-11-27 14:47       ` covici
2011-11-27 15:02         ` Dale
2011-11-27 15:25           ` covici
2011-11-27 17:26 ` Michael Hampicke
2011-11-27 17:46   ` Pandu Poluan
2011-11-27 22:07 ` Mark Knecht
2011-11-27 23:13   ` Dale
2011-11-28  4:28   ` Michael Mol
2011-11-28  5:26     ` Pandu Poluan
2011-11-28  9:27       ` Neil Bothwick
2011-11-28 10:22         ` Pandu Poluan
2011-11-28 13:03           ` Jorge Martínez López
2011-11-28 13:26             ` Pandu Poluan
2011-11-28 18:51       ` Michael Mol
2011-11-28 18:54         ` Michael Mol [this message]
2011-11-28 23:53         ` Michael Mol
2011-12-10  4:35           ` Michael Mol
2011-12-27 15:16             ` Michael Mol

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=CA+czFiAK0idQhqw--j2tregB1P7-pk1gaoMGfp9zgHnGfn7pgQ@mail.gmail.com \
    --to=mikemol@gmail.com \
    --cc=gentoo-user@lists.gentoo.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