Page 11 of 13 FirstFirst ... 910111213 LastLast
Results 101 to 110 of 126

Thread: HOWTO: CPU Frequency Scaling w/ Kernel Module

  1. #101
    Join Date
    Apr 2008
    Location
    ATL
    Beans
    97
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    Please help.

    I had it all running perfectly, but after i rebooted it didn't work anymore. I tried following all the steps over again but it didnt work.

    Everything is in place and it acts like it is scaling but my CPU frequency remains the same.

    If i type 'cpufreq-info' it displays this:

    Code:
    cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
    Report errors and bugs to linux@brodo.de, please.
    analyzing CPU 0:
      driver: acpi-cpufreq
      CPUs which need to switch frequency at the same time: 0 1
      hardware limits: 800 MHz - 2.53 GHz
      available frequency steps: 2.53 GHz, 2.53 GHz, 1.60 GHz, 800 MHz
      available cpufreq governors: userspace, powersave, ondemand, conservative, performance
      current policy: frequency should be within 2.53 GHz and 2.53 GHz.
                      The governor "conservative" may decide which speed to use
                      within this range.
      current CPU frequency is 2.53 GHz.
    analyzing CPU 1:
      driver: acpi-cpufreq
      CPUs which need to switch frequency at the same time: 0 1
      hardware limits: 800 MHz - 2.53 GHz
      available frequency steps: 2.53 GHz, 2.53 GHz, 1.60 GHz, 800 MHz
      available cpufreq governors: userspace, powersave, ondemand, conservative, performance
      current policy: frequency should be within 2.53 GHz and 2.53 GHz.
                      The governor "conservative" may decide which speed to use
                      within this range.
      current CPU frequency is 2.53 GHz.

  2. #102
    Join Date
    Apr 2008
    Location
    ATL
    Beans
    97
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    I found an entry at launchpad that relates to my problem, but it sticks me at the highest CPU frequency instead.

    https://bugs.launchpad.net/ubuntu/+s...ux/+bug/138465

    Is there a fix for this?

  3. #103
    Join Date
    Apr 2005
    Beans
    132

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    I have a Intel Pentium E5200 Wolfdale chip
    Code:
    $ cat /proc/cpuinfo 
    processor	: 0
    vendor_id	: GenuineIntel
    cpu family	: 6
    model		: 23
    model name	: Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz
    stepping	: 6
    cpu MHz		: 2499.921
    cache size	: 2048 KB
    physical id	: 0
    siblings	: 2
    core id		: 0
    cpu cores	: 2
    apicid		: 0
    initial apicid	: 0
    fdiv_bug	: no
    hlt_bug		: no
    f00f_bug	: no
    coma_bug	: no
    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 pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm
    bogomips	: 4999.84
    clflush size	: 64
    power management:
    
    processor	: 1
    vendor_id	: GenuineIntel
    cpu family	: 6
    model		: 23
    model name	: Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz
    stepping	: 6
    cpu MHz		: 2499.921
    cache size	: 2048 KB
    physical id	: 0
    siblings	: 2
    core id		: 1
    cpu cores	: 2
    apicid		: 1
    initial apicid	: 1
    fdiv_bug	: no
    hlt_bug		: no
    f00f_bug	: no
    coma_bug	: no
    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 pbe nx lm constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16 xtpr lahf_lm
    bogomips	: 5000.04
    clflush size	: 64
    power management:
    and I can't get speedstep-centrino or acpi-cpufreq to load:

    Code:
    $ sudo modprobe acpi-cpufreq 
    FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.27-11-generic/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device
    Code:
    ~$ sudo modprobe speedstep-centrino 
    FATAL: Error inserting speedstep_centrino (/lib/modules/2.6.27-11-generic/kernel/arch/x86/kernel/cpu/cpufreq/speedstep-centrino.ko): No such device
    anyone know what's wrong?
    thanks!

  4. #104
    Join Date
    Dec 2006
    Location
    /dev/null
    Beans
    351

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    @IndieRockSteve and blakjesus - Read this thread a few pages back:

    Quote Originally Posted by graysky View Post
    The problem lies with Ubuntu's kernel or some config file that I can't find - see this thread. My X3360 machine is stuck in 'full speed' running Intrepid-amd64. If I boot into Debian/Lenny, CPU scaling works just fine.

    I think the cause of the problem is the fact that I can't modprobe acpi-cpufreq under Ubuntu. See the post I linked above.


    Code:
    $ sudo modprobe acpi-cpufreq
    FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.27-11-generic/kernel/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.ko): No such device
    EDIT - I figured this out... see my post here for the details.
    Anyway, before you compile your own kernel, can one or preferably both of you file a bug report on this issue? I just created a new one as well - this is the only way the kernel team will learn about it and hopefully fix it!
    Last edited by graysky; February 22nd, 2009 at 12:17 PM.

  5. #105
    Join Date
    Sep 2006
    Beans
    19
    Distro
    Kubuntu 7.10 Gutsy Gibbon

    Exclamation Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    Quote Originally Posted by bodycoach2 View Post
    Ubuntu Document Storage Facility is back up. I found the answer:



    Frequency scaling is working. Most excellent.
    Thanks a lot! I also had the 'No such device' error, now that I loaded p4_clockmod scaling seems to work. I say "seems", as I also found this:

    http://www.codemonkey.org.uk/2009/01...ng-p4clockmod/

    so now I'm even more confused.. Generally speaking, I still have to find a good and complete tutorial about energy saving under linux. And this is not just about battery life, remember that computers all together have the same carbon footprint as airplanes..

  6. #106
    Join Date
    Oct 2007
    Location
    hk
    Beans
    706
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    Quote Originally Posted by piccobello View Post
    Thanks a lot! I also had the 'No such device' error, now that I loaded p4_clockmod scaling seems to work. I say "seems", as I also found this:

    http://www.codemonkey.org.uk/2009/01...ng-p4clockmod/

    so now I'm even more confused.. Generally speaking, I still have to find a good and complete tutorial about energy saving under linux. And this is not just about battery life, remember that computers all together have the same carbon footprint as airplanes..
    Actually throttling is for preventing cpu from overheating. It has no actual use on saving power consumption. It just lowers the bus speed but not the voltage and multiplier. The run time of your battery will not increase if you are using a notebook.

    Please see these thread
    http://ubuntuforums.org/showthread.php?t=309403
    http://ubuntuforums.org/showthread.php?t=1088427

    I cannot get my T1600 celeron dual-core to scale.

    Modprobing acpi-cpufreq or speedstep-centrino got the similar result as above.

    According Intel's site it should have EIST. I don't know if that's a BIOS/OS/chipsets problem. My BIOS doesn't show any setting about EIST/speedstep at all. Cannot get EIST work in win xp too.
    Last edited by afeasfaerw23231233; April 1st, 2009 at 06:22 PM.
    Ubuntu 7.10 on P4 1.8G and PIII 933mHz

  7. #107
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Beans
    61

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    Quote Originally Posted by afeasfaerw23231233 View Post
    Actually throttling is for preventing cpu overheating. It has no actual use on saving power consumption. It just lowers the bus speed but not the voltage and multiplier. The run time of your battery will not increase if you are using a notebook.

    Please see these thread
    http://ubuntuforums.org/showthread.php?t=309403
    http://ubuntuforums.org/showthread.php?t=1088427

    I cannot get my T1600 celeron dual-core to scale.

    Modprobing acpi-cpufreq or speedstep-centrino got the similar result as above.

    According Intel's site it should have EIST. I don't know if that's a BIOS/OS/chipsets problem. My BIOS doesn't show any setting about EIST/speedstep at all. Cannot get EIST work in win xp too.
    I've tried compiling 2.6.28.8 after reading graysky's post and still no dice for cpu scaling on the celeron. I think I'll try XP soon and see if the intel processor indentifier says if there's EIST or not.

  8. #108
    Join Date
    Oct 2007
    Location
    hk
    Beans
    706
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    The "Intel processor identifier" says our T1600 is an engineering sample. Strange.
    This page of Intel says T1600 doesn't support EIST
    http://ark.intel.com/cpu.aspx?groupID=38979
    but this Intel spec finder says it does support EIST
    http://processorfinder.intel.com/det...px?sSpec=SLB6J
    Last edited by afeasfaerw23231233; March 23rd, 2009 at 07:40 AM.
    Ubuntu 7.10 on P4 1.8G and PIII 933mHz

  9. #109
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Beans
    61

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    Quote Originally Posted by afeasfaerw23231233 View Post
    The "Intel processor identifier" says our T1600 is an engineering sample. Strange.
    This page of Intel says T1600 doesn't support EIST
    http://ark.intel.com/cpu.aspx?groupID=38979
    but this Intel spec finder says it does support EIST
    http://processorfinder.intel.com/det...px?sSpec=SLB6J
    Yeah, strange they both show the same CPUID (06FD)(0<cpu family><model><stepping> in hexadecimal) which is what my cpu is, and I'm guessing yours is too.

  10. #110
    Join Date
    Dec 2006
    Location
    /dev/null
    Beans
    351

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    Quote Originally Posted by graysky View Post
    @IndieRockSteve and blakjesus - Read this thread a few pages back:

    Anyway, before you compile your own kernel, can one or preferably both of you file a bug report on this issue? I just created a new one as well - this is the only way the kernel team will learn about it and hopefully fix it!
    I figured it out! I took a clue from my /var/log/dmesg

    Code:
    [    4.633657] [Firmware Bug]: BIOS needs update for CPU frequency support
    [    4.633718] ACPI Error (psloop-0136): Found unknown opcode 20 at AML address ffff88012d27c633 offset 4F, ignoring [20080926]
    [    4.633722] ACPI Error (psloop-0136): Found unknown opcode 6F at AML address ffff88012d27c638 offset 54, ignoring [20080926]
    [    4.633726] ACPI Error (psloop-0136): Found unknown opcode 20 at AML address ffff88012d27c63c offset 58, ignoring [20080926]
    [    4.633729] ACPI Error (psloop-0136): Found unknown opcode 6F at AML address ffff88012d27c640 offset 5C, ignoring [20080926]
    That line that reads, Firmware Bug: BIOS needs update for CPU frequency support was really bugging me. So I took a risk, d/l'ed the latest BIOS for my board, flashed, reset all my custom BIOS settings, and rebooted into my new kernel. I'm now able to use acpi-cpufreq and scaling works smoothly

    Thanks for all the advice.

Page 11 of 13 FirstFirst ... 910111213 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
  •