My current problem was that :
- frequency management did not work directly
- the cpu being always at top speed, it becomes hot rapidly and the fan is working all the time (noisy)
- GPU is hot too
- maybe hard disk could be suspended too
- identify why laptop optimization are not proposed by default
Tools to monitor frequencies for CPU / GPU and temperatures, for HDD too
see http://wiki.eagle-usb.org/wakka.php?wiki=TrucsEtAstuces [fr]- cpufreq-info / cpufreq-applet (which crashed when acpi_cpufreq module was not loaded in kernel)
- nvclock -T for nvidia card
- for HDD
- smartctl -A /dev/sda|grep -iE "temp|VALUE"
- hddtemp /dev/sda
- gkrellm of course ;-) there's even a gnome-sensors-applet ! (and ksensors for those using KDE)
- sensors-detect (to load drivers) then sensors to display detected
- pwmconfig for ventilation / fans : for me, it displays :/ /usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed (not working on the nc6400 :/)
- powertweak with GUI, I could not do much with it on my nc6400 laptop (latency changes, some parameters for swap...), check back when advices available
- powertop provides advices to keep energy on laptop
Changes for HDD
- hdparm -S60 /dev/sda
/dev/sda: setting standby to 60 (5 minutes)
- hdparm -Y /dev/sda
/dev/sda: issuing sleep command
- hdparm -i /dev/sda # to get information about disk
- hdparm -C /dev/sda
/dev/sda: drive state is: active/idle
Other optimizations
- powertop check the reason why "Pas d'estimation ACPI disponible pour la consommation électrique"
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
augmentez l'intervalle d'écriture des pages modifiées de 4,99 à 15 s avec :
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
Ceci réduit les réveils du disque causés par la gestion de la mémoire en arrière-plan.
activez la suspension automatique de l'USB en appuyant sur la touche U ou en ajoutant usbcore.autosuspend=1 à la ligne de commande du noyau dans le fichier de configuration de grub.
Suggestion : activez le mode d'économie d'énergie pour le Wi-Fi à l'aide la commande suivante :
echo 5 > /sys/bus/pci/drivers/iwl3945/0000:02:00.0/power_level
Various results with these tools
This applies to my HP Pavilion dv6162 laptop with the GPU identified by lspcidrake -v|grep -i geforceCard:NVIDIA GeForce FX to GeForce 9850: nVidia Corporation|G72M [GeForce Go 7400] [DISPLAY_VGA] (vendor:10de device:01d8 subv:103c subd:30bb)
nvclock -T
nVidia Geforce Go 7400
=> GPU temperature: 65C
nvclock -f -m 135 -n 50 # down-clock to 135 MHz for memory / 50 MHz for GPU instead of 270 MHz / 100 MHz (trying 75 MHz is not stable enough, perhaps because it's not a multiple for PCI-E multiplier ?
Requested memory clock: 135.000 MHz Requested core clock: 50.000 MHz Warning using experimental NV4x lowlevel clock adjustment, if you encounter strange issues, issue a bugreport. Adjusted low-level clocks on a nVidia Geforce Go 7400 Memory clock: 135.000 MHz GPU clock: 49.781 MHz
nvclock -f -r # restore the original speeds
Your nVidia Geforce Go 7400 has been restored to its original clocks Memory clock: 270.000 MHz GPU clock: 100.237 MHz
cpufreq-info
cpufrequtils 003: cpufreq-info (C) Dominik Brodowski 2004-2006 Veuillez rapportez les erreurs et les bogues à cpufreq@lists.linux.org.uk, s'il vous plait. analyse du CPU 0 : pilote : acpi-cpufreq CPUs qui doivent changer de fréquences en même temps : 0 limitation matérielle : 1000 MHz - 1.67 GHz plage de fréquence : 1.67 GHz, 1.33 GHz, 1000 MHz régulateurs disponibles : ondemand, conservative, powersave, userspace, performance tactique actuelle : la fréquence doit être comprise entre 1000 MHz et 1.67 GHz. Le régulateur "ondemand" est libre de choisir la vitesse dans cette plage de fréquences. la fréquence actuelle de ce CPU est 1000 MHz (vérifié par un appel direct du matériel). analyse du CPU 1 : pilote : acpi-cpufreq CPUs qui doivent changer de fréquences en même temps : 1 limitation matérielle : 1000 MHz - 1.67 GHz plage de fréquence : 1.67 GHz, 1.33 GHz, 1000 MHz régulateurs disponibles : ondemand, conservative, powersave, userspace, performance tactique actuelle : la fréquence doit être comprise entre 1000 MHz et 1.67 GHz. Le régulateur "ondemand" est libre de choisir la vitesse dans cette plage de fréquences. la fréquence actuelle de ce CPU est 1000 MHz (vérifié par un appel direct du matériel).
smartctl -A /dev/sda|grep -iE "temp|VALUE"
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 044 037 045 Old_age Always FAILING_NOW 56 (29 209 60 25) 194 Temperature_Celsius 0x0022 056 063 000 Old_age Always - 56 (0 15 0 0) ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 050 037 045 Old_age Always In_the_past 50 (31 115 60 25) 194 Temperature_Celsius 0x0022 050 063 000 Old_age Always - 50 (0 15 0 0)
CategoryCookerInfo CategoryHobby CategoryStateOfTheArt