class ubuntu::optimizacion { # package { [ 'autossh', 'iftop', 'dstat' ]: ensure => installed } # sudo sysctl vm.swappiness=5 # sudo su -c 'echo vm.swappiness=5 >> /etc/sysctl.conf' # prelink # http://www.markghigliotti.com/2008/12/22/setting-up-prelink-and-preload-on-intrepid-ibex-810/ # https://wiki.koumbit.net/DisksPerformance #http://rudd-o.com/en/linux-and-free-software/tales-from-responsivenessland-why-linux-feels-slow-and-how-to-fix-that # package { [ 'preload' ]: ensure => installed } }