Closed w0x7c00 closed 2 years ago
Can you post the command used to produce this error? Also, please make sure you are running the command with root privilege's.
Hi, This is the command:
root@n138-025-201:~# pqos -d NOTE: Mixed use of MSR and kernel interfaces to manage CAT or CMT & MBM may lead to unexpected behavior. ERROR: cpuinfo_init() error -22 Error initializing PQoS library!
Could you provide the pqos library, OS and kernel version you are using please?
Also, the output from pqos -Vs
and if you built the tools yourself, it may be helpful to rebuild with debugging info make DEBUG=y
.
Linux version 5.4.56.bsk.2-amd64 Debian 9
root@n138-025-201:~# ls /usr/local/lib libpqos.so libpqos.so.4 libpqos.so.4.3.0
root@n138-025-201:~# pqos -Vs NOTE: Mixed use of MSR and kernel interfaces to manage CAT or CMT & MBM may lead to unexpected behavior. INFO: Requested interface: AUTO INFO: resctrl not detected. Kernel version 4.10 or higher required INFO: Selected interface: AUTO INFO: CACHE: type 1, level 1, max id sharing this cache 2 (1 bits) DEBUG: CACHE: not inclusive, direct mapped, 12 way(s), 64 set(s), line size 64, 1 partition(s) INFO: CACHE: type 2, level 1, max id sharing this cache 2 (1 bits) DEBUG: CACHE: not inclusive, direct mapped, 8 way(s), 64 set(s), line size 64, 1 partition(s) INFO: CACHE: type 3, level 2, max id sharing this cache 2 (1 bits) DEBUG: CACHE: not inclusive, direct mapped, 20 way(s), 1024 set(s), line size 64, 1 partition(s) INFO: CACHE: type 3, level 3, max id sharing this cache 128 (7 bits) DEBUG: CACHE: not inclusive, complex cache indexing, 12 way(s), 65536 set(s), line size 64, 1 partition(s) ERROR: cpuinfo_init() error -22 Error initializing PQoS library!
We have found issue with OS interface detection. In some cases library doesn't fallback to MSR interface.
INFO: Requested interface: AUTO
INFO: resctrl not detected. Kernel version 4.10 or higher required
INFO: Selected interface: AUTO
Selected interface is AUTO. You can force pqos to use MSR interface by adding --iface=msr parameter. Example
pqos --iface=msr -d
Thanks for your reply, now everything works will.
Hi, Can you help me with this error :
This is my cpuinfo:
Thanks.