Bacula server operating system tuning:
RAM (> 8GB)
vm.dirty_ratio = 2
vm.dirty_background_ratio = 1
vm.swappiness = 10
vm.zone_reclaim_node = 0
1) Check the current parameters' values
Code: Select all
sudo sysctl vm.dirty_ratio;sudo sysctl vm.dirty_background_ratio; sudo sysctl vm.swappiness;sudo sysctl vm.zone_reclaim_node
Code: Select all
sudo nano /etc/sysctl.conf
Code: Select all
vm.dirty_ratio = 2
vm.dirty_background_ratio = 1
vm.swappiness = 10
vm.zone_reclaim_node = 0
Code: Select all
sudo sysctl -p
4) Check if values are correctly applied
Code: Select all
sudo sysctl vm.dirty_ratio;sudo sysctl vm.dirty_background_ratio; sudo sysctl vm.swappiness;sudo sysctl vm.zone_reclaim_node