Open GoogleCodeExporter opened 9 years ago
cool computer :)
can you try out the svn/git source ( i think i might have put some hooks in the
svn source to control if some registers are not readable) ? if the code still
crashes could you run it in gdb and paste the stack?
sudo gdb i7z
i am guessing that some of the residency values are not available (msr
1020,1021) and maybe the code is trying to read it and being not available, its
crashing.
thanks
Original comment by abhirana
on 20 Mar 2013 at 1:52
First, thanks for the compliment, would be even better if we could get the
CPU's to hit their turbo boost of 2.4GHz instead of stalling out at 2.13GHz.
Also, thanks for the quick reply back.
I grabbed the svn version, compiled and installed it, and it's still failing
with the same message:
Socket-0 [num of cpus 8 physical 8 logical 16] 0,1,2,3,4,5,6,7,
Socket-1 [num of cpus 8 physical 8 logical 16] 8,9,10,11,12,13,14,15,
GUI has been Turned ON
Logging (freq) is OFF
Temperature logging is OFF
Cstate logging is OFF
i7z DEBUG: Dual Socket Detected
i7z DEBUG: In i7z Dual_Socket()
Cpu speed from cpuinfo 1997.00Mhz
True Frequency (without accounting Turbo) 1997 MHz
rdmsr:pread: Input/output error
Quitting i7z
When I fire up gdb, it reports that it can't find any debugging symbols:
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/i7z...(no debugging symbols found)...done.
If I run it in here, it gives me the same output, but adds a little extra
message:
Program exited with code 0177.
Maybe I'm missing another command that you'd like me to execute? Do I need to
enable a flag to compile it with symbols?
Thanks,
-paul
Original comment by pau...@gmail.com
on 20 Mar 2013 at 4:45
hi paul
thanks.
if you add the -g flag instead of -O3 in the makefile
https://code.google.com/p/i7z/source/browse/trunk/Makefile#10
CFLAGS ?= -g
and then re-run the program, you should get more output from gdb.
tangentially: have you tried cpufreq-aperf? usually it should show the turbo
scaling but without any core residency values.
Original comment by abhirana
on 20 Mar 2013 at 5:11
abhirana,
i recompiled with the -g flag, and then re-ran the program, still don't get
anything from gdb, always says No stack, even after i issue a run command:
....
rdmsr:pread: Input/output error
Quitting i7z
Program exited with code 0177.
(gdb) bt
No stack.
I can get cpufreq-aperf to run, and it shows the processors running at a
boosted speed:
000 2115760 00 sec 004 ms 00 sec 995 ms 00
001 2115760 00 sec 001 ms 00 sec 998 ms 00
002 2115760 00 sec 001 ms 00 sec 998 ms 00
And turbostat will report higher clock speed (2.13GHz -- cpu is 2.0GHz, support
to turbo boost to 2.4GHz):
avg 2.13 2.00 0.11 99.89 0.00 0.00 0.00 0.00 0.00
0 2.13 2.00 0.12 99.88 0.00 0.00 0.00 0.00 0.00
and if i stress the cpu's i can see the speed drop..
really confused as to why i can't get them to hit the max turbo boost speed of
2.4GHz.
thanks for your help,
-paul
Original comment by pau...@gmail.com
on 22 Mar 2013 at 4:54
hey paul
good the other tools are working for you. i'll fix i7z later.
so i have two questions,
can you find the exact multipliers possible for your cpu? i see online that it
can go upto 2.4ghz but usually most processors have two or more turbo speed
depending on how many number of cores are active (CO or C1). I am not able to
find the exact multipliers and maybe its the case that the maximum number of
cores required to be inactive is very high and that is making your machine
never go into turbo.
if you do
#each line will give maximum turbo multiplier with X cores active, starting
with 1 core active
rdmsr 0x1ad --decimal --bitfield 7:0
#maximum turbo multiplier with 2 core active
rdmsr 0x1ad --decimal --bitfield 15:8
#maximum turbo multiplier with 3 core active
rdmsr 0x1ad --decimal --bitfield 23:16
#maximum turbo multiplier with 4 core active
rdmsr 0x1ad --decimal --bitfield 31:24
#maximum turbo multiplier with 5 core active
rdmsr 0x1ad --decimal --bitfield 39:32
#maximum turbo multiplier with 6 core active
rdmsr 0x1ad --decimal --bitfield 47:40
in the turbostat output.
can you make sure that the other cores are going into deeper sleep > C1, if not
then it may be the cause of not going into higher turbo
Original comment by abhirana
on 22 Mar 2013 at 5:19
Original issue reported on code.google.com by
pau...@gmail.com
on 16 Mar 2013 at 7:01