Thread (37 messages) 37 messages, 6 authors, 2019-03-07

Re: [PATCHv6 06/10] node: Add memory-side caching attributes

flat view

From: Dan Williams <hidden>
Date: 2019-02-22 18:20:22
Also in: linux-acpi, linux-mm, lkml

On Fri, Feb 22, 2019 at 10:09 AM Keith Busch [off-list ref] wrote:
On Fri, Feb 22, 2019 at 11:12:38AM +0100, Brice Goglin wrote:
quoted
Le 14/02/2019 à 18:10, Keith Busch a écrit :
quoted
+What:              /sys/devices/system/node/nodeX/memory_side_cache/indexY/size
+Date:              December 2018
+Contact:   Keith Busch <keith.busch@intel.com>
+Description:
+           The size of this memory side cache in bytes.

Hello Keith,

CPU-side cache size is reported in kilobytes:

$ cat
/sys/devices/system/cpu/cpu0/cache/index*/size

32K
32K
256K
4096K

Can you do the same of memory-side caches instead of reporting bytes?
Ok, will do.
Ugh, please no. Don't optimize sysfs for human consumption. That 'K'
now needs to be parsed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help