Comments (6)
Hello,
Thanks for the contact. Unfortunately, these two tools cannot run in parallel due to the reasons described above: access to MSR registers and RMID's. It is not safe to run Intel PCM or pqos with Linux perf CMT & MBM events at the same time either.
It is OK to run multiple instances of pqos tool for monitoring as long as monitored core sets are exclusive (don't overlap).
Could you use Linux perf only to monitor events of interest?
Thanks,
Tomasz
from intel-cmt-cat.
Let me close this issue for now. If you have any further questions please open a new one.
Thanks,
Tomasz
from intel-cmt-cat.
Just a comment clarifying today situation:
There are about three different tools that provide MBM and CMT monitoring capability at the moment:
- Linux perf (CMT kernel 4.1+, MBM kernel 4.6+)
- Intel PCM
- pqos (intel-cmt-cat)
As of today, Intel PCM and pqos access MSR registers from user space to monitor CMT/MBM. 'pqos' can detect that Intel PCM is running and will not start monitoring of the same cores.
When pqos and Intel PCM transition to use perf interface for CMT/MBM then use of the tools in parallel will be completely safe.
from intel-cmt-cat.
Thanks for the reply. I'd like to use Intel PCM and pqos together, because Intel PCM could monitor more kinds of resource, and pqos could monitor the resource with different pid. Unfortunately, they can't be used at the same time. So I try to directly use Linux perf with the raw hardware event descriptor to monitor all the interested events, but it's not easy to find out all the correct event numbers and umask values, and they may be different with different processor architectures.
Now I decide to use Intel PCM and Linux perf together, while Linux perf only monitor some kvm events, which belong to the tracepoint events. Do you think it is safe?
from intel-cmt-cat.
It should be safe as long as perf doesn't monitor CMT or MBM.
from intel-cmt-cat.
Thanks!
from intel-cmt-cat.
Related Issues (20)
- Does this tool support for 12th Gen Intel(R) Core(TM) i3-12100F?
- Supports for 13th Gen Intel Core
- Why setting COS through code APIs is invalid? HOT 2
- A question about the USE of Highest Way in l3_cat HOT 2
- Project versioning update
- conflict with libvirt cachetune
- Intel RDT for 13th Gen Intel(R) Core(TM) i9-13900KS HOT 1
- What is shareable_bits in resctrl?Or what is "ways contention bit-mask" in pqos? HOT 1
- Could I check if pqos set llc value is valid in linux file system HOT 1
- Installing problem HOT 2
- The pqos tool fails on systems with 300 or more CPU cores HOT 1
- Create version tag following the traditional v5.0.0 style HOT 1
- MBA doesn't work on Intel(R) Xeon(R) Gold 6226R CPU HOT 13
- Pqos tool doesn't support CPUs with hybrid architecture
- pqos does not work on AMD Zen2/Rome parts since v23.08 HOT 1
- RDT support on Meteor Lake HOT 1
- Enhance Intel PCM Integration with pqos for Comprehensive Memory Bandwidth Monitoring HOT 1
- Expected MBA controller but not requested while configuring MBA in % HOT 1
- Actual memory bw is higher than configured using MBA in MB/s HOT 4
- How is LLC occupancy obtained? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intel-cmt-cat.