Tuning Bacula: Better Backup Performance and Bottlenecks Treatment
Posted: 13 Jun 2024, 10:04
Referencing this ORIGINAL ARTICLE(S): https://www.bacula.lat/tuning-better-pe ... s/?lang=en
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
2) Permanently set the new values
Add the following lines at the end of the file :
3) Apply settings
Or, if you want, restart the machine
4) Check if values are correctly applied
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