public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [ARM64 ACPI] different CPU L3 cache size reported by /sys/device/ and dmidecode
@ 2020-05-11  7:30 Aaron Chou
  2020-05-11  8:10 ` Hanjun Guo
  2020-05-11  8:18 ` Sudeep Holla
  0 siblings, 2 replies; 5+ messages in thread
From: Aaron Chou @ 2020-05-11  7:30 UTC (permalink / raw)
  To: lorenzo.pieralisi, guohanjun, sudeep.holla, linux-acpi

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?

Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [ARM64 ACPI] different CPU L3 cache size reported by /sys/device/ and dmidecode
@ 2020-05-11  7:28 Aaron Chou
  0 siblings, 0 replies; 5+ messages in thread
From: Aaron Chou @ 2020-05-11  7:28 UTC (permalink / raw)
  To: rjw, lenb, linux-acpi

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?

Thanks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-11  8:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-11  7:30 [ARM64 ACPI] different CPU L3 cache size reported by /sys/device/ and dmidecode Aaron Chou
2020-05-11  8:10 ` Hanjun Guo
2020-05-11  8:18 ` Sudeep Holla
2020-05-11  8:38   ` Aaron Chou
  -- strict thread matches above, loose matches on Subject: below --
2020-05-11  7:28 Aaron Chou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox