From: Steven Rostedt <rostedt@goodmis.org>
To: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
Cc: linux-kernel@vger.kernel.org, helen monte <hzmonte@hotmail.com>,
lk <linux_kernel@patni.com>
Subject: Re: How does 2.6 SMP scheduler initially assign a thread to a run queue?
Date: Wed, 08 Jun 2005 15:25:22 -0400 [thread overview]
Message-ID: <1118258722.4482.2.camel@localhost.localdomain> (raw)
In-Reply-To: <20050608120325.A5554@unix-os.sc.intel.com>
On Wed, 2005-06-08 at 12:03 -0700, Siddha, Suresh B wrote:
> > > By the way, in an SMT/hyperthreading processor, does the latest kernel
> > > version assign one run queue per physical CPU, or per virtual
> > > processor?
> > >
> >
> > one run-queue per physical CPU
>
> No. Each logical processor has its own runqueue.
I think it is also worth mentioning that the sched domains are used to
help keep processes on the same physical CPU. Little cost associated to
moving a process from one logical CPU to a sibling, where as there is a
big cost in moving it to another physical CPU.
-- Steve
next prev parent reply other threads:[~2005-06-08 19:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-07 23:50 How does 2.6 SMP scheduler initially assign a thread to a run queue? helen monte
2005-06-08 12:41 ` lk
2005-06-08 19:03 ` Siddha, Suresh B
2005-06-08 19:25 ` Steven Rostedt [this message]
2005-06-09 6:32 ` How does 2.6 SMP scheduler assign runqueues to multi-cores? helen monte
2005-06-09 7:03 ` Nick Piggin
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=1118258722.4482.2.camel@localhost.localdomain \
--to=rostedt@goodmis.org \
--cc=hzmonte@hotmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux_kernel@patni.com \
--cc=suresh.b.siddha@intel.com \
/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