Debian Codegraph @

perfmon-i7z/README.txt

raw
1 By Abhishek Jaiantilal (abhishek.jaiantilal @@ colorado.edu)
2
3 how to run?
4 1. make
5 2. sudo ./perfmon-i7z
6
7 what does it do?
8 this is a pre-alpha program to know what your machine is doing at your behest
9 or behind your back.
10
11 it uses performance monitoring counters to understand what type of cycles are
12 being run in the background, like int, floats or memory cycles.
13
14 a hypothesis is that the number of cycles executed cause a proportional increase
15 in power consumption (depending on how much area does that unit occupies on the
16 chip die)
17
18 limitations (i can recall)
19 1. right now it runs on the first 4 cores, with a bit of coding it should be
20 extendable to more cores/packages
21 2. works on a couple of my machine (4 core nehalem, 6 core SB) and mysteriously
22 doesn't work on a 4 core SB machine. i have to look into that
23 3. should be straightforward to extend on older machines like core2 which have a
24 slightly less number of PMC counters
25 4. i lost a backup in which i estimated cpu_frequency on the fly, this version has
26 it hardcoded, i dont know if that shows wrong values. i will have to look into that.
27
28 so why did this program come into being?
29 1. to prove that power and cycles executed have a direct relationship. ask anyone
30 who has run avx-linx on their SB machine, or linx on their machine!
31 2. i had trouble getting vtune/perfmon and other fancy tools to take least amount of
32 cpu usage while giving me the right values for the various counters.