On 1 May 2016 at 13:47, Duncan <1i5t5.dun...@cox.net> wrote: > Direct from that section of my /etc/sysctl.conf: > > ################################################################################ > # Virtual-machine: swap, write-cache
Hi Duncan, You mean virtual memory. Quoting from the kernel documentation https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/sysctl/vm.txt " This file contains the documentation for the sysctl files in /proc/sys/vm and is valid for Linux kernel version 2.6.29. The files in this directory can be used to tune the operation of the virtual memory (VM) subsystem of the Linux kernel and the writeout of dirty data to disk. " > # vm.vfs_cache_pressure = 100 > # vm.laptop_mode = 0 > # vm.swappiness = 60 > vm.swappiness = 100 > > # write-cache, foreground/background flushing > # vm.dirty_ratio = 10 (% of RAM) > # make it 3% of 16G ~ half a gig > vm.dirty_ratio = 3 > # vm.dirty_bytes = 0 > > # vm.dirty_background_ratio = 5 (% of RAM) > # make it 1% of 16G ~ 160 M > vm.dirty_background_ratio = 1 > # vm.dirty_background_bytes = 0 > > # vm.dirty_expire_centisecs = 2999 (30 sec) > # vm.dirty_writeback_centisecs = 499 (5 sec) > # make it 10 sec > vm.dirty_writeback_centisecs = 1000 > ################################################################################ Thanks, Mike -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html