Taille du "cache L2" retournée par "dmidecode", "lscpu",

Bonjour.

Je viens d’acheter et monter un Q9550 sur une carte mère Asus P5KPL-AM EPU.
Puis j’ai installé une Wheezy, et j’ai lancé dmidecode.
voilà ce que donnent les premières lignes:

[code]root@deb9550:~# dmidecode

dmidecode 2.11

SMBIOS 2.5 present.
53 structures occupying 1938 bytes.
Table at 0x000F06A0.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: American Megatrends Inc.
Version: 0501
Release Date: 08/20/2010
Address: 0xF0000
Runtime Size: 64 kB
ROM Size: 1024 kB
Characteristics:
ISA is supported
PCI is supported
PNP is supported
APM is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
LS-120 boot is supported
ATAPI Zip drive boot is supported
BIOS boot specification is supported
Targeted content distribution is supported
BIOS Revision: 8.12

Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: System manufacturer
Product Name: System Product Name
Version: System Version
Serial Number: System Serial Number
UUID: C08767CA-4867-DE11-A2FC-0026186131CB
Wake-up Type: Power Switch
SKU Number: To Be Filled By O.E.M.
Family: To Be Filled By O.E.M.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: ASUSTeK Computer INC.
Product Name: P5KPL-AM EPU
Version: x.0x
Serial Number: 100648340001024
Asset Tag: To Be Filled By O.E.M.
Features:
Board is a hosting board
Board is replaceable
Location In Chassis: To Be Filled By O.E.M.
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0

Handle 0x0003, DMI type 3, 21 bytes
Chassis Information
Manufacturer: Chassis Manufacture
Type: Desktop
Lock: Not Present
Version: Chassis Version
Serial Number: Chassis Serial Number
Asset Tag: Asset-1234567890
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000001
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0

Handle 0x0004, DMI type 4, 40 bytes
Processor Information
Socket Designation: Socket 775
Type: Central Processor
Family: Other
Manufacturer: Intel
ID: 7A 06 01 00 FF FB EB BF
Signature: Type 0, Family 6, Model 23, Stepping 10
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
DS (Debug store)
ACPI (ACPI supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Multi-threading)
TM (Thermal monitor supported)
PBE (Pending break enabled)
Version: Intel® Core™2 Quad CPU Q9550 @ 2.83GHz
Voltage: 1.3 V
External Clock: 333 MHz
Max Speed: 3800 MHz
Current Speed: 2833 MHz
Status: Populated, Enabled
Upgrade: Socket LGA775
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: 0x0007
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Part Number: To Be Filled By O.E.M.
Characteristics: None

Handle 0x0005, DMI type 7, 19 bytes
Cache Information
Socket Designation: L1-Cache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Back
Location: Internal
Installed Size: 32 kB
Maximum Size: 32 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: Parity
System Type: Data
Associativity: 2-way Set-associative

Handle 0x0006, DMI type 7, 19 bytes
Cache Information
Socket Designation: L2-Cache
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Back
Location: Internal
Installed Size: 6144 kB
Maximum Size: 6144 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Data
Associativity: 2-way Set-associative

Handle 0x0007, DMI type 7, 19 bytes
Cache Information
Socket Designation: L3-Cache
Configuration: Disabled, Not Socketed, Level 3
Operational Mode: Unknown
Location: Internal
Installed Size: 0 kB
Maximum Size: 0 kB
Supported SRAM Types:
Unknown
Installed SRAM Type: Unknown
Speed: Unknown
Error Correction Type: Unknown
System Type: Unknown
Associativity: Unknown
[/code]
Je ne connais pas grand chose, mais j’ai cru comprendre dans ce retour de commande que le cache L2 était de : "…Installed Size: 6144 kB…"
alors que j’ai lu que le Q9550 avait un cache L2 de 12Mo.

Je me trompe ?
Ce processeur a un défaut ?
j’ai mal utilisé dmidecode, ou alors j’ai mal interprété son retour ?
ma carte mère est en cause ? (le bios a été mis à jour)

Si quelqu’un pouvait m’éclairer, me donner des liens ou autre…
D’avance je vous remercie.

essaie le paquet inteltool, pour voir si il te dis la même chose
lshw est pas mal non plus
regarde aussi intel-microcode, il concerne peut étre ton processeur

Q9550 serait un quatre-cœurs.
ark.intel.com/products/33924?wapkw=q9550

[quote]
Processor Number Q9550

of Cores 4

Clock Speed 2.83 GHz
L2 Cache 12 MB
FSB Speed 1333 MHz
FSB Parity Yes
Instruction Set 64-bit [/quote]

Qui dit quatre-cœurs ne dit pas quatre caches …
Il semblerait que deux caches de 6 Mo soient partagés.

Voir aussi :
$ cat /proc/cpuinfo
$ lscpu

Je vous remercie beaucoup etxeberrizahar et piratebab d’avoir éclairé ma très vielle lanterne à pétrole par votre post.
Je réalise que j’ai vraiment beaucoup de retard en ce qui concerne les microprocesseurs.
Il va aussi falloir que je me documente sur les commandes que vous me transmettez, et aussi que j’aille voir du côté de la structure même des processeurs.
Voilà ce que ça donne:

[code]michel@deb-quad:~$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel® Core™2 Quad CPU Q9550 @ 2.83GHz
stepping : 10
microcode : 0xa07
cpu MHz : 1998.000
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
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 syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips : 5666.00
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel® Core™2 Quad CPU Q9550 @ 2.83GHz
stepping : 10
microcode : 0xa07
cpu MHz : 1998.000
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 13
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 syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips : 5666.65
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel® Core™2 Quad CPU Q9550 @ 2.83GHz
stepping : 10
microcode : 0xa07
cpu MHz : 2830.000
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
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 syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips : 5667.12
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Intel® Core™2 Quad CPU Q9550 @ 2.83GHz
stepping : 10
microcode : 0xa07
cpu MHz : 2830.000
cache size : 6144 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 3
initial apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 13
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 syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips : 5666.64
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:

michel@deb-quad:~$ ############################### lscpu ###############################
michel@deb-quad:~$ lscpu
Architecture : x86_64
Mode(s) opératoire(s) des processeurs : 32-bit, 64-bit
Boutisme : Little Endian
Processeur(s) : 4
Liste de processeur(s) en ligne : 0-3
Thread(s) par cœur : 1
Cœur(s) par socket : 4
Socket(s) : 1
Nœud(s) NUMA : 1
Identifiant constructeur : GenuineIntel
Famille de processeur : 6
Modèle : 23
Révision : 10
Vitesse du processeur en MHz : 2830.000
BogoMIPS : 5666.64
Virtualisation : VT-x
Cache L1d : 32K
Cache L1i : 32K
Cache L2 : 6144K
Nœud NUMA 0 de processeur(s) : 0-3
michel@deb-quad:~$ inteltool
bash: inteltool : commande introuvable
michel@deb-quad:~$ lshw
bash: lshw : commande introuvable
michel@deb-quad:~$
[/code]
je vais installer les paquetages lshw, lscpu et inteltool,
puis je vais lire les “man” de ces 3 commandes.

Un très grand merci à vous deux.

$ cpuid

$ man lscpu

BUGS The basic overview about CPU family, model, etc. is always based on the first CPU only.
Seul le premier CPU est pris en compte, à tort.

intel.com/content/dam/www/pu … asheet.pdf

[quote]The following products are covered in this document:
• The Intel® CoreTM2 Extreme processor QX9000 series refers to the QX9770 and
QX9650.
• The Intel® CoreTM2 Quad processor Q9000 series refers to the Q9650, Q9550 ,
Q9505, Q9450, Q9400, and Q9300.
• The Intel® CoreTM2 Quad processor Q9000S series refers to the Q9550S, Q9505S,
and Q9400S.
• The Intel® CoreTM2 Quad processor Q8000 series refers to the Q8200, Q8300,
Q8400.
• The Intel® CoreTM2 Quad processor Q8000S series refers to the Q8200S and
Q8400S.
The processor is based on 45 nm process technology. The processor features the Intel® Advanced Smart Cache, a shared multi-core optimized cache that significantly reduces latency to frequently used data. The processors feature 1600 MHz and 1333 MHz front
side bus (FSB) frequencies.The processors also feature two independent but shared 12 MB of L2 cache (2x6M), two independent but shared 8 MB of L2 cache (2x4M), two independent but shared 6 MB of L2 cache (2x3M) or two independent but shared 4 MB
of L2 caches (2x2M).[/quote]

Ça se confirme, Intel met en pratique ce qu’il appelle Intel® Advanced Smart Cache a shared multi-core optimized cache …//cache avancé “intelligent” de chez intel, un cache “optimisé” et partagé pour les multi-cœurs…)
Deux caches indépendants de 6Mo sont partagés (two 6 MB L2 caches, two independent but shared 12 MB of L2 cache (2x6M).

Donc, si j’ai bien compris, il y a 2 caches de 6M (donc 12M),
et chaque cache de 6M est utilisé (partagé) par une des deux paires de cœurs du Q9550.

On pourrait donc voir le Q9550 comme un assemblage de deux CPU,
chacune de ces CPU étant constituée d’une paire de cœur qui se partagent
(ou “se disputent”, suivant ce qu’à décidé le compilateur…) un cache L2 de 6M.

Quand “lscpu” et “dmidecode” me retournent une valeur pour le cache L2,
il s’agit en fait de la valeur d’un des 2 caches,
car il considère chaque paire de cœur avec son cache L2 comme une CPU.

Un Q9550, ça ressemblerait donc à 2 fois ça :
http://upload.wikimedia.org/wikipedia/commons/1/15/Caches_partag%C3%A9s.png

=============================================
Voilà ce que ça donne chez moi cpuid et lscpu:

[code]michel@deb-quad:~$ cpuid
eax in eax ebx ecx edx
00000000 0000000d 756e6547 6c65746e 49656e69
00000001 0001067a 01040800 0c08e3fd bfebfbff
00000002 05b0b101 005657f0 00000000 2cb4304e
00000003 00000000 00000000 00000000 00000000
00000004 00000000 00000000 00000000 00000000
00000005 00000040 00000040 00000003 00022220
00000006 00000001 00000002 00000003 00000000
00000007 00000000 00000000 00000000 00000000
00000008 00000400 00000000 00000000 00000000
00000009 00000000 00000000 00000000 00000000
0000000a 07280202 00000000 00000000 00000503
0000000b 00000000 00000000 00000000 00000000
0000000c 00000000 00000000 00000000 00000000
0000000d 00000000 00000000 00000000 00000000
80000000 80000008 00000000 00000000 00000000
80000001 00000000 00000000 00000001 20100800
80000002 65746e49 2952286c 726f4320 4d542865
80000003 51203229 20646175 20555043 51202020
80000004 30353539 20402020 33382e32 007a4847
80000005 00000000 00000000 00000000 00000000
80000006 00000000 00000000 18008040 00000000
80000007 00000000 00000000 00000000 00000000
80000008 00003024 00000000 00000000 00000000

Vendor ID: “GenuineIntel”; CPUID level 13

Intel-specific functions:
Version 0001067a:
Type 0 - Original OEM
Family 6 - Pentium Pro
Model 7 - Pentium III/Pentium III Xeon - external L2 cache
Stepping 10
Reserved 4

Extended brand string: "Intel® Core™2 Quad CPU Q9550 @ 2.83GHz"
CLFLUSH instruction cache line size: 8
Initial APIC ID: 1
Hyper threading siblings: 4

Feature flags bfebfbff:
FPU Floating Point Unit
VME Virtual 8086 Mode Enhancements
DE Debugging Extensions
PSE Page Size Extensions
TSC Time Stamp Counter
MSR Model Specific Registers
PAE Physical Address Extension
MCE Machine Check Exception
CX8 COMPXCHG8B Instruction
APIC On-chip Advanced Programmable Interrupt Controller present and enabled
SEP Fast System Call
MTRR Memory Type Range Registers
PGE PTE Global Flag
MCA Machine Check Architecture
CMOV Conditional Move and Compare Instructions
FGPAT Page Attribute Table
PSE-36 36-bit Page Size Extension
CLFSH CFLUSH instruction
DS Debug store
ACPI Thermal Monitor and Clock Ctrl
MMX MMX instruction set
FXSR Fast FP/MMX Streaming SIMD Extensions save/restore
SSE Streaming SIMD Extensions instruction set
SSE2 SSE2 extensions
SS Self Snoop
HT Hyper Threading
TM Thermal monitor
31 reserved

TLB and cache info:
b1: unknown TLB/cache descriptor
b0: unknown TLB/cache descriptor
05: unknown TLB/cache descriptor
f0: unknown TLB/cache descriptor
57: unknown TLB/cache descriptor
56: unknown TLB/cache descriptor
4e: unknown TLB/cache descriptor
30: unknown TLB/cache descriptor
b4: unknown TLB/cache descriptor
2c: unknown TLB/cache descriptor
Processor serial: 0001-067A-0000-0000-0000-0000
michel@deb-quad:~$ ############################### lscpu ###############################
michel@deb-quad:~$ lscpu
Architecture : x86_64
Mode(s) opératoire(s) des processeurs : 32-bit, 64-bit
Boutisme : Little Endian
Processeur(s) : 4
Liste de processeur(s) en ligne : 0-3
Thread(s) par cœur : 1
Cœur(s) par socket : 4
Socket(s) : 1
Nœud(s) NUMA : 1
Identifiant constructeur : GenuineIntel
Famille de processeur : 6
Modèle : 23
Révision : 10
Vitesse du processeur en MHz : 1998.000
BogoMIPS : 5666.70
Virtualisation : VT-x
Cache L1d : 32K
Cache L1i : 32K
Cache L2 : 6144K
Nœud NUMA 0 de processeur(s) : 0-3
michel@deb-quad:~$
[/code]