Re: sched /HT processor

From: Steven Rostedt
Date: Sat Apr 02 2005 - 23:23:55 EST


On Sun, 2005-04-03 at 07:46 +0530, Arun Srinivas wrote:
> I attached the 'dmesg' output because there it shows that my kernel
> recogonized 2 cpu's.As said earlier , are they treated as 2 physical cpu's
> or logical cpu's?
>

As I said, they are logical

[snip]

> > > available
> > > Apr 2 17:43:12 kulick2 kernel: CPU#1: Thermal monitoring enabled
> > > Apr 2 17:43:12 kulick2 kernel: CPU1: Intel(R) Pentium(R) 4 CPU 3.00GHz
> > > stepping 09
> > > Apr 2 17:43:12 kulick2 kernel: Total of 2 processors activated
> >(11911.16
> > > BogoMIPS).
> > > Apr 2 17:43:12 kulick2 kernel: cpu_sibling_map[0] = 1
> > > Apr 2 17:43:12 kulick2 kernel: cpu_sibling_map[1] = 0
> >
> >Here you see that you have two CPUs. 0 is the sibling of 1 and 1 to 0.
> >This just shows that you have HT. If you were to have a dual xeon, then
> >you would see 4 CPUs and two pairs.
> >
> >-- Steve
> >
>

I'll elaborate more. This says that you have a single CPU with
hyperthreading. That's what the siblings mean. That they share a single
physical CPU.

-- Steve


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