Professional Documents
Culture Documents
Here is some information on undocumented features for setting the Network Buffer Size, Data
Buffer Size, and Number of Data Buffers used by NetBackup (tm) on UNIX platforms
On a Windows server, four different buffer settings can be modified to enhance backup
performance. Those settings are:
• NUMBER_DATA_BUFFERS: The number of buffers used by NetBackup to
buffer data prior to sending it to the tape drives. The default value is 16.
• SIZE_DATA_BUFFERS: The size of each buffer setup multiplied by the
NUMBER_DATA_BUFFERS value. The default value is 65536.
• NET_BUFFER_SZ: The network receive buffer on the media server. It receives
data from the client. The default value is 256K.
• Buffer_size: The size of each data package sent from the client to the media
server. The default value is 32K.
Overview:
When a backup is initiated, the client packages data of the amount specified by the Buffer_size
value, and transfers the information to the media server, which in turn, buffers that data in the
NET_BUFFER_SZ. When the NET_BUFFER_SZ is full, it transfers data to the array of space
created by a combination of NUMBER_DATA_BUFFERS and SIZE_DATA_BUFFERS. As
soon as at least one of the SIZE_DATA_BUFFERS is full, assuming the drive is ready to write,
the information is written to the tape drive.
Conclusion: The bptm process is waiting to receive data from the client many thousands of
times more then the client is waiting on the bptm process. The bottleneck here is on the client.
Increasing SIZE_DATA_BUFFERS or NUMBER_DATA_BUFFERS will not improve
performance. Finding out why the client is slow to pass data to the media server, is the key.
Investigate disk read performance and network throughput performance.
NUMBER_DATA_BUFFERS
To change the NUMBER_DATA_BUFFERS, create the
<INSTALL_PATH\NetBackup\db\config\NUMBER_DATA_BUFFERS file. It should contain
the number of buffers to be created at the start of backup. If the file is not present, the default of
16 will be used.
SIZE_DATA_BUFFERS
Remember this is the size of each buffer setup on the media server, the number of which is
defined by NUMBER_DATA_BUFFERS. Exercise caution when changing the value from the
default setting as some SCSI cards, HBA cards, and tape drives cannot transfer buffers greater
than 65536 in size. After changing this value, it is important to test both backups and restores, as
sometimes data can be written at the modified size, but can not be read at the modified size.
Please review the specifications of the HBA card, SCSI card and tape drive to confirm the value
is not being exceeded.