Page 12 of 13 FirstFirst ... 210111213 LastLast
Results 111 to 120 of 126

Thread: HOWTO: CPU Frequency Scaling w/ Kernel Module

  1. #111
    Join Date
    May 2009
    Beans
    1

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    Hi, I'm getting exactly the same issue here with the same CPU. I'm using a Shuttle K45 case & motherboard.

    Any idea if anyone manage to get this working?

    Quote Originally Posted by IndieRockSteve View Post
    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
    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!

  2. #112
    Join Date
    Jun 2008
    Location
    Buenos Aires, Argentina
    Beans
    5
    Distro
    Ubuntu 8.04 Hardy Heron

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

    I was getting errors when inserting the powernow_k8
    module on my AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
    It turned to be that I had to enable the Cool'n'Quiet option at BIOS.
    After that it worked flawlessly.
    seba@orion:~$ cpufreq-info
    cpufrequtils 004: cpufreq-info (C) Dominik Brodowski 2004-2006
    Report errors and bugs to cpufreq@lists.linux.org.uk, please.
    analyzing CPU 0:
    driver: powernow-k8
    CPUs which need to switch frequency at the same time: 0 1
    hardware limits: 1000 MHz - 2.60 GHz
    available frequency steps: 2.60 GHz, 2.40 GHz, 2.20 GHz, 2.00 GHz, 1.80 GHz, 1000 MHz
    available cpufreq governors: powersave, ondemand, conservative, userspace, performance
    current policy: frequency should be within 1000 MHz and 2.60 GHz.
    The governor "ondemand" may decide which speed to use
    within this range.
    current CPU frequency is 1000 MHz.
    cpufreq stats: 2.60 GHz:5.77%, 2.40 GHz:0.69%, 2.20 GHz:0.12%, 2.00 GHz:0.48%, 1.80 GHz:1.63%, 1000 MHz:91.30% (89)
    analyzing CPU 1:
    driver: powernow-k8
    CPUs which need to switch frequency at the same time: 0 1
    hardware limits: 1000 MHz - 2.60 GHz
    available frequency steps: 2.60 GHz, 2.40 GHz, 2.20 GHz, 2.00 GHz, 1.80 GHz, 1000 MHz
    available cpufreq governors: powersave, ondemand, conservative, userspace, performance
    current policy: frequency should be within 1000 MHz and 2.60 GHz.
    The governor "ondemand" may decide which speed to use
    within this range.
    current CPU frequency is 1000 MHz.
    cpufreq stats: 2.60 GHz:5.77%, 2.40 GHz:0.69%, 2.20 GHz:0.12%, 2.00 GHz:0.48%, 1.80 GHz:1.63%, 1000 MHz:91.30% (89)
    seba@orion:~$ lsmod|grep k8
    powernow_k8 17156 1
    freq_table 9344 3 powernow_k8,cpufreq_stats,cpufreq_ondemand
    k8temp 9216 0
    processor 42304 2 powernow_k8,thermal

    Ahhh, the sound of silence...
    Now The cpu fan is almost silent and my workstation is at 1GHz

    Thanks!
    Sebastian

  3. #113
    Join Date
    Nov 2009
    Location
    New Jersey
    Beans
    6
    Distro
    Ubuntu

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    My cpu...Im not sure if it has speed step (or the old version of speed step) but it can be manually underclocked...in windows,
    12.5%
    25%
    37.5%
    50%
    62.5%
    75%
    82.5%
    100%
    I havent found a program that will underclock this chip in linux, yet but im wondering if there is support on this cpu i got, or am i just screwed?

    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 23
    model name : Intel(R) Celeron(R) CPU 900 @ 2.20GHz
    stepping : 10
    cpu MHz : 2194.510
    cache size : 1024 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 13
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx lm constant_tsc up arch_perfmon pebs bts pni dtes64 monitor ds_cpl tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm
    bogomips : 4389.02
    clflush size : 64
    power management:

    Windows says odd things about this cpu too, ocasionally it will underclock to half power which is 1.10GHZ but other times it will be 1.2GHZ or off by some ammount, saying that its half powered. And even underclocking sometimes makes me think that im not saving power either way so why even do it.

  4. #114
    Join Date
    Apr 2007
    Location
    Perth, Australia
    Beans
    61

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    that manual underclocking is probably what that p4clockmod module does, where it limits the amount of work the processor does, but doesn't actually lower the clock frequency.
    I'd say since you don't have the "est" or "eist" flag you're not going to get frequency scaling, unfortunately. I've given up on trying to get it to work, just have to upgrade the processor to a Pentium class or better.

  5. #115
    Join Date
    Jan 2010
    Beans
    4

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    For me, the easiest way on Karmic (9.10) to boot with specific CPU frequency was to install sysfsutils.

    sudo apt-get install sysfsutils

    edit /etc/sysfs.conf and to the end:
    devices/system/cpu/cpu0/cpufreq/scaling_governor = conservative

    Remove /etc/init.d/ondemand so that it doesn't set the cpu frequency to ondemand after a minute or so:

    sudo mv /etc/init.d/ondemand /etc/init.d/ondemand.bak
    Last edited by slnkez; January 12th, 2010 at 07:47 AM.

  6. #116
    Join Date
    Jul 2008
    Beans
    5

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    Thanks for the guide. I've been able to run "sudo modprobe p4_clockmod" and the scaling works with "CPU Frequency Scaling Monitor" but I run into some problems.

    I can do everything until:

    Step 4: Scaling Modules
    Code:
    sudo modprobe cpufreq_conservative
    sudo modprobe cpufreq_ondemand
    sudo modprobe cpufreq_powersave
    sudo modprobe cpufreq_stats
    sudo modprobe cpufreq_userspace
    I get this error:
    Code:
    FATAL: Module cpufreq_conservative not found.
    (Each modprobe gets a similar error).

    Where can I find or add these cpufreq_x modules? I'm running Ubuntu 9.10 with an Intel Pentium 4 3.0ghz machine.

    I then run these commands and receive this output
    Code:
    cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
    conservative ondemand userspace powersave performance 
    
    sudo -s
    echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    
    cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    performance
    The system won't let me use the ondemand governor, but I can manually change the frequencies with the CPU applet.

    Any ideas?

  7. #117
    Join Date
    Sep 2009
    Beans
    2

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    I am trying to install some kind of freq. scaling on my AMD 3000+ system running Ubuntu 9.04 Server with 2.6.28-17 kernel.

    However I am missing the powernow-k8 kernel module. Is there a way to build this?

  8. #118
    Join Date
    Jul 2005
    Location
    Russia
    Beans
    13
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    $cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
    conservative ondemand userspace powersave performance

    $ sudo cpufreq-set -g ondemand
    and in dmesg i have an error:
    ondemand governor failed, too long transition latency of HW, fallback to performance governor
    why?

    $ cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 15
    model : 4
    model name : Intel(R) Celeron(R) CPU 2.66GHz
    stepping : 9
    cpu MHz : 2666.600
    cache size : 256 KB
    fdiv_bug : no
    hlt_bug : no
    f00f_bug : no
    coma_bug : no
    fpu : yes
    fpu_exception : yes
    cpuid level : 5
    wp : yes
    flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc up pebs bts pni dtes64 monitor ds_cpl tm2 cid cx16 xtpr lahf_lm
    bogomips : 5320.06
    clflush size : 64
    power management:

  9. #119
    Join Date
    Mar 2010
    Beans
    9

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    I'm running UNR 9.10 on Asus Eee 1001p, Intel Atom N450 processor. I'm using the CPU frequency scaling applet in the panel. My available speeds are 1.66, 1.33 and 1.00 ghz. I select powersave on the applet, and it works fine, it doesn't jump back to ondemand or anything. Since 1.00 ghz is the lowest possible for me, I'm happy. But when I restart, it starts with ondemand again. I want to run it on powersave by default every time I boot. How do I do that? I checked gnome-conf editor but could not find a setting for it.

    Sorry if this was asked earlier.

    EDIT: found the answer:
    http://ubuntuforums.org/showthread.php?t=597998
    Last edited by borabosna; March 25th, 2010 at 10:47 PM.

  10. #120
    Join Date
    Mar 2010
    Beans
    14

    Re: HOWTO: CPU Frequency Scaling w/ Kernel Module

    I have ubuntu 9.10 on an hp tx2525nr.

    It has an AMD 64-bit x2 processor (RM-70, 2.00GHz), and when I have it set for performance, when running on AC, it runs 2GHz, but on battery it drops to 1GHz. If I tell it manually to run at 1GHz, it runs at 1GHz, but if I set it to manual 2GHz, it runs at 1GHz.

    If I want to save battery I would've bought an intel.

    How do I alter the cpu scaling kernel in ubuntu to run 2GHz on battery when I tell it to?

Page 12 of 13 FirstFirst ... 210111213 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
  •