Cat /proc/cpuinfo fiable à 100% ?

Bonjour,
Pour un ami j’ai pris cette carte mère : GA-GC330UD
gigabyte.fr/Products/Motherb … GA-GC330UD

Son CPU : Supports 45nm Intel Atom 330 dual core Processor.

Mais voila ce que me donne cat /proc/cpuinfo

[code]processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel® Atom™ CPU 330 @ 1.60GHz
stepping : 2
cpu MHz : 1600.212
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
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 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips : 3200.42
clflush size : 64
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel® Atom™ CPU 330 @ 1.60GHz
stepping : 2
cpu MHz : 1600.212
cache size : 512 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 2
initial apicid : 2
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 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips : 3199.96
clflush size : 64
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel® Atom™ CPU 330 @ 1.60GHz
stepping : 2
cpu MHz : 1600.212
cache size : 512 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 2
apicid : 3
initial apicid : 3
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 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips : 3200.06
clflush size : 64
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel® Atom™ CPU 330 @ 1.60GHz
stepping : 2
cpu MHz : 1600.212
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 2
apicid : 1
initial apicid : 1
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 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm lahf_lm
bogomips : 3199.92
clflush size : 64
power management:

[/code]

Et voila un top avec le lancement de 3 instance de folding@home:

Tasks: 111 total,   5 running, 106 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.1%us,  0.0%sy, 74.5%ni, 25.5%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1025640k total,   307028k used,   718612k free,    27932k buffers
Swap:  1951888k total,        0k used,  1951888k free,   204732k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2256 folding1  39  19 20036  11m 1192 R  100  1.1  34:12.80 FahCore_78.exe
 2858 folding3  39  19 20084  11m 1220 R  100  1.1   0:29.89 FahCore_78.exe
 2389 folding2  39  19 20016  11m 1220 R   99  1.1  24:12.45 FahCore_78.exe
 2854 folding3  20   0  2456 1144  880 R    0  0.1   0:00.36 top
    1 root      20   0  2036  680  592 S    0  0.1   0:01.20 init
    2 root      15  -5     0    0    0 S    0  0.0   0:00.00 kthreadd
    3 root      RT  -5     0    0    0 S    0  0.0   0:00.00 migration/0
    4 root      15  -5     0    0    0 S    0  0.0   0:00.00 ksoftirqd/0
    5 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/0
    6 root      RT  -5     0    0    0 S    0  0.0   0:00.00 migration/1
    7 root      15  -5     0    0    0 S    0  0.0   0:00.00 ksoftirqd/1
    8 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/1
    9 root      RT  -5     0    0    0 S    0  0.0   0:00.00 migration/2
   10 root      15  -5     0    0    0 S    0  0.0   0:00.00 ksoftirqd/2
   11 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/2
   12 root      RT  -5     0    0    0 S    0  0.0   0:00.00 migration/3
   13 root      15  -5     0    0    0 S    0  0.0   0:00.00 ksoftirqd/3
   14 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/3

Je suis bien à 300% …

Ca veut dire que j’ai un 4 coeurs ?
Ca me semble vraiment étrange.

Salut,

cat de cpuinfo lit ce qui a été détecté alors que top essaye de prendre une photo de chaque action (l’une après l’autre) et donc à des instants rapprochés mais différents :slightly_smiling:
Ce qui dans ton cas et lu rapidement peut amener à des aberrations :smiley:

Salut,

Virtuellement oui (car Hyper Treading : technologie Intel présente sur certains de ses processeurs qui double virtuellement les cœurs), mais physiquement c’est bien un double cœur.

L’hyperthreading si j’ai bien compris consiste à ce qu’une unité centrale fasse deux calculs en même temps (pour peu qu’il n’y ait pas de collisions), un peu comme si un menuisier n’utilisant que rarement deux outils en même temps, on lui demande de faire deux travails en même temps, donc avec deux coeurs cela fait 4 processus potentiels qui peuvent tourner en parallèle (réellement). Tu peux approcher le 400%.