12-11-2013 08:38 PM
12-13-2013 03:42 AM
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.net
zlib uses the "Deflate" algorithm see http://www.zlib.net/feldspar.html for more information.
Memory is allocated from the VVR NMCOM memory pool
Mike
12-13-2013 08:19 AM
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
12-11-2013 09:24 PM
Hi Zahid,
Compression ratio is as such not defined as what exact ratio is being used. I am assuming it would be hard coded.
From Admin guide
12-11-2013 09:36 PM
Thanks Gaurav for your words.
I never see the memory allocation when configuring the replication (via VEA) between primary and DR site.
=============
So, when the compress replication data reaches at DR site it first uncompress replication data and then it writes to DR site volume. Correct ?
12-11-2013 10:59 PM
Yes, that is correct, data is compressed only to save the bandwidth, it will be uncompressed again before getting written to the volumes on DR site.
About, memory, I don't believe you would be able to see any specific memory allocation happening for compression, rather the memory used by VVR itself will be shared.
G
12-13-2013 03:42 AM
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.net
zlib uses the "Deflate" algorithm see http://www.zlib.net/feldspar.html for more information.
Memory is allocated from the VVR NMCOM memory pool
Mike
12-13-2013 08:19 AM
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