Performance Monitor Counters in different platforms Prasanth B
Performance Monitor Counters in different platforms Prasanth B L Aakash Arora
Smart Phones Moto G 3 – ARM Cortex 53 ARM v 7
ARM • No of Counters 5 • No of Performance monitor events 62 • The performance counters can be configured and accessed through software calls, or via ARM's debug tools Tools • IDE : DS 5 Development Studio, Data Streamline Notes • The same procedure could be applied to any version 7 and above of ARM architecture and the target should run Linux or Android
Direct current Measurement from the battery (Current Sensor) Supported devices • Moto G (XT 1033) with Android version 4. 4. 4 • Samsung Galaxy S 3 4. 3 (XXUGNA 5 working partially, showing correct values when charging but discharging shows 0 m. A) • Etc Reference • http: //forum. xda-developers. com/android/appsgames/app-ampere-current-meter-t 3040329 • Android App : Ampere • http: //oprofile. sourceforge. net/docs/armv 8 -ca 53 events. php
Desktop/Laptop Intel i 7 AMD 15 h family
Intel i 7 • Each core has its own PMU. They have 3 fixed counters and 4 general counters for each Hyper-Thread • The Uncore has its own PMU for monitoring its activity. It consists of 8 general counters and one fixed counter • No of Performance monitor events 98 Tools • Intel® Performance Counter Monitor • https: //software. intel. com/en-us/articles/intel-performance-countermonitor • http: //oprofile. sourceforge. net/docs/intel-corei 7 -events. php • Intel® Power Gadget • https: //software. intel. com/en-us/articles/intel-power-gadget-20
AMD 15 h family • No of counters 4 • No of Performance monitor events 98 Reference • http: //web. eece. maine. edu/~vweaver/projects/perf_e vents/uncore/offcore_uncore. pdf • http: //oprofile. sourceforge. net/docs/amd-family 15 hevents. php Tools • AMD System Monitor • http: //support. amd. com/en-us/kbarticles/Pages/AMDSystem. Monitor. aspx
Some Platform independent tools to read the performance counters of processors in Linux • Oprofile • perf Reference • http: //oprofile. sourceforge. net/about/ • https: //perf. wiki. kernel. org/index. php/Main_ Page
Performance counter considered in the references research papers Server Platform / AMD Opteron 246 • quadword write transfers • L 2 cache misses (datacache fill) • dispatch stalls due to reorder buffers being full • DRAM accesses due to page conflicts. Laptop / Pentium M Processor • Number of completed burst transactions • Number of lines removed from the L 2 cache Reference • Koala : A Platform for OS-Level Power Management , D Csnowdown, E L Sueur, S M Petters, Gernot Heiser, Proceedings of the 4 th ACM European conference on Computer systems 2009
- Slides: 10