What is the compression ratio or algorithm used in VVR replication
Environment
SFHA/DR = 6.0.2
OS = Win2008R2
See extract from VVR admin guide:
VVR uses the zlib library for performing compression and decompression. Formore information on the zlib compression library, see http://www.zlib.netzlib uses the "Deflate" algorithm see http://www.zlib.net/feldspar.html for more information.
Memory is allocated from the VVR NMCOM memory pool
Mike
Hi Zahid,
The VVR compression ratio is dependent on the data being compressed. VVR uses the NMCom memory pool on the primary to compress the packet being sent. It then compares the compressed packet in NMCom memory to uncompressed packet in the RDBack pool memory and sends the one that is smaller or the one in the RDBack pool if they are the same size.
You can use the "rlink -e -i 5 stats <rlink_name>" command on the primary to details on compression that is being done live on the server.
"vxtune" command output also shows some of the tunables that can be done with compression.
I have adjusted the number of threads with a few customers but not many. The more threads that you allocate to compression the more load it puts on the servers. It does not change compression ratios.
If you adjust any tunables alway check your vxmemstat output to see how your memory is doing. If you are hitting max memory then you should think about increasing memory to NMCom or RDBack pool as needed on the primary and secondary.
Thank you,
Wally