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

Can I run pqos from terminal or C code without root permission? #221

Closed kazi-m22 closed 2 years ago

kazi-m22 commented 2 years ago

I have tried running pqos from both terminal and C code. Even if I add prefix to install it somewhere else than default path, it asks for root permission each time. Is there any way to run it without root permission? If I do not use sudo, i get:

API lock initialization error! Error initializing PQoS library!

aleksinx commented 2 years ago

No, root permissions are needed to access MSR register or resctrl filesystem.