Re: /proc/cpuinfo and hyperthreading

Brian Jackson (brian-kernel-list@mdrx.com)
Mon, 16 Dec 2002 07:54:53 -0600


You could always boot once with nosmp and run some benchmarks and then
reboot (with smp) and run some more benchmarks, and see if there is a
difference.

--Brian Jackson

Scott Robert Ladd writes:

> Zwane Mwaikambo wrote:
>> It's ok.
>
> I'm not so sure.
>
> To get the most benefit from two logical CPUs, don't I need the kernel to
> operate as a 2-CPU SMP system?
>
> Windows XP initializes the system as SMP with two CPUs; when I run an OpenMP
> application under Windows, it reports two CPUs and a maximum of two threads.
> Under Linux,
>
> Linux SMP should initialize based on the number of logical CPUS, not the
> physical number of ships; thus, I should be seeing two CPUs in
> /proc/cpuinfo, not one.
>
> ..Scott
>
> -
> 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/

-
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/