Hi Aaron, On 2020/5/11 15:30, Aaron Chou wrote:
In the system, I can get the L3 cache size from two or more ways. Firstly, I can get it from the kernel interface, such as the `lscpu` command. Also, I can cat the file `/sys/devices/system/cpu/cpu3/cache/index3/size`. The way above can give me the L3 cache size is 32768K. Now if I use the `dmidecode -t cache` command, I get the L3 cache size is 24576K. And the real size of the L3 cache is 24576K. Why is it? who can explain it to me?
Seems the cache information from SMBIOS table and ACPI PPTT table is inconsistent, which the SMBIOS table reports 24576K for L3 cache, but 32768K in the PPTT table. You can verify that by dumping the ACPI PPTT table and the SMBIOS table. Thanks Hanjun