intel-cmt-cat | User space software for Intel Resource Director | Monitoring library
kandi X-RAY | intel-cmt-cat Summary
kandi X-RAY | intel-cmt-cat Summary
This software package provides basic support for Intel Resource Director Technology (Intel RDT) including: Cache Monitoring Technology (CMT), Memory Bandwidth Monitoring (MBM), Cache Allocation Technology (CAT), Code and Data Prioritization (CDP) and Memory Bandwidth Allocation (MBA). In principle, the software programs the technologies via Model Specific Registers (MSR) on a hardware thread basis. MSR access is arranged via a standard operating system driver: msr on Linux and cpuctl on FreeBSD. In the most common architectural implementations, presence of the technologies is detected via the CPUID instruction. In a limited number of special cases where CAT is not architecturally supported on a particular SKU (but instead a non-architectural (model-specific) implementation exists) it can be detected via brand string. This brand string is read from CPUID and compared to a table of known-supported SKUs. If needed, a final check is to probe the specific MSR’s to discover hardware capabilities, however it is recommended that CPUID enumeration should be used wherever possible. From software version v1.0.0 the library adds option to use Intel RDT via available OS interfaces (perf and resctrl on Linux). The library detects presence of these interfaces and allows to select the preferred one through a configuration option. As the result, existing tools like 'pqos' or 'rdtset' can also be used to manage Intel RDT in an OS compatible way. MSR interface remains the default option for now. 'pqos' tool wrappers have been added to help with the interface selection. 'pqos-os' and 'pqos-msr' for OS and MSR interface operations respectively. PID API compile time option has been removed and the APIs are always available. Note that proper operation of these APIs depends on availability and selection of OS interface. This software package is maintained, updated and developed on provides FAQ, usage examples and useful links. Please refer to INSTALL file for package installation instructions.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of intel-cmt-cat
intel-cmt-cat Key Features
intel-cmt-cat Examples and Code Snippets
Community Discussions
Trending Discussions on intel-cmt-cat
QUESTION
Please see the UPDATE at the botton of this post for more info.
Below is the _pqos_api_lock program from cap.c from the Intel CMT-CAT distribution (cache management technology - cache allocation technology) at https://github.com/intel/intel-cmt-cat.
The function _pqos_api_lock calls lockf, which is defined in unistd.h, and unistd.h is included with the includes at the top of the file. However, debugging with gdb, I get "lockf.c: No such file or directory" at the line:
...ANSWER
Answered 2020-Mar-14 at 22:52I have unistd.h included, so why do I get this error?
You don't seem to understand the significance of this error (which is none). This error is safe to ignore, and doesn't affect your program's execution in any way.
The reason GDB displays this error is that GDB can't show you the source (because GDB doesn't know where that source is).
Chances are, you don't actually want to see this source at all.
I found source for lockf.c at https://code.woboq.org/userspace/glibc/io/lockf.c.html
Good. If you really want to see what locf
does, you can look there.
perhaps I can link this into my executable
The function defined in lockf.c
is already linked into your executable (you'd get a link error if it wasn't). You can't link source into your executable any more than you can link your kitchen sink into it.
What you can do is install libc6-dbg
package, which includes source for all of GLIBC, and allows GDB to find the sources automatically.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install intel-cmt-cat
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page