intel / intel-cmt-cat

User space software for Intel(R) Resource Director Technology
http://www.intel.com/content/www/us/en/architecture-and-technology/resource-director-technology.html
Other
693 stars 183 forks source link

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

Closed xfyan0408 closed 2 months ago

xfyan0408 commented 11 months ago

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?

rkanagar commented 2 months ago

Hi @xfyan0408 , We dont know about code behind /sys/devices/system/cpu/cpu16/cache/index3/shared_cpu_map. No idea. Thanks.