aaleksoO

Napravljene poruke na forumu

Gledanje 1 članka - 1 do 2 (od 2 ukupno)
  • Autor
    Članci
  • kao odgovor na: Odg: Da morate – šta biste odabrali? #61760
    aaleksoO
    Učesnik

    Pocheo sam sa red hat-om neznam koji broj, pa mandrak pa slack pa fedora, sa kanotix-om
    sam se navukao na debian i sve shto ima veze sa Debianom.ali sve
    vreme dualbot sa Window$om, zbog Muzike (midi i ostala sran**) i zbog dece. Ali !!! Odkad imam Laptop Prvo Asus A6km sada HP nx7300, sada opet Dualboot ali, Kubuntu i Bactrack 2.
    Znachi odabrao bi Linux bilo koji distro Definitivno  O0   

    kao odgovor na: Veliki Ubuntu BUG. Katastrofa ! #56636
    aaleksoO
    Učesnik

    Koristim kubuntu feisty 7.04 i BackTrack2 na Asus A6km laptopu, i nemam nikakav problem shto se tiche freq. scaling. jedini problem mi se pojavio kada sam hteo umesto kde-guidance-powermanager-a da instaliram kpowersave. izgubio sam frequency scaling i sve postavke. Ali ! ispostavilo se da je kriv bug u kde-guidance-powermanager-u
    https://bugs.launchpad.net/ubuntu/+source/hal/+bug/89750 Posle sam namestio sve ruchno i sve radi kako shto treba.

    How to enable your CPU’s Power Saving/Frequency Scaling features
    Open a Terminal window (in Applications > Accessories) and type,

    cat /proc/cpuinfo

    Look for the reference to “cpu MHz” and compare it to the official MHz of your processor. If it is considerably lower, e.g. a 2.0 GHz processor reporting as 1.0 GHz, then the power-save frequency scaling is probably already working. You can further test this by running a cpu intensive process, e.g. glxgears, and then retesting the cpu speed — if it has increased to the official MHz then the automatic scaling is already working. (Note: the instructions below can also allow you to manually set the cpu speed.)

        * Step 1: Enable BIOS Support

    Enter your BIOS at boot and make sure both ACPI and Cool’n’Quiet (AMD) or SpeedStep (Intel) are enabled. Some BIOSes may not have option at all. If that is the case it is probably enabled by default. Other BIOSes may have the option but it is listed as another name altogether. If that is the case check your BIOS manual for more info.

        * Step 2: Remove Userspace Scaling Software

    powernowd

    sudo apt-get remove powernowd

    cpudyn

    sudo apt-get remove cpudyn

        * Step 3: Install CPU Module

    Identify your cpu type by running the command

    cat /proc/cpuinfo

    You can also Check the following links AMD CPU Chart – [[2]] Intel CPU Chart – [[3]]

    AMD Sempron/Athlon/MP ( K7 )

    Socket Types: A, Slot A

    sudo modprobe powernow-k7

    AMD Duron/Sempron/Athlon/Opteron 64 ( K8 )

    Socket Types: 754, 939, 940, S1 ( 638 ), AM2 ( 940 ), F ( 1207 )

    sudo modprobe powernow-k8

    Intel Core Duo

    sudo modprobe speedstep-centrino

    Intel Pentium M

    sudo modprobe speedstep-centrino

    Intel Pentium 4

    sudo modprobe p4_clockmod

    Others (Unknown)

    I’m not entirely sure which cpus are supported using this module. If your cpu doesn’t work with one of the above methods try this one.

    sudo modprobe acpi-cpufreq

        * Step 4: Scaling Modules

    sudo modprobe cpufreq_conservative
    sudo modprobe cpufreq_ondemand
    sudo modprobe cpufreq_powersave
    sudo modprobe cpufreq_stats
    sudo modprobe cpufreq_userspace

        * Step 5: Testing/Configuration

    Show Available Governors

    cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

    You should see output similar to

    powersave conservative ondemand performance

        * Step 6: Load Modules at Boot

    Add the following lines to the end of /etc/modules

    cpufreq_conservative
    cpufreq_ondemand
    cpufreq_powersave
    cpufreq_stats
    cpufreq_userspace
    Also add the module you selected in Step 3

        * Step 7: Install cpufrequtils

    This is a simple, effective tool for using the modules from the command line.

    sudo apt-get install cpufrequtils

    Test that it’s working.

    cpufreq-info

        * Step 8: Select a governor

    The different governors control how the CPU speed is scaled. Your choices are:

    ondemand

    CPU frequency is scaled based on load.

    conservative

    The CPUfreq governor “conservative”, much like the “ondemand” governor, sets the CPU depending on the current usage. It differs in behaviour in that it gracefully increases and decreases the CPU speed rather than jumping to max speed the moment there is any load on the CPU. This behaviour more suitable in a battery powered environment.

    performance

    CPU only runs at max frequency regardless of load.

    powersave

    CPU only runs at min frequency regardless of load.

    See [[4]] for more details.

    I typically use ondemand. You get a very slight performance hit and save a lot of power (and produce a lot less heat when idle).

    Try it out:

    cpufreq-set -g ondemand

    On systems with more than one CPU you need to repeat the last command for every other CPU you have with specifying the parameter -c (CPU). To set the governor for the second CPU write:

    cpufreq-set -c 1 -g ondemand

    To see how many CPUs you have type:

    ls /sys/devices/system/cpu/

        * Step 9: Configure cpufrequtils to automatically set this governor on boot

    Edit the file /etc/default/cpufrequtils. Change the line:

    ENABLE=”false”

    to

    ENABLE=”true”

    I sve radi 🙂

Gledanje 1 članka - 1 do 2 (od 2 ukupno)