LIKWID (Like I Knew What I’m Doing) is a performance monitoring and benchmarking suite for Linux systems, designed to help users analyze and optimize the performance of their applications. It provides tools for hardware performance monitoring, CPU topology detection, and pinning threads to specific cores, making it easier to understand and improve the efficiency of software on multi-core processors.
xbat heavily utilises LIKWID for performance monitoring and is therefore able to provide you access to the LIKWID tools aswell. To gain access to these tools, add the following line to your jobscript:
export PATH="/usr/local/share/xbatd/bin/:$PATH"
Afterwards you can call the LIKWID tools directly.
likwid-pin -c 0,2,4-6 ./myApp parameters
- likwid-pin: Pin threads to cores without changes to the code (pthreads and OpenMP)
- likwid-features: Show and modify cpu features like hardware prefetchers
- likwid-mpirun: Wrapper for MPI and Hybrid MPI/OpenMP applications
- likwid-memsweeper: Sweep memory of NUMA domains and evict cachelines from the last level cache
- likwid-setFrequencies: Modify CPU and Uncore frequencies