You are not logged in.

#1 2012-03-08 11:54:05

cypherinside
Member
Registered: 2011-04-22
Posts: 34

[Solved] Powertop2 tunables

Bad           Wireless Power Saving for interface wlan0                                                             
   Bad           Enable SATA link power management for /dev/sda
   Bad           NMI watchdog should be turned off
   Bad           Power Aware CPU scheduler

How can I fix?

Last edited by cypherinside (2012-03-09 13:39:07)


To be or not to be? ...Not to be! (Last Action Hero)

Offline

#2 2012-03-08 12:29:00

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: [Solved] Powertop2 tunables

Press 'Enter' on each entry. Besides, for a more permanent effect, you can add the following (I believe) to your /etc/rc.local:

echo 0 > /proc/sys/kernel/nmi_watchdog

for i in /sys/class/scsi_host/host*/link_power_management_policy; do
    echo min_power > $i
done

echo 1 > /sys/devices/system/cpu/sched_mc_power_savings

iwconfig wlan0 power timeout 500ms

:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2012-03-08 13:22:30

cypherinside
Member
Registered: 2011-04-22
Posts: 34

Re: [Solved] Powertop2 tunables

Thank you. Wireless power saving don't work: i have

Error for wireless request "Set Power Management" (8B2C) :
    invalid argument Error for wireless request "Set Power Management" (8B2C) :
    invalid argument "500ms" 

(but it happen with any argument). I think it's a driver issue (I have an Atheros AR9285).
PS: do these options influence negatively  the performaces? Because I can set them only on battery mode (not in AC).


To be or not to be? ...Not to be! (Last Action Hero)

Offline

#4 2012-03-08 14:08:49

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: [Solved] Powertop2 tunables

As for 2., I don't think so; I've been using powertop2 values mainly to lower the temperature of my laptop's guts and haven't noticed any noticeable degradation in performance. The reason may certainly be the pretty modest set of default apps, though. I also don't always reduce power consumption for wifi card, and only do so (manually via powertop2 interface) when the signal level is high.

For 1., try simply using

sudo iwconfig wlan0 power on


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#5 2012-03-09 13:38:29

cypherinside
Member
Registered: 2011-04-22
Posts: 34

Re: [Solved] Powertop2 tunables

I solved installing laptop-mode-tools smile


To be or not to be? ...Not to be! (Last Action Hero)

Offline

Board footer

Powered by FluxBB