
On 02/25/2014 05:56 PM, Mrunal Gawade wrote:
Also try to tune your virtual memory settings by playing around with the following parameters. This changes the flushing behavior of memory pages.
Do not use the parameters below directly as it is.
Look at what are your existing parameters and tune to delay flushing. The parameters below, will delay flushing for an extreme time, which might not be good in your case as file system might get out of sync. But as a test you can try these parameters to see if they solve the problem, and then use correct parameters after playing around with them.
sysctl -w vm.swappiness=0 sysctl -w vm.dirty_expire_centisecs=6000000 sysctl -w vm.dirty_background_ratio=90 sysctl -w vm.dirty_writeback_centisecs=6000000 sysctl -w vm.dirty_ratio=90
The current value for these parameters are: vm.swappiness = 60 vm.dirty_expire_centisecs = 3000 vm.dirty_background_ratio = 10 vm.dirty_writeback_centisecs = 500 vm.dirty_ratio = 20 I will read more about the effects of these settings and try to tune the system. Also... about the hugepages, these are Debian 6.0.4 servers and the only hugepages parameters I can find are these: /proc/sys/vm/nr_hugepages /proc/sys/vm/hugetlb_shm_group /proc/sys/vm/hugepages_treat_as_movable /proc/sys/vm/nr_overcommit_hugepages and all of them are set to "0". Thanks for your help. -- /** * Luis Neves * @e-mail: luis.neves@co.sapo.pt * @xmpp: lfs_neves@sapo.pt * @web: http://about.me/luisneves * @tlm: +351 962 057 656 * -- * As opiniões expressas por mim não são * necessariamente opiniões em que eu acredito * -- */