Just a few ideas which work for my system (256 GB RAM):
Change swappiness from 60 (=default) to a smaller value, e.g. 10 in /etc/sysctl.conf by adding the following line:
- Code: Select all
vm.swappiness=10
Setting swappiness to "0" will switch off using swap space.
Create a RAM disk for processes / programs which may require high disk I/O so that read/write operations can benefit from the RAM disk. Just be aware that in case of a power failure these data will get lost if you do not have an UPS (Uninterruptible Power Supply). In general, do not place important files there without a backup. You can create a RAM disk by adding a line like the following to your /etc/fstab:
- Code: Select all
tmpfs /data/projects/images tmpfs size=32G 0 0
The parameter "size" can be specified with a certain percentage of RAM: size=10%
Well, the most critical potential problem of a power failure is loss of data. Just keep your backups up to date and do not place important files on a RAM disk if you do not use an UPS.