onsdag 23 januari 2013

Cache+cache page size in linux


This is how you do it:

jaw@eris:~$ cat /sys/devices/system/cpu/cpu0/cache/index0/size
32K
jaw@eris:~$ cat /sys/devices/system/cpu/cpu0/cache/index0/number_of_sets
64

Thus, the size of each cache page is 512 bytes.

Inga kommentarer:

Skicka en kommentar