[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [dmidecode] Detecting dual-core processor
From: |
Jean Delvare |
Subject: |
Re: [dmidecode] Detecting dual-core processor |
Date: |
Mon, 12 Feb 2007 14:09:11 +0100 |
Hi Giulio,
On Thu, 19 Oct 2006 12:47:54 +0200, Giulio Orsero wrote:
> Linux 2.4
>
> How, if possible, to detect whether the running processor is a dual-core one
> using dmidecode?
The processor information in the DMI table relates to the physical
processors, and there is no flag to differenciate multi-core ones.
There is a flag to tell whether a processor supports hyper-threading
though.
You may use the processor family and/or signature, if these are
properly filled, to find out whether the processor is a multi-core one,
but you'll have to compare the values with the manufacturer
documentation by yourself.
> If there is a way to do it, does it depend (the detection) on the system
> running an smp kernel?
No, the DMI table is written by the BIOS before the OS is even started.
> Cannot look at /proc/cpuinfo since kernel 2.4 doesn't show the number of
> cores.
--
Jean Delvare
- Re: [dmidecode] Detecting dual-core processor,
Jean Delvare <=