Cpufreqd.conf per Eee PC 701

Se avete seguito la mia guida all’installazione, probabilmente avrete notato che il pc tende ad essere molto lento quando la batteria si sta scaricando. Questo è dovuto essenzialmente alla politica di risparmio energetico che fa felici tutti gli smanettoni del mondo eccetto il sottoscritto che non apprezza particolarmente di trovarsi a lavorare su un pc che di botto si siede sui 113MHz, quale che sia il motivo.

Per questo ho modificato e vi invito a modificare a piacimento il file di configurazione che si trova in /etc/cpufreqd.conf

Naturalmente bisogna aver installato cpufreqd:

pacman -Sy cpufreqd

Particolarmente importante è capire come funziona questo file e valutare in base alle proprie esigenze le modifiche da fare. Qui di seguito incollo il mio, se qualcuno ha domande scriva pure un commento 😉

[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=2
verbosity=4
#enable_remote=1
#remote_group=root
[/General]

[acpi]
acpid_socket=/var/run/acpid.socket
[/acpi]

#[nforce2_atxp1]
#vcore_path=/some/path
#vcore_default=1500
#[/nforce2_atxp1]

#[sensors_plugin]
#sensors_conf=/some/file
#[/sensors_plugin]

[Profile]
name=On Demand High
minfreq=60%
maxfreq=100%
policy=ondemand
[/Profile]

[Profile]
name=On Demand Low
minfreq=40%
maxfreq=100%
policy=ondemand
[/Profile]

[Profile]
name=Performance High
minfreq=80%
maxfreq=100%
policy=performance
#exec_post=echo 8 > /proc/acpi/sony/brightness

[/Profile]

[Rule]
name=AC Rule
ac=on # (on/off)
profile=Performance High
[/Rule]

# conservative mode when not AC
[Rule]
name=AC Off – Low Battery
ac=off # (on/off)
battery_interval=0-10
#exec_post=echo 5 > /proc/acpi/sony/brightness
profile=Powersave Low
[/Rule]

# conservative mode when not AC
[Rule]
name=AC Off – Medium Battery
ac=off # (on/off)
battery_interval=10-70
#exec_post=echo 5 > /proc/acpi/sony/brightness
profile=On Demand Low
[/Rule][Rule]
name=AC Off – High Power
ac=off # (on/off)
battery_interval=70-90
#exec_post=echo 5 > /proc/acpi/sony/brightness
profile=On Demand High
[/Rule]

##
# Special Rules
##
# CPU Too hot!
[Rule]
name=CPU Too Hot
acpi_temperature=61-100
cpu_interval=61-100
profile=Performance Low
[/Rule]
# Special Rules
##
# CPU Too hot!
[Rule]
name=CPU Too Hot
acpi_temperature=61-100
cpu_interval=61-100
profile=Performance Low
[/Rule]

# use performance mode if I’m watching a movie
# I don’t care for batteries!
# But don’t heat too much.
[Rule]
name=Movie Watcher
programs=xine,mplayer,gmplayer,opera
battery_interval=0-100
acpi_temperature=0-60
cpu_interval=0-100
profile=Performance High
[/Rule]

Annunci

2 pensieri su “Cpufreqd.conf per Eee PC 701”

  1. # this is a comment
    # see CPUFREQD.CONF(5) manpage for a complete reference
    #
    # Note: ondemand/conservative Profiles are disabled because
    # they are not available on many platforms.

    [General]
    pidfile=/var/run/cpufreqd.pid
    poll_interval=2
    verbosity=4
    #enable_remote=1
    #remote_group=root
    [/General]

    #[acpi]
    #acpid_socket=/var/run/acpid.socket
    #[/acpi]

    #[nforce2_atxp1]
    #vcore_path=/some/path
    #vcore_default=1500
    #[/nforce2_atxp1]
    #[sensors_plugin]
    #sensors_conf=/some/file
    #[/sensors_plugin]

    #[Profile]
    #name=On Demand High
    #minfreq=40%
    #maxfreq=100%
    #policy=ondemand
    #[/Profile]
    #
    #[Profile]
    #name=On Demand Low
    #minfreq=20%
    #maxfreq=80%
    #policy=ondemand
    #[/Profile]
    [Profile]
    name=Performance High
    minfreq=100%
    maxfreq=100%
    policy=performance
    #exec_post=echo 8 > /proc/acpi/sony/brightness
    [/Profile]

    [Profile]
    name=Performance Low
    minfreq=80%
    maxfreq=80%
    policy=performance
    [/Profile]

    [Profile]
    name=Powersave High
    minfreq=60%
    maxfreq=60%
    policy=powersave
    [/Profile]
    [Profile]
    name=Powersave Low
    minfreq=40%
    maxfreq=40%
    policy=powersave
    [/Profile]

    #[Profile]
    #name=Conservative High
    #minfreq=33%
    #maxfreq=100%
    #policy=conservative
    #[/Profile]
    #
    #[Profile]
    #name=Conservative Low
    #minfreq=0%
    #maxfreq=66%
    #policy=conservative
    #[/Profile]

    ##
    # Basic states
    ##
    # when AC use performance mode
    [Rule]
    name=AC Rule
    ac=on # (on/off)
    profile=Performance High
    [/Rule]

    # stay in performance mode for the first minutes
    [Rule]
    name=AC Off – High Power
    ac=off # (on/off)
    battery_interval=70-100
    #exec_post=echo 5 > /proc/acpi/sony/brightness
    profile=Performance Low
    [/Rule]

    # conservative mode when not AC
    [Rule]
    name=AC Off – Medium Battery
    ac=off # (on/off)
    battery_interval=30-70
    #exec_post=echo 3 > /proc/acpi/sony/brightness
    profile=Powersave High
    [/Rule]

    # conservative mode when not AC
    [Rule]
    name=AC Off – Low Battery
    ac=off # (on/off)
    battery_interval=0-30
    #exec_post=echo 3 > /proc/acpi/sony/brightness
    profile=Powersave Low
    [/Rule]

    ##
    # Special Rules
    ##
    # CPU Too hot!
    [Rule]
    name=CPU Too Hot
    acpi_temperature=55-100
    cpu_interval=50-100
    profile=Performance Low
    [/Rule]

    # use performance mode if I’m watching a movie
    # I don’t care for batteries!
    # But don’t heat too much.
    [Rule]
    name=Movie Watcher
    programs=xine,mplayer,gmplayer,vlc,firefox-bin,PokerStars.exe
    battery_interval=0-100
    acpi_temperature=0-60
    cpu_interval=0-100
    profile=Performance High
    [/Rule]

    ###########################################

    I have put iceweasel (firefox-bin) on special rules because when i watch a movie with flash the cpu goes up (adobe flash plugin problem), also put PokerStars.exe (wine application) because it is a little bit heavy.

Rispondi

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...