Page 1 of 1

about PACKAGE_ENERGY:PACKAGE0 PAPI RAPL

PostPosted: Fri Mar 14, 2014 4:23 pm
by flyingbear
PAPI RAPL
1) What is the PACKAGE0 and PACKAGE1 meaning in the event? Did it include DRAM_ENERGY:PACKAGE0 and PP0_ENERGY:PACKAGE0?
-------------------------------------------------------------------------------
| rapl:::PACKAGE_ENERGY:PACKAGE0 |
| Energy used by chip package 0 |
--------------------------------------------------------------------------------
| rapl:::DRAM_ENERGY:PACKAGE0 |
| Energy used by DRAM on package 0 |
--------------------------------------------------------------------------------
| rapl:::PP0_ENERGY:PACKAGE0 |
| Energy used by all cores in package 0 |
--------------------------------------------------------------------------------

2) Can I use PACKAGE_ENERGY:PACKAGE0 to measure the total energy in the system?
If not, what combination should I use to measure the total energy consumption?

Re: about PACKAGE_ENERGY:PACKAGE0 PAPI RAPL

PostPosted: Fri Mar 14, 2014 6:00 pm
by jagode00
Intel RAPL measurements are "per package". Using Intel's chosen terminology, a package is the physical chip you plug into the computer.
PACKAGE_ENERGY is total power usage of the entire package (which will have multiple cores and threads).

PP0 (Power Plane 0) is total power usage of all cores in a package. (should be a little less that PACKAGE_ENERGY)
- Power Plane 0 (CPU cores)
- Power Plane 1 (graphics uncore)