Is it possible to speed up the transfer of data between the vault and the components?
127
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 13:00 PM
Objective
Speeding up certain transactions by updating the relevant 'vault.ini' for targeted components communicating to the Vault is possible.
Environment
10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;13.0;13.2;14.0 Privileged Access Manager (PAM, self-hosted) Disaster Recovery Vault;Vault Server;Vault
Procedure
For example, in PADR, the 'vault.ini' is located in the <drive>:\Program Files (x86)\PrivateArk\PADR\Conf. Two parameters can be added:
-
NUMOFRECORDSPERCHUNK:
This configuration controls how many records communications send in one chunk. One record is about 500 bytes in size.
-
NUMOFRECORDSPERSEND:
This configuration controls how many records the receiver collects before sending an acknowledgment to the sender. For example, if the Vault receives a file and the value of this field is 20, then every 20 records, the Vault will send to the client: "I received the last 20 records successfully".
Implementation notes:
The "NUMOFRECORDSPERSEND" must be higher or equal to "NUMOFRECORDSPERCHUNK".
The default values are not initially visible in the vault.ini. When left unconfigured, defaults are '60' for the 'PerChunk' and '300' for the 'PerSend'.
The optimal settings depend on various environmental factors, including latency between client and server and the type of client and files transferred. Try the following to test and adjust for optimal speed:
NUMOFRECORDSPERSEND=2000
NUMOFRECORDSPERCHUNK=200
For PADR file replication communications in versions 12.2.11+, 12.6.6+, and 13.2+, you may set the values to:
NUMOFRECORDSPERSEND=4000
NUMOFRECORDSPERCHUNK=500 (Up to 4000)
For PADR MySQL replication communications in versions 12.2.15+, 12.6.10+, and 14.0+, you may set the dbparm.ini to:
TunnelSourceSendBufferSizeKB=1024
Additional Information
Details
Q:
Is it possible to speed up the transfer of data between the vault and the components?
A:
This is possible by updating the relevant 'vault.ini' for the component that your logging on to the vault, for example for the PADR it would be the 'vault.ini' in the '\privateark\padr\vault'. There are two parameters that can be added:
NumOfRecordsPerChunk – This is how many records we sent in one chunk, the maximum value is 2000 records and one record is about 500 bytes in size.
NumOfRecordsPerSend – This is how many records the receiver gets back before sending an acknowledgement to the other side. For example, if the Vault receives a file and the value of this field is 20, then every 20 records the Vault will send to the client “I received 20 records successfully”.
Please note that the "NumOfRecordsPerSend" should be higher or equal to "NumOfRecordsPerChunk"
The default values for these are '60' for the 'PerChunk' and '300' for the 'PerSend' and are pretty low, these are not seen in the vault.ini by default, try the following and test and adjust to find the best setting:
NumOfRecordsPerChunk = 200
NumOfRecordsPerSend = 2000