ytrstu / i7z

Automatically exported from code.google.com/p/i7z
GNU General Public License v2.0
0 stars 0 forks source link

want i7z to work w/ core uarch #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am very interested in the logging feature of i7z and would very much like to 
bring it up on a core uarch.  In particular, my goal is to log cpu frequency 
while running a linear algebra kernel.  I am interested in the turbo boost 
behavior over the course of many iterations of sparse-matrix vector multiply.

I would be willing to do a bit of coding if you can point me to the right 
portions of the source code.

fyi, I am attaching the results of cat /proc/cpuinfo:
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 23
model name  : Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
stepping    : 7
cpu MHz     : 2000.000
cache size  : 6144 KB
physical id : 0
siblings    : 4
core id     : 0
cpu cores   : 4
apicid      : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 10
wp      : yes
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc 
pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips    : 5320.15
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

Original issue reported on code.google.com by j...@hicampsystems.com on 7 Sep 2011 at 7:13

GoogleCodeExporter commented 8 years ago
oh the processor in question is not based on core i7 architecture. the turbo 
boost wont be available so one neednot calculate the turboboosted freq but 
things like C-states will be available. are you looking to document those 
values?

Original comment by abhirana on 8 Sep 2011 at 5:17

GoogleCodeExporter commented 8 years ago
Really most interested in just logging the cpu freq during the execution of the 
linear algebra kernel.  Ideally get a log of (timestamp,freq) tuples for each 
core in the system.

If turbo boost isn't the correct term, I would point out that the CPU in 
question normally idles at 2000 MHz but can go up to a max freq of 2660 MHz.

Anyway, I do appreciate your reply :)
Thanks!

Original comment by etep.nos...@gmail.com on 8 Sep 2011 at 5:25

GoogleCodeExporter commented 8 years ago
sure that is doable.

i might have something that may be of further interest to you. i wrote a 
program sometimes back that does some performance analysis like memory/cache 
hit misses, fp instructions performed, etc. i'll implement the freq read within 
that program and post it.

Original comment by abhirana on 8 Sep 2011 at 5:29

GoogleCodeExporter commented 8 years ago
that's fantastic.  if you have access via your status as project owner, feel 
free to send me e-mail; I can explain more of my own project (would rather not 
add clutter here).

Original comment by etep.nos...@gmail.com on 8 Sep 2011 at 5:46