[Speed Up] Shrink inode cache

posted in: Linux, Tutorials | 0

dimms

Shrink the inode cache would be beneficial for computers with 1 GB of RAM or more.

This is only possible for at least 1GB RAM computers as certain system items will remain longer in the RAM memory, which decreases the amount of available RAM for general tasks.

Sudo edit the /etc/sysctl.conf file and sroll to the bottom of the text file and add your cache parameters to override the defaults, so copy/paste the following lines:

#
# Improve cache management
vm.vfs_cache_pressure=50

Close the text file and reboot your computer.

Comments are closed.