Angel can I just go with these with cache_press=20 since I'm too lazy to setup chron? thanks!Those are performance tweaks, not batt. They make a HUGE difference in performance if set right though.
This is what I set mine up as
Thats optimized based on Imoseyon and Drod2169's findings and much discussion with Derek (drod). I would recommend using a higher vm.vfs_cache_pressure value unless you are willing to set up a crontab to dump caches pretty frequently. Imoseyon suggested using "vm.vfs_cache_pressure = 20" on his blog unless you setup a crontab. I set my crontab for every 6 hours, rather aggressive but I have never had any problems with it. This page explains how to set up the crontab and in the comments in how to set it to drop caches.Code:
<br /> vm.dirty_radio = 90<br /> vm.dirty_background_ratio = 55<br /> vm.vfs_cache_pressure = 5<br /> vm.oom_kill_allocating_task = 1<br /> vm.min_free_kbytes = 4096<br /> vm.swappiness = 0<br /> kernel.sched_latency_ns = 500000<br /> kernel.sched_min_granularity = 1000000<br /> kernel.sched_wakeup_granularity_ns = 1000000<br /> vm.panic_on_oom = 2<br /> kernel.panic = 5<br />
Most of those values are explained on Imoseyon's blog if anyone is interested in the reasons why they are set like that
I also use a rather extensive init.d system but thats a topic for another thread/post.