Ok, I see you can overlap swappolube 'vfs_cache_pressure' value if it exist in saved swappolube configuration as default, and differ from the static value you put in 'overclock' script. What about this modification ? : Code: #!/bin/sh # Default value in case we don't have a swappolube config saved with 'vfs_cache_pressure' option value. VFS_CACHE_PRESSURE=100 # Loading saved swappolube 'vfs_cache_pressure' value if it exist in /etc/event.d/tuning. if $(grep vfs_cache_pressure /etc/event.d/tuning 1>/dev/null 2>&1) ; then VFS_CACHE_PRESSURE=$(grep vfs_cache_pressure /etc/event.d/tuning | awk '{print $2}' | sed 's|"||g') fi kernel-config load ideal kernel-config limits 500 1150 echo ${VFS_CACHE_PRESSURE} > /proc/sys/vm/vfs_cache_pressure for process in browserd scim-panel-gtk image-viewer do /usr/bin/pkill -CONT $process done
#!/bin/sh # Default value in case we don't have a swappolube config saved with 'vfs_cache_pressure' option value. VFS_CACHE_PRESSURE=100 # Loading saved swappolube 'vfs_cache_pressure' value if it exist in /etc/event.d/tuning. if $(grep vfs_cache_pressure /etc/event.d/tuning 1>/dev/null 2>&1) ; then VFS_CACHE_PRESSURE=$(grep vfs_cache_pressure /etc/event.d/tuning | awk '{print $2}' | sed 's|"||g') fi kernel-config load ideal kernel-config limits 500 1150 echo ${VFS_CACHE_PRESSURE} > /proc/sys/vm/vfs_cache_pressure for process in browserd scim-panel-gtk image-viewer do /usr/bin/pkill -CONT $process done