WOIIFTM
22-08-11, 12:25
This plugin was posted today http://www.world-of-satellite.com/showthread.php?10452-Force-file-Swap-reduce-RAM.
Essentially it replaces the sysctl.conf file in /etc with vm.swappiness and vm.vfs_cache_pressure parameters. A quick check shows that currently the sysctl.conf contains the following:
vm.dirty_writeback_centisecs = 300
vm.dirty_background_ratio = 1
vm.dirty_ratio = 60
The plugin is based on a discussion on Linux desktops that started somewhere in 2007: http://rudd-o.com/en/linux-and-free-software/tales-from-responsivenessland-why-linux-feels-slow-and-how-to-fix-that.
With what I know of Linux the vm.dirty parameter regulates page cache (disks) and the 'new' parameters regulate swap behavior. Wouldn't it be better to add the swap parameters to the current page cache parameters than to loose these parameters?
Essentially it replaces the sysctl.conf file in /etc with vm.swappiness and vm.vfs_cache_pressure parameters. A quick check shows that currently the sysctl.conf contains the following:
vm.dirty_writeback_centisecs = 300
vm.dirty_background_ratio = 1
vm.dirty_ratio = 60
The plugin is based on a discussion on Linux desktops that started somewhere in 2007: http://rudd-o.com/en/linux-and-free-software/tales-from-responsivenessland-why-linux-feels-slow-and-how-to-fix-that.
With what I know of Linux the vm.dirty parameter regulates page cache (disks) and the 'new' parameters regulate swap behavior. Wouldn't it be better to add the swap parameters to the current page cache parameters than to loose these parameters?