Thursday, June 12, 2014

Installing Manjaro on a ASUS 1011PX netbook


Installing Manjaro Linux on a ASUS 1011PX netbook


If install process itself is quite easy thanks to a noob-proof installer, setting up power saving is more difficult (for an Arch noob as i am) : here is what i found that could fit to my specific needs.


First simply follow Optimized power settings explained in Manjaro's wiki :

- install 3.14.x kernel
- enabling Intel Microcode
- adding some advanced flags to grub : 
pcie_aspm=force acpi_osi=Linux acpi=force acpi_enforce_resources=lax i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 i915.semaphores=1

- installing TLP (more about TLP) [Don't forget to remove laptop-mode-tools first!]
- installing Linux Thermal Daemon



Then add a few optimizations to TLP : 
the ASUS 1011PX has an Atom n570 @1.66GHz
(available freq : 1667000, 1333000, 1000000kHz)

- Change CPU governor : 
CPU_SCALING_GOVERNOR_ON_AC=ondemand
CPU_SCALING_GOVERNOR_ON_BAT=conservative
(Atom CPU are really too slow using powersave governor [CPU will be stuck @1.0GHz]

- enable MAX freq (keeping default for min : don't uncomment the line):
#CPU_SCALING_MIN_FREQ_ON_AC=0
CPU_SCALING_MAX_FREQ_ON_AC=1667000
#CPU_SCALING_MIN_FREQ_ON_BAT=0

CPU_SCALING_MAX_FREQ_ON_BAT=1333000
(to save a little more juice so that conservative governor will only switch between 1.0 and 1.33GHz when on battery)

I didn't touched the other settings yet.


To see if TLP is doing is job : 
enter the following in terminal (once on AC, once on battery):
sudo tlp-stat | grep cpu