[ale] CPU question, dual core?

Mike Kachline mkachline at gmail.com
Sun Jul 2 10:40:48 EDT 2006


On 6/30/06, Michael Smith <msmith at mikeandmel.com> wrote:
>
> I have the exact same setup(motherboard and processor) and I have wondered
> the same thing.  When I have it booted into windows I can see 2 processors
> in the task manager and I

<snip>

> cpu board. /proc/cpuinfo shows both CPUs as
>    vendor_id       : GenuineIntel
>    cpu family      : 15
>    model           : 4
>    model name      : Intel(R) Pentium(R) 4 CPU 3.00GHz
>
>
> Yes, you want to use a linux "smp" kernel for hyperthreaded CPUs. Doing
so, you will see two "CPUs" show up.

Some wiser folks may correct me here, but, my distilled understanding of
using "a single CPU which is dual core" versus "two CPUs which are each
single core" is that "dual core" CPUs are better geared towards applications
which are multi-threaded (concurrent code execution, yet, sharing the same
process memory space). Whereas "multiple CPUs" are still better at handling
a number of seperate processes (concurrent code execution, each with it's
own memory space).

[kachline at www ~]$ cat /proc/cpuinfo
vendor_id       : GenuineIntel
model name      : Intel(R) Pentium(R) 4 CPU 2.00GHz
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm

I'm pretty sure that, if you "cat /proc/cpuinfo" and see a flag of "ht",
then the CPU is hyperthread capable; you'd have to verify this, however.

   - Mike

-- 
Mike Kachline
mkachline at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...




More information about the Ale mailing list