Re: How does 2.6 SMP scheduler initially assign a thread to a run queue?

From: Steven Rostedt (rostedt_at_goodmis.org)
Date: 06/08/05

  • Next message: Ingo Molnar: "Re: [patch] Real-Time Preemption, -RT-2.6.12-rc6-V0.7.48-00"
    To: "Siddha, Suresh B" <suresh.b.siddha@intel.com>
    Date:	Wed, 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/


  • Next message: Ingo Molnar: "Re: [patch] Real-Time Preemption, -RT-2.6.12-rc6-V0.7.48-00"

    Relevant Pages