SUMMARY
Steps to modify configuration files on appliance t0 adjust he number of threads
ISSUE
If you need to adjust the number of threads each appliance is using to perform backup or archive processing, you can make the change in the appropriate configuration file on the engine appliance.
Within each configuration file, you will find a parameter for threads, which represents the number of VMs an appliance will attempt to process at one time, and also a parameter for streams, which determines the number of disks that will be processed for each VM. By default, each value is set to 8 for backups and 4 and 8 respectively, for archive.
RESOLUTION
FOR UVB 8.0.6
To adjust the number of threads and streams used for backup
- Log in or open an ssh session to the Engine appliance and open a command prompt.
- Change to the directory /etc/phdvb
- Edit the file worker.conf you will need to use sudo vi to allow you to change this file
- Find the threads and streams parameters and uncomment the line by removing the hash mark at the beginning of the line.
- Change the value to the desired value and save and exit the file. An example file snippet with threads and streams changed to 4 each is shown below.
# password =
threads = 4
# bds-dir = /mnt/bds
# bds = 00000000-0000-0000-0000-000000000000
# bds-lock = /var/lock/phdvb/bds
# snap-prefix = phdvb
# replica-snap-prefix = phdvbreplica
# rdr-snap-prefix = VDDKsnap
# snap-descr = PHD Virtual Backup Snapshot
# history-dir = /var/lib/phdvb/history
# system-disk-label = PHDVBA
# data-disk-label = phdvb.data
# replica-map-dir = /var/lib/phdvb/replication
streams = 4
# disk-retry-count
- Next, use the following command to mark the file:
sudo phdcfg mark worker
- Finally, restart the service with the following command:
sudo restart worker
To adjust the number of threads and streams used for archive
- Log in or open an ssh session to the Engine appliance and open a command prompt.
- Change to the directory /etc/phdvb
- Edit the file archive.conf
- Find the threads and streams parameters and uncomment the line by removing the hash mark at the beginning of the line.
- Change the value to the desired value and save and exit the file. An example file snippet with threads and streams changed to 2 each is shown below.
# bds-lock = /var/lock/phdvb/bds
threads = 2
streams = 2
# blockretry = 5
- Next, use the following command to mark the file:
sudo phdcfg mark archive
- Finally, restart the service with the following command:
sudo restart archive
FOR PHD 6.5.3
In PHD, we only adjust the streams (which are directly related to the threads).
- Log into the PHD Console and select the Appliance.
- Click on the Configure, and select the General tab.
- In the Appliance Options section, there is a slider named Data Streams. Adjust this to a lower value if you are having performance issues.