Tuning Bacula: Better Backup Performance and Bottlenecks Treatment

Argomenti vari di carattere sistemistico
Post Reply
daniele
Posts: 340
Joined: 04 Mar 2009, 13:59

Tuning Bacula: Better Backup Performance and Bottlenecks Treatment

Post by daniele »

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

Code: Select all

sudo sysctl vm.dirty_ratio;sudo sysctl vm.dirty_background_ratio; sudo sysctl vm.swappiness;sudo sysctl vm.zone_reclaim_node
2) Permanently set the new values

Code: Select all

sudo nano /etc/sysctl.conf
Add the following lines at the end of the file :

Code: Select all

vm.dirty_ratio = 2
vm.dirty_background_ratio = 1
vm.swappiness = 10
vm.zone_reclaim_node = 0
3) Apply settings

Code: Select all

sudo sysctl -p
Or, if you want, restart the machine

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
Post Reply