lkml.org 
[lkml]   [2005]   [Jun]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: How does 2.6 SMP scheduler initially assign a thread to a run queue?
FromSteven Rostedt <>
DateWed, 08 Jun 2005 15:25:22 -0400
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


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

\
 
 \ /
  Last update: 2005-06-08 19:29    [from the cache]
©2003-2008