Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Overclocking and CPU Freq Scaling -- HOW?

  1. #1
    Join Date
    Jan 2008
    Location
    USA
    Beans
    971
    Distro
    Ubuntu 12.04 Precise Pangolin

    Overclocking and CPU Freq Scaling -- HOW?

    Ok, I have seen a number of threads about this issue, but thought I'd post my own since this issue affects everyone differently.

    Basically, the problem is that whenever I overclock my CPU, the CPU frequency scaler (ondemand, performance, etc.) in Ubuntu will not recognize the overclock. The stock CPU speed is 3Ghz, but I have it overclocked to 3.4GHZ and Ubuntu still just recognizes it as 3Ghz. I can turn off the AMD "cool 'n quiet" in the BIOS and then Ubuntu recognizes the overclock. That's well and good, but I really want to use the power saving features of "ondemand."

    As others have noted, Windows does not have this problem. I have heard that this is because motherboard manufacturers tailor the BIOS towards Windows and that Windows has its own proprietary ACPI standard. Whatever the case, it is a PITA that Linux has this issue. Is there any workaround?

    OS: Ubuntu Maverick x64

    Hardware:

    Mobo: Gigabyte GA-MA770T-UD3
    CPU: Phenom II x2 545
    Memory: 4GB Gksill 1600 DDR3
    Last edited by rookcifer; January 10th, 2011 at 12:00 AM.

  2. #2
    Join Date
    Jan 2008
    Location
    USA
    Beans
    971
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Overclocking and CPU Freq Scaling -- HOW?

    *bump*

  3. #3
    psusi is offline Ubuntu addict and loving it
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Beans
    3,980
    Distro
    Ubuntu Development Release

    Re: Overclocking and CPU Freq Scaling -- HOW?

    I don't know how Windows doesn't have the same problem since this sounds like a bios error. The bios hands the OS the table of available frequencies, so if it isn't updating that table when you overclock, then it's not doing it right and there isn't much the OS can do.

  4. #4
    Join Date
    Jan 2008
    Location
    USA
    Beans
    971
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Overclocking and CPU Freq Scaling -- HOW?

    Quote Originally Posted by psusi View Post
    I don't know how Windows doesn't have the same problem since this sounds like a bios error. The bios hands the OS the table of available frequencies, so if it isn't updating that table when you overclock, then it's not doing it right and there isn't much the OS can do.
    Well the thing is that if I turn off CPU frequency scaling in my BIOS (in my case it is AMD cool 'n quiet), then Linux picks up the proper overclocked frequency. It is only when I have cool and quiet enabled in the BIOS that Linux doesn't pick up any overclocks. It's really annoying, but I suspect this has something to do with BIOS makers only caring about Windows. I have heard Windows does not follow the accepted ACPI standards (big surprise, eh? Who would have thought M$ would make up a standard of its own and snub its nose at the rest of the world?).

  5. #5
    psusi is offline Ubuntu addict and loving it
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Beans
    3,980
    Distro
    Ubuntu Development Release

    Re: Overclocking and CPU Freq Scaling -- HOW?

    Quote Originally Posted by rookcifer View Post
    Well the thing is that if I turn off CPU frequency scaling in my BIOS (in my case it is AMD cool 'n quiet), then Linux picks up the proper overclocked frequency. It is only when I have cool and quiet enabled in the BIOS that Linux doesn't pick up any overclocks. It's really annoying, but I suspect this has something to do with BIOS makers only caring about Windows. I have heard Windows does not follow the accepted ACPI standards (big surprise, eh? Who would have thought M$ would make up a standard of its own and snub its nose at the rest of the world?).
    Right, because with it disabled, the frequency is whatever the bios left it at and the kernel doesn't change it. With cool and quiet enabled, it passes a table of available frequencies to the kernel to choose from.

    If it works it windows, it may be because the ACPI bios enables ACPI P-States for windows to use, and that gets the correct frequencies, but disables P-States under Linux, so it falls back to the AMD k10ctl method, which they don't pass the correct frequencies to.

    There was a kernel parameter to lie to the ACPI bios and claim that it is Windows. That might help.

  6. #6
    Join Date
    Nov 2008
    Location
    Old Cape Cod
    Beans
    55
    Distro
    Ubuntu Development Release

    Re: Overclocking and CPU Freq Scaling -- HOW?

    I have this same issue, and have been driven to simply disable scaling from bios. This is not what I want. I hope someone can actually address this problem, as it seems to effect every ubuntu user who overclocks with scaling enabled.

  7. #7
    psusi is offline Ubuntu addict and loving it
    Join Date
    Sep 2005
    Location
    Orlando, FL
    Beans
    3,980
    Distro
    Ubuntu Development Release

    Re: Overclocking and CPU Freq Scaling -- HOW?

    Quote Originally Posted by jnew93 View Post
    I have this same issue, and have been driven to simply disable scaling from bios. This is not what I want. I hope someone can actually address this problem, as it seems to effect every ubuntu user who overclocks with scaling enabled.
    It doesn't affect me, though my new Asus P8P67 Pro board has a different bug. If I overclock BCLK at all, it passes a P-state table that claims the processor runs from 1.6 GHz to 5.8 Ghz, even when it is only 0.1% overclocked from the stock 1.6 GHz to 3.3 GHz. At a 3% oc the actual frequency is 1,648 MHz up to 3,811 MHz, but it still claims 1,600 to 5,800. I have complained to Asus about it and they are brushing me off instead of fixing it.

  8. #8
    Join Date
    Aug 2009
    Location
    Brisbane
    Beans
    3,779

    Re: Overclocking and CPU Freq Scaling -- HOW?

    Just out of intrest rookcifer, did you o/c to 3.4GHZ by raising the HTT or by bumping the multi?

    I'd guess that its a HTT overclock, and that bumping the multi might work better.

  9. #9
    Join Date
    Jan 2008
    Location
    USA
    Beans
    971
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Overclocking and CPU Freq Scaling -- HOW?

    Quote Originally Posted by cascade9 View Post
    Just out of intrest rookcifer, did you o/c to 3.4GHZ by raising the HTT or by bumping the multi?
    You overclock the CPU by either raising the multi or the reference clock (or both). My CPU doesn't have an unlocked multiplier, thus I had to raise the reference clock. I don't overclock the HTT because it gives no performance advantage. As for the Northbridge, I did overclock it because it gives an advantage to the speed of the IMC. Right now I am not running any OC because I prefer to have the CPU frequency scaling since I leave my PC on 24/7.
    Occam's Razor for computers: Viruses must never be postulated without necessity -- nevius

    My Blog

  10. #10
    Join Date
    Aug 2009
    Location
    Brisbane
    Beans
    3,779

    Re: Overclocking and CPU Freq Scaling -- HOW?

    Yeah, silly mistake....I really, really shouldnt talk about things on chating programs at the same time as I'm making a post about the same subject on a forum.

    I'm running virtually the same board (770T-USB3) and CPU (550) and I get the same issue. I tried bumping the host clock to 202MHz and cpufreq-infoI still listed 3.10GHz as the 'hardware limit'. Though I seem to actually get frequency changes, its not locked at 3100MHz.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •