|
2008-05-15
, 22:03
|
Posts: 157 |
Thanked: 16 times |
Joined on Jan 2008
|
#72
|
#! /bin/sh
case "$1" in
start)
sysctl -p > /dev/null
;;
*) echo "Usage: $0 {start}"
exit 1
;;
esac is this correct
net.ipv4.tcp_window_scaling=0 net.ipv4.tcp_sack=0 net.ipv4.tcp_keepalive_time=1800 net.ipv4.tcp_fin_timeout=10 net.ipv4.tcp_timestamps=0 vm.swappiness=25 vm.vfs_cache_pressure=150 net.ipv4.tcp_dsack=0 vm.min_free_kbytes=768
|
2008-05-15
, 22:20
|
|
Posts: 449 |
Thanked: 51 times |
Joined on Apr 2008
@ eastern north carolina usa
|
#73
|
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 400000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
|
2008-05-15
, 22:56
|
|
Posts: 868 |
Thanked: 474 times |
Joined on Oct 2007
@ Capital District, NY, USA
|
#74
|
|
2008-05-15
, 23:01
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#75
|
|
2008-05-15
, 23:03
|
|
Posts: 449 |
Thanked: 51 times |
Joined on Apr 2008
@ eastern north carolina usa
|
#76
|
|
2008-05-26
, 01:27
|
|
Posts: 449 |
Thanked: 51 times |
Joined on Apr 2008
@ eastern north carolina usa
|
#77
|
|
2008-05-30
, 06:23
|
|
Posts: 229 |
Thanked: 108 times |
Joined on Oct 2007
@ Sacramento, California
|
#78
|
|
2008-05-30
, 07:13
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#79
|
|
2008-05-30
, 07:40
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#80
|
Intersting stuff. I'll try those two, but I'm very hesitant to peg the CPU since that seems like a horrible waste of power. Changing the governor to performance does seem like a sweet trick.
Maybe I can write a little app that can apply either performance or batterylife with a max speed limit based on the locking status.
Changing the governor to performance does peg the CPU. (With the exception that if a DSP task is present, it falls back to 330 MHz to boost DSP throughput.)
case "$1" in
start)
sysctl -p > /dev/null
;;
*) echo "Usage: $0 {start}"
exit 1
;;
esac is this correct
no longer here...leave me a pm......meeep....
Last edited by joepagiii; 2008-05-15 at 12:52.