View Single Post
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#103
Originally Posted by debernardis View Post
I
echo "30" > /proc/sys/vm/swappiness
echo "0" > /proc/sys/vm/page-cluster
echo "1" > /proc/sys/vm/laptop_mode [1]
echo "1" > /proc/sys/vm/oom_kill_allocating_task
echo "0" > /proc/sys/vm/dirty_expire_centisecs
echo "0" > /proc/sys/vm/dirty_writeback_centisecs
echo "60" > /proc/sys/vm/dirty_background_ratio
echo "95" > /proc/sys/vm/dirty_ratio
echo "0" > /proc/sys/net/ipv4/tcp_timestamps
echo "1" > /proc/sys/net/ipv4/tcp_no_metrics_save
If someone has extra time, would be nice to have URI's for every setting what it really is (to Linux kernel docs for example). Some of them have surely been explained here and there on these posts, but gather them all to one single post or preferrably to this starting post of this thread.

Or a wiki page would be nice for this package and for the settings it use.

[1] http://www.linuxjournal.com/article/7539

(Edit: I did as an example for laptop_mode.)

(Edit2: Oh, didn't try this link in the first post. Maybe they are all there already. And seems also now underneath an another link. But links to actual Linux kernel docs are missing in both.)

Last edited by zimon; 2010-09-20 at 17:25.
 

The Following 2 Users Say Thank You to zimon For This Useful Post: