Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.
1716 Discussions

Can be distributed to end users and called from user space software?

New Contributor I

I built the Intel Resource Director Technology library (from, which produces My goal is to incorporate cache and bandwidth allocation into end-user programs which will be distributed to end users over the internet.

I can't install the pqos library ( on each end user computer, so I had planned to distribute to end users, and link it into my user space program.

I tested the idea copying into the same folder as the source code for the end-user program, and link against it like this:

sudo ld -shared -L/SourceDir My_Program.o -ldl -lrt -lpthread -libpqos -o

and I get "ld: cannot find -libpqos."

I then created a symlink for the file (including the version files and, but I still get " ld: cannot find -libpqos."

Finally I changed it to point to /usr/local/lib, but still "ld: cannot find -libpqos."

From the documentation on github, it appears that the entire RDT library is intended to be used as Linux command line strings, not linked to and called from from user space programs. But if true, that would make it impossible to distribute to end users who have not pre-installed the library.

My questions are:
1. Can be linked into an end-user program (and if so, how)?

2. Can be distributed to end users as described above, or does it have to be pre-installed on each end-user's server?



0 Kudos
0 Replies