intel-cmt-cat icon indicating copy to clipboard operation
intel-cmt-cat copied to clipboard

Could I check if pqos set llc value is valid in linux file system

Open xfyan0408 opened this issue 2 years ago • 0 comments
trafficstars

As we all know, we can check the cpu llc in the file below:

cat /sys/devices/system/cpu/cpu16/cache/index3/shared_cpu_map

but when I define and allocate clos of llc, the content in /sys/devices/system/cpu/cpu16/cache/index3/shared_cpu_map is not changed:

pqos -e llc:4=0x1
pqos -a llc:4=16 

root@IPL238:~/#  pqos -e llc:4=0x1
NOTE:  Mixed use of MSR and kernel interfaces to manage
       CAT or CMT & MBM may lead to unexpected behavior.
SOCKET 0 L3CA COS4 => MASK 0x1
SOCKET 1 L3CA COS4 => MASK 0x1
Allocation configuration altered.

root@IPL238:~/# pqos -a llc:4=16
NOTE:  Mixed use of MSR and kernel interfaces to manage
       CAT or CMT & MBM may lead to unexpected behavior.
Allocation configuration altered.

root@IPL238:~/# cat /sys/devices/system/cpu/cpu16/cache/index3/shared_cpu_map
ffc00

I do not know why and I wonder if I can only verify the pqos function by pqos -s?

xfyan0408 avatar Oct 24 '23 04:10 xfyan0408