You are not logged in.

#1 2013-02-20 21:40:20

paulb787
Member
Registered: 2011-10-22
Posts: 49

Overclock i7 Not working ? why?

With i7z i am noticing that my overclock on my 3700k is not working. it works under windows. however not linux? why is this? i7z only report 3900mhz with mprime running. windows 8 goes to 4700 as my overclock in the bios is set to.

any ideas ? where do i start?

Offline

#2 2013-02-20 22:42:51

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Overclock i7 Not working ? why?

Odd.  Mine runs at 4.5 GHz under Linux.  Not using any special software.  Xfce4 frequency applet correctly reports it.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2013-02-20 23:40:50

blackout23
Member
Registered: 2011-11-16
Posts: 781

Re: Overclock i7 Not working ? why?

I don't have any helpers for real cpu frequency and "cpupower frequency-info"only reports 3.4 Ghz but if you set you speed in BIOS you can be sure that it will be used I think.

Offline

#4 2013-02-22 01:07:42

k.sarend
Member
From: NY
Registered: 2011-12-08
Posts: 12

Re: Overclock i7 Not working ? why?

paulb787 wrote:

With i7z i am noticing that my overclock on my 3700k is not working. it works under windows. however not linux? why is this? i7z only report 3900mhz with mprime running. windows 8 goes to 4700 as my overclock in the bios is set to.

any ideas ? where do i start?

Do you have CPU scaling enabled on your system?

If so, I believe that the acpi-cpufreq driver only reads the default frequency
stepping values of the chip. You can test it out :

In the terminal run,

watch grep \"cpu MHz\" /proc/cpuinfo

If the values are changing within the default steppings, then you know
that the acpi-cpufreq driver is doing it's job.

Now unload the acpi-cpufreq module,

modprobe -r acpi-cpufreq

Using the same watch command, you should see all the cores running
at the max overclocked value.

This is the exact same thing that happened to me when I was overclocking
my AMD processor. The funny thing is that the powernow-k8 module, which
was deprecated for the acpi-cpufreq module, used the overclocked settings
and still provided throttling.

I believed that the developers of the acpi-cpufreq module wanted it that
way.

Last edited by k.sarend (2013-02-22 01:09:33)


Everything in the future is a wave, everything in the past is a particle. -Lawrence Bragg

Offline

#5 2013-02-22 12:11:45

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: Overclock i7 Not working ? why?

>>> I was wrong... but I think I'll just leave it to show how silly I can be tongue <<<

I now have the same problem? Is this acpi-cpufreq new? Like didn't there use to be one for Intel?

I know for a fact that it worked perfectly before. Unfortunately, I just deleted all of my kernels before 3.7, arg.

i7z will not even work anymore. Before it would show cpu0 and cpu1 and the C states and it overclocking... now it dose not show any of that. It just shows my freq at 2.9GHz instead of 3.7GHz.

Cpu speed from cpuinfo 2893.00Mhz
cpuinfo might be wrong if cpufreq is enabled. To guess correctly try estimating via tsc
Linux's inbuilt cpu_khz code emulated now
True Frequency (without accounting Turbo) 2893 MHz

When I try to run i7z-gui it quits and gives this error...

i7z DEBUG: GUI VERSION DOESN'T SUPPORT CORE OFFLINING
wrmsr: No CPU 0

I can not un-load the acp-cpufreq module. I get this...

% sudo modprobe -r acpi-cpufreq
modprobe: FATAL: Module acpi_cpufreq is in use.

Blacklisting dose not work ether. I had to remove the acpi-cpufreq.ko.gz file, but then both cores just stayed at 2.9GHz all the time, and i7z still will not work (I put the file back now).

I guess I'll recompile my kernel and time it. I know it should take about 23 min's to build the package.

Last edited by hunterthomson (2013-02-22 23:59:36)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#6 2013-02-22 12:37:54

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: Overclock i7 Not working ? why?

LOL

Sorry for the noise... thinking out loud.

There is no problem with i7z nor my CPU going into Turbo mode. (the acpi-cpufreq module is loaded)
New restrictions in grsecurity prevent i7z from reading the CPU Frequency even as the Root user.

Everything is working as it should tongue

Last edited by hunterthomson (2013-02-22 12:43:15)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

#7 2013-02-23 20:54:09

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Overclock i7 Not working ? why?

I was wrong: the xfce4 applet does not display the correct speed; nor does /proc/cpuinfo which is really crazy:

 
% grep MHz /proc/cpuinfo
cpu MHz		: 3501.000
cpu MHz		: 3501.000
cpu MHz		: 3501.000
cpu MHz		: 3501.000
cpu MHz		: 3501.000
cpu MHz		: 3501.000
cpu MHz		: 3501.000
cpu MHz		: 3501.000

/usr/bin/i7z on the otherhand, does:

Cpu speed from cpuinfo 3499.00Mhz
cpuinfo might be wrong if cpufreq is enabled. To guess correctly try estimating via tsc
Linux's inbuilt cpu_khz code emulated now
True Frequency (without accounting Turbo) 3499 MHz
  CPU Multiplier 35x || Bus clock frequency (BCLK) 99.97 MHz

Socket [0] - [physical cores=4, logical cores=8, max online cores ever=4]
  TURBO ENABLED on 4 Cores, Hyper Threading ON
  Max Frequency without considering Turbo 3598.97 MHz (99.97 x [36])
  Max TURBO Multiplier (if Enabled) with 1/2/3/4 Cores is  45x/45x/45x/45x
  Real Current Frequency 4498.72 MHz [99.97 x 45.00] (Max of below)
        Core [core-id]  :Actual Freq (Mult.)      C0%   Halt(C1)%  C3 %   C6 %   C7 %  Temp
        Core 1 [0]:       4498.72 (45.00x)      98.9       0       0       0       0    59
        Core 2 [1]:       4498.71 (45.00x)      98.9       0       0       0       0    65
        Core 3 [2]:       4498.71 (45.00x)      99.5       0       0       0       0    69
        Core 4 [3]:       4498.71 (45.00x)      95.2       0       0       0       0    61



C0 = Processor running without halting
C1 = Processor running with halts (States >C0 are power saver)
C3 = Cores running with PLL turned off and core cache turned off
C6 = Everything in C3 + core state saved to last level cache
  Above values in table are in percentage over the last 1 sec
[core-id] refers to core-id number in /proc/cpuinfo
'Garbage Values' message printed when garbage values are read

Now I can't remember what changed.  Is this a kernel bug or related package, or...?

Last edited by graysky (2013-02-23 20:55:56)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#8 2013-02-23 21:10:16

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: Overclock i7 Not working ? why?

graysky - it's always been like this, linux doesn't take into account the turbo just the base clock sans turbo - i7z is the only thing that picks up my correct frequency (1.2GHz idle/4.4GHz load - reported in linux as 1.2GHz/3.3Ghz).

As shown in your i7z

True Frequency (without accounting Turbo) 3499 MHz

Last edited by Meyithi (2013-02-23 21:12:22)


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#9 2013-02-23 21:23:57

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: Overclock i7 Not working ? why?

@Meyithi - Guess you're right... I can't remember!


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#10 2013-02-24 03:02:57

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: Overclock i7 Not working ? why?

Ya, that's correct.

The important thing for anyone reading this to know is all you need to do is enable Turbo Mode and Intel Speed Step in the BIOS setup. Then your done. There is no need to configure anything else.

Disregard all output of everything except i7z.

Last edited by hunterthomson (2013-02-24 03:04:39)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

Board footer

Powered by FluxBB