Posts

Showing posts from December, 2012

Using Firefox now, Google chrome trashing my disk :(

I stop using Firefox now, because Google chrome trashing my disk :( (wake up disk too often in laptop mode) To check what is using your disk: stop rsyslog echo 1 > /proc/sys/vm/block_dump watch 'dmesg -T | tail -35 ' Misc: You may want to add commit=600,relatime to / and /home to /etc/fstab Read also: eatmydisk

Mysql on low memory system

This will reduce mysql memory usage on system with low memory, for example 256MB: Edit /etc/mysql/my.cnf [mysqld] .... innodb=OFF default-storage-engine=MyISAM .... service mysql restart

Custom script: set cpu governor to powersave

Custom script to set cpu governor to powersave when using battery, and return to ondemand when plugged cat /etc/pm/power.d/90khad #!/bin/sh batt() { echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo powersave > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor echo powersave > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor echo powersave > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor } ac() { echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor echo ondemand > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor echo ondemand > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor } case $1 in     true) batt ;;     false) ac ;;     *) exit $NA ;; esac exit 0

Daftar applet/indicator di ubuntu

Wah, banyak indicator yang keren2 di ubuntu, lihat di sini: http://askubuntu.com/questions/30334/what-application-indicators-are-available Yang gw install: System Load Indicator (grafik cpu) Dropbox Hardware Sensors Indicator (untuk temperatur)

More laptop power saving, Ubuntu

First, make sure your chipset supports ALPM , my Asus K43SM.401 does vi /etc/pm/config.d/sata_alpm write this line: SATA_ALPM_ENABLE=true Try to plug and unplug your charger To check: cat /sys/class/scsi_host/host*/link_power_management_policy it should read  min_power when on battery power