-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: Interpreting results #116
Comments
My -limited- understanding is that we should sum CPU + DRAM to approximate the host consumption without considering display a.s.o, What I understand from the docs or discussions is that CPU is a general term we use to designate a package (i.e. the physical chip that we plug into the motherboard CPU socket). Also, according to the intel doc, I would not have expected my laptop to show DRAM domain (if I get it right, the docs seems to say that this is reserved to servers products, not client products). However DRAM seems to be displayed on my laptop (Intel core i5-6200U CPU).
References:
|
The following diagram gives a clear view of RAPL domains. It also indicates that Source: Powerapi-ng/pyJoules project documentation |
For an "official" reference, you can look at Intel's System Programming Manual , specifically section 14.9.2 RAPL Domains and Platform Specificity (p500) :
The description of PP1, aka 'uncore', (given in 14.9.4) is very vague :
So actually it's never officially written that uncore actually maps to the integrated GPU, although that seems to be the case. My guess is that Intel prefers to keep some liberty on what goes into this power package. Additionnally, on recent client / soc processors there is a new 'PSys' domain for which I could not find any description in the doc. For another interesting reference, you can have a look at the paper “RAPL in Action: Experiences in Using RAPL for Power Measurements,” (K. N. Khan, M. Hirki, T. Niemi, J. K. Nurminen, and Z. Ou, ACM Trans. Model. Perform. Eval. Comput. Syst., vol. 3, no. 2, pp. 1–26, Apr. 2018, doi: 10.1145/3177754.) , which includes the following diagram: In scaphandre case, my opinion is that the focus should be on Package, core and dram domain, which are the domains supported by server cpu (which is imho scaphandre's target use case). |
#318 and #316 have been merged in 1.0.0, so you could probably checkout new PSYS and MMIO metrics if your machine provides them. The documentation has been inmproved on this topic, see : https://hubblo-org.github.io/scaphandre-documentation/explanations/rapl-domains.html What do you think about it @wanecek ? |
Wow, time flies! That looks like an excellent solution. Thanks for the further development on this tool and for getting back to me. Best wishes! |
Problem
It can be confusing to interpret the domains that RAPL readings output (Core, Uncore, CPU/Package).
Solution
Add a short section to the documentation on what these different domains entail. I am more than happy to help with this, but I would need some help to understand this myself first.
For example, I get the following results, which at least makes it look like Core is a subset of CPU (as they consistently have the same slope), but I'm not sure if that's the case or not. To elaborate, if I wanted the entire host consumption, do I add CPU+CORE+DRAM, or is it rather CORE + DRAM?
Alternatives
If there is another resource that already covers this well, we can of course link to it instead.
The text was updated successfully, but these errors were encountered: