Guest User

Untitled

a guest
Jul 6th, 2010
289
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. echo "Enabling HPET clock source"
  2. echo "hpet" > /sys/devices/system/clocksource/clocksource0/current_clocksource &
  3. # echo "Underclocking the CPU (experimental)"
  4. # echo "0 0 0 0 0 0 0 0 0 0" > /sys/devices/system/cpu/cpu0/cpufreq/phc_vids
  5. echo "Enabling maximum power saving mode in Intel processor"
  6. echo 15 > /sys/module/intel_idle/parameters/power_policy &
  7. echo "Enabling multicore powersave mode"
  8. echo "1" > /sys/devices/system/cpu/sched_mc_power_savings &
  9. echo "Enabling multiprocessor powersave mode"
  10. echo "2" > /sys/devices/system/cpu/sched_smt_power_savings &
  11. echo "Using conservative CPU governor"
  12. echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor &
  13. echo "Tweakng conservative governor"
  14. echo 80 > /sys/devices/system/cpu/cpufreq/conservative/down_threshold &
  15. echo 85 > /sys/devices/system/cpu/cpufreq/conservative/up_threshold &
  16.  
  17. echo "Starting IRQ balance daemon"
  18. irqbalance > /dev/null &
  19.  
  20. echo "Enabling laptop mode"
  21. echo "5" > /proc/sys/vm/laptop_mode &
  22.  
  23. echo "Enabling sata power management"
  24. echo "min_power" > /sys/class/scsi_host/host0/link_power_management_policy &
  25. echo "min_power" > /sys/class/scsi_host/host1/link_power_management_policy &
  26. echo "min_power" > /sys/class/scsi_host/host2/link_power_management_policy &
  27. echo "min_power" > /sys/class/scsi_host/host3/link_power_management_policy &
  28. echo "min_power" > /sys/class/scsi_host/host4/link_power_management_policy &
  29. echo "Increasing hdd writeback timer"
  30. echo "1500" > /proc/sys/vm/dirty_writeback_centisecs &
  31. echo "Tweaking NCQ"
  32. # echo 32 > /sys/block/sda/queue/nr_requests &
  33. echo "Increasing read-ahead value"
  34. echo 1024 > /sys/block/sda/queue/read_ahead_kb &
  35.  
  36. echo "Enabling PCI-e powersave policy"
  37. echo "powersave" > /sys/module/pcie_aspm/parameters/policy &
RAW Paste Data