Çà y est, j'ai configuré le laptop-mode et voici mes résultats:
laptop-mode non configuré, non optimisé:
15:38 193 Load_Cycle_Count 0x0032 091 091 000 Old_age Always - 91719
15:53 193 Load_Cycle_Count 0x0032 091 091 000 Old_age Always - 91741
différence de 22 cycles sur 15 min = 1,46 cycles/min
9 Power_On_Hours 0x0032 088 088 000 Old_age Always - 4921
19 packetages par heure
__________________________________________________________
laptop-mode configuré:
18:45 193 Load_Cycle_Count 0x0032 091 091 000 Old_age Always - 91933
19:00 193 Load_Cycle_Count 0x0032 091 091 000 Old_age Always - 91943
différence de 10 cycles sur 15min = 0.66 cycles/min
9 Power_On_Hours 0x0032 088 088 000 Old_age Always - 4924
19 packetages par heure
Comme on peut le constater, il y a une diminution du nombre de cycle par minutes, peut-être que c'est un bon signe, et que je suis sur la bonne voie :)
Je vous présente ici une partie du fichier laptop-mode.conf, essentiellement les lignes que j'ai modifiées.
#
# Configuration for Laptop Mode Tools
# -----------------------------------
#
# There is a "system" to the configuration setting names:
# CONTROL_something=0/1 Determines whether Laptop Mode Tools controls
# something
# LM_something=value Value of "something" when laptop mode is active
# NOLM_something=value Value of "something" when laptop mode is NOT
# active
# AC_something=value Value of "something" when the computer is running
# on AC power
# BATT_something=value Value of "something when the computer is running
# on battery power
#
# There can be combinations of LM_/NOLM_ and AC_/BATT_ prefixes, but the
# available prefixes are different for each setting. The available ones are
# documented in the manual page, laptop-mode.conf(8). If there is no LM_/
# NOLM_ in a setting name, then the value is used independently of laptop
# mode state, and similarly, if there is no AC_/BATT_, then the value is used
# independently of power state.
#
# Some options only work on ACPI systems. They are marked ACPI-ONLY.
#
# Note that this configuration file is a fragment of bash shell script: you
# can use all the features of the bash scripting language to achieve your
# desired configuration.
#
#
# IMPORTANT: Laptop Mode Tools modules have separate configuration files, that
# can be found in /etc/laptop-mode/conf.d. Please look through these
# configuration files as well!
#
###############################################################################
###############################################################################
# Hard drive behaviour settings
# -----------------------------
#
# These settings specify how laptop mode tools will adjust the various
# parameters of your hard drives and file systems.
###############################################################################
#
# Maximum time, in seconds, of work that you are prepared to lose when your
# system crashes or power runs out. This is the maximum time that Laptop Mode
# will keep unsaved data waiting in memory before spinning up your hard drive.
#
LM_BATT_MAX_LOST_WORK_SECONDS=1200
LM_AC_MAX_LOST_WORK_SECONDS=360
#
# Should laptop mode tools control readahead?
#
CONTROL_READAHEAD=1
#
# Read-ahead, in kilobytes. You can spin down the disk while playing MP3/OGG
# by setting the disk readahead to a reasonable size, e.g. 3072 (3 MB).
# Effectively, the disk will read a complete MP3 at once, and will then spin
# down while the MP3/OGG is playing. Don't set this too high, because the
# readahead is applied to _all_ files that are read from disk.
#
LM_READAHEAD=3072
NOLM_READAHEAD=128
#
# Should laptop mode tools add the "noatime" option to the mount options when
# laptop mode is enabled?
#
CONTROL_NOATIME=0
#
# Should laptop mode tools control the hard drive idle timeout settings?
#
CONTROL_HD_IDLE_TIMEOUT=1
#
# Idle timeout values. (hdparm -S)
# Default is 2 hours on AC (NOLM_HD_IDLE_TIMEOUT_SECONDS=7200) and 20 seconds
# for battery and for AC with laptop mode on.
#
LM_AC_HD_IDLE_TIMEOUT_SECONDS=20
LM_BATT_HD_IDLE_TIMEOUT_SECONDS=60
NOLM_HD_IDLE_TIMEOUT_SECONDS=7200
#
# Should laptop mode tools control the hard drive power management settings?
#
CONTROL_HD_POWERMGMT=0
#
# Power management for HD (hdparm -B values)
#
BATT_HD_POWERMGMT=0
LM_AC_HD_POWERMGMT=255
NOLM_AC_HD_POWERMGMT=255
#
# Should laptop mode tools control the hard drive write cache settings?
#
CONTROL_HD_WRITECACHE=1
#
# Write cache settings for HD (hdparm -W values)
#
NOLM_AC_HD_WRITECACHE=1
NOLM_BATT_HD_WRITECACHE=0
LM_HD_WRITECACHE=1
Aucun commentaire:
Enregistrer un commentaire