Re: type de cpu
Revolver Onslaught a écrit :
Gaëtan PERRIER a écrit :
Le Thu, 17 Jul 2008 17:18:05 +0200
"Revolver Onslaught" <revolver.onslaught@gmail.com> a écrit:
Bonjour,
Existe-t-il un moyen de connaître le type de CPU sur une machine ? Pas
moyen d'établir une correspondance avec les infos retournées par
cat /proc/cpuinfo
Pourquoi? Le model name ne convient pas?
Gaëtan
Disons que je n'arrive pas à décoder les infos renvoyés par cpuinfo... ;-(
RO
???
comment ca tu ne réussi pas a décoder les infos...
En effet ca dépend du type de machine...
moi par exemple sur ma machine (passerelle/routeur/) j'ai ca :
emond@emond:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 11
model name : Intel(R) Pentium(R) III CPU family 1266MHz
stepping : 1
cpu MHz : 1266.369
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx
fxsr sse up
bogomips : 2534.44
clflush size : 32
C'est simple c'est un Intel Pentium III CPU qui tourne a 1266MHz !
Mai, j'ai également une autre machine (beaucoup plus puissante ;) ) et la le
résultat est moins lisible et fiable... :
emond@calcul:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
stepping : 7
cpu MHz : 1600.138
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor
ds_cpl vmx tm2 cx16 xtpr lahf_lm
bogomips : 3202.92
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
stepping : 7
cpu MHz : 1600.138
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor
ds_cpl vmx tm2 cx16 xtpr lahf_lm
bogomips : 3200.36
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
stepping : 7
cpu MHz : 1600.138
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor
ds_cpl vmx tm2 cx16 xtpr lahf_lm
bogomips : 3200.44
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
stepping : 7
cpu MHz : 1600.138
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor
ds_cpl vmx tm2 cx16 xtpr lahf_lm
bogomips : 3200.43
processor : 4
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
stepping : 7
cpu MHz : 1600.138
cache size : 4096 KB
physical id : 1
siblings : 4
core id : 0
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor
ds_cpl vmx tm2 cx16 xtpr lahf_lm
bogomips : 3200.39
processor : 5
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
stepping : 7
cpu MHz : 1600.138
cache size : 4096 KB
physical id : 1
siblings : 4
core id : 1
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor
ds_cpl vmx tm2 cx16 xtpr lahf_lm
bogomips : 3200.42
processor : 6
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
stepping : 7
cpu MHz : 1600.138
cache size : 4096 KB
physical id : 1
siblings : 4
core id : 2
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor
ds_cpl vmx tm2 cx16 xtpr lahf_lm
bogomips : 3200.40
processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
stepping : 7
cpu MHz : 1600.138
cache size : 4096 KB
physical id : 1
siblings : 4
core id : 3
cpu cores : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36
clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor
ds_cpl vmx tm2 cx16 xtpr lahf_lm
bogomips : 3200.42
Et la c'est moins simple... il dit qu'il y a 2 CPU 4 coeurs... mais il se plante
pour le fréquence... mes CPU sont a 2.8GHz et pas à 1.6GHz...
calcul:/home/emond# lshw -short
H/W path Device Class Description
========================================================
system X7DBP
/0 bus X7DBP
/0/0 memory 106KB BIOS
/0/4 processor Intel(R) Xeon(R) CPU E5310 @1.60GHz
/0/4/6 memory 16KB L1 cache
/0/4/7 memory 8MB L2 cache
/0/4/5.1 processor Logical CPU
/0/4/5.2 processor Logical CPU
/0/4/5.3 processor Logical CPU
/0/4/5.4 processor Logical CPU
/0/5 processor Intel(R) Xeon(R) CPU E5310 @1.60GHz
/0/5/8 memory 16KB L1 cache
/0/5/9 memory 8MB L2 cache
/0/5/5.1 processor Logical CPU
/0/5/5.2 processor Logical CPU
/0/5/5.3 processor Logical CPU
/0/5/5.4 processor Logical CPU
/0/15 memory 2GB System Memory
/0/15/0 memory 1GB DIMM Synchronous 667 MHz (1.5 ns)
/0/15/1 memory DIMM Synchronous 667 MHz (1.5 ns)
[empty]
/0/15/2 memory 1GB DIMM Synchronous 667 MHz (1.5 ns)
/0/15/3 memory DIMM Synchronous 667 MHz (1.5 ns)
[empty]
/0/15/4 memory DIMM Synchronous 667 MHz (1.5 ns)
[empty]
/0/15/5 memory DIMM Synchronous 667 MHz (1.5 ns)
[empty]
/0/15/6 memory DIMM Synchronous 667 MHz (1.5 ns)
[empty]
/0/15/7 memory DIMM Synchronous 667 MHz (1.5 ns)
[empty]
/0/100 bridge 5000P Chipset Memory Controller Hub
/0/100/2 bridge 5000 Series Chipset PCI Express x8
Port 2-3
/0/100/2/0 bridge 6311ESB/6321ESB PCI Express
Upstream Port
/0/100/2/0/0 bridge 6311ESB/6321ESB PCI Express
Downstream Port E1
/0/100/2/0/0/0 bridge 6702PXH PCI Express-to-PCI Bridge A
/0/100/2/0/2 bridge 6311ESB/6321ESB PCI Express
Downstream Port E3
/0/100/2/0/2/0 eth0 network 631xESB/632xESB DPT LAN Controller
Copper
/0/100/2/0/2/0.1 eth1 network 631xESB/632xESB DPT LAN Controller
Copper
/0/100/2/0.3 bridge 6311ESB/6321ESB PCI Express to
PCI-X Bridge
/0/100/4 bridge 5000 Series Chipset PCI Express x8
Port 4-5
/0/100/6 bridge 5000 Series Chipset PCI Express x8
Port 6-7
/0/100/6/0 scsi0 storage 3ware Inc
/0/100/6/0/0.0.0 /dev/sda disk 465GB 9650SE-4LP DISK
/0/100/6/0/0.0.0/1 /dev/sda1 disk Linux filesystem partition
/0/100/6/0/0.0.0/2 /dev/sda2 disk 465GB Extended partition
/0/100/6/0/0.0.0/2/5 /dev/sda5 disk Linux filesystem partition
/0/100/6/0/0.0.0/2/6 /dev/sda6 disk Linux filesystem partition
/0/100/6/0/0.0.0/2/7 /dev/sda7 disk Linux swap / Solaris partition
/0/100/6/0/0.0.0/2/8 /dev/sda8 disk Linux filesystem partition
/0/100/6/0/0.0.0/2/9 /dev/sda9 disk Linux filesystem partition
/0/100/6/0/0.0.0/2/a /dev/sda10 disk Linux filesystem partition
/0/100/6/0/0.0.0/2/b /dev/sda11 disk Linux filesystem partition
/0/100/6/0/0.0.0/2/c /dev/sda12 disk Linux filesystem partition
/0/100/6/0/0.0.0/2/d /dev/sda13 disk Linux filesystem partition
/0/100/8 system 5000 Series Chipset DMA Engine
/0/100/1d bus 631xESB/632xESB/3100 Chipset UHCI
USB Controller #1
/0/100/1d/1 usb1 bus UHCI Host Controller
/0/100/1d/1/1 input USB Optical Mouse
/0/100/1d/1/2 input Cymotion Master Linux Keyboard
/0/100/1d.1 bus 631xESB/632xESB/3100 Chipset UHCI
USB Controller #2
/0/100/1d.1/1 usb2 bus UHCI Host Controller
/0/100/1d.2 bus 631xESB/632xESB/3100 Chipset UHCI
USB Controller #3
/0/100/1d.2/1 usb3 bus UHCI Host Controller
/0/100/1d.7 bus 631xESB/632xESB/3100 Chipset EHCI
USB2 Controller
/0/100/1d.7/1 usb4 bus EHCI Host Controller
/0/100/1e bridge 82801 PCI Bridge
/0/100/1e/1 display ES1000
/0/100/1f bridge 631xESB/632xESB/3100 Chipset LPC
Interface Controller
/0/100/1f.1 storage 631xESB/632xESB IDE Controller
/0/100/1f.1/0 ide0 bus IDE Channel 0
/0/100/1f.1/0/1 /dev/hdb disk MATSHITADVD-ROM SR-8178
/0/100/1f.1/0/1/0 /dev/hdb disk
/0/100/1f.3 bus 631xESB/632xESB/3100 Chipset SMBus
Controller
/0/101 bridge 5000 Series Chipset Error Reporting
Registers
/0/102 bridge 5000 Series Chipset Error Reporting
Registers
/0/103 bridge 5000 Series Chipset Error Reporting
Registers
/0/104 bridge 5000 Series Chipset Reserved Registers
/0/105 bridge 5000 Series Chipset Reserved Registers
/0/106 bridge 5000 Series Chipset FBD Registers
/0/107 bridge 5000 Series Chipset FBD Registers
Reply to: