This is the old SliTaz forum - Please use the main forum.slitaz.org

Saving energy
  • kultexkultex January 2011
    I do research on bringing down the powerconsumtion for cooking

    thats the kernel info

    tux@slitaz:~$ zcat /proc/config.gz | grep -i freq
    # CPU Frequency scaling
    CONFIG_CPU_FREQ=y
    CONFIG_CPU_FREQ_TABLE=y
    # CONFIG_CPU_FREQ_DEBUG is not set
    CONFIG_CPU_FREQ_STAT=y
    # CONFIG_CPU_FREQ_STAT_DETAILS is not set
    CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
    # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
    # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
    # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
    CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
    CONFIG_CPU_FREQ_GOV_POWERSAVE=m
    CONFIG_CPU_FREQ_GOV_USERSPACE=y
    CONFIG_CPU_FREQ_GOV_ONDEMAND=y
    CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
    # CPUFreq processor drivers
    CONFIG_X86_PCC_CPUFREQ=m
    CONFIG_X86_ACPI_CPUFREQ=m
    CONFIG_X86_CPUFREQ_NFORCE2=m
    tux@slitaz:~$

    I Installed - linux-cpufreq, linux-acpi, acpid

    did evrything mentioned here http://doc.slitaz.org/en:guides:powermgmt

    modprobe acpi-cpufreq
    modprobe cpufreq_powersave


    still the the frequency of the cpu does not change - always 1400 Mhz - normally it should go down to 600 Mhz

    is it perhaps the problem, that

    CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y

    shouldnd it be

    CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set

    or at least

    CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y


  • GokhlayehGokhlayeh January 2011
    You have to use the cpufreq tool to set up the governor; you can use cpufreq-set to do that. argument -c allow to select a cpu (count start from 0), and -g a governor (ondemand scale smoothly the CPU consuption in function of the needs); so, if I have two CPU I do :
    cpufreq-set -c 0 -g ondemand
    cpufreq-set -c 1 -g ondemand

    To check if all works fine : cpufreq-info.

    Hopes all is all right now.
  • kultexkultex January 2011
    after installing cpufrequtils evrything is working like a charme
  • kultexkultex January 2011
    !!! - it works only in cooking (4.0) !!! and not in 3.0 - there is no cpufrequtils in stable
  • TotoetsasoeurTotoetsasoeur February 2011
    @kultex,
    I have not try it but thank you for the guide you've written. It looks really nice and clear.

    For those who might be interested:
    http://doc.slitaz.org/en:guides:cpu-frequency

    Cheers.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social