UNSOLVED

Michaylo_rus

updated

13 years ago

M

Michaylo_rus

1 Rookie

•

49 Posts

0

4069

October 10th, 2013 03:00

Replicaiton - maximum speed

Hi All,

I'm trying to solve the issue with slow replication between sites. Network is: 40Mb/sec with 90ms latency. When I test the network with iperf - it shows 30-40Mbps. ~ same result shows usual copy of big files between these two locations.

But the maximum speed of replication I saw was 10Mb/sec and usually even less (5-7Mbps). We tired to set optimal servbufsize options (400000 - 600000) but without results. As well we tryed to enable stunnel:

--avtar=--encrypt:1=ssl

--dstavmgr=--encrypt=ssl

--dstavmaint=--encrypt=ssl

--avtar=--allnodes:1

but replication speed was not encrieased.

So I would like to understend the root couse of the issue - is it Avamar configuration with a lot of small chanks and speed I see is the maximum for us. Or something can be tuned what can increase the speed?

  • Pratique2511

    1 Rookie

    •

    82 Posts

    1937

    0

    Posted October 10th, 2013 03:00

    Hello Michaylo_rus

    What is the size of data that you are trying to replicate ? Is it a single large client or multiple clients ?

    I guess if there are many clients, some of them might be getting replicated while those coming in the later alphabetical order are missing out.

    What I would suggest is if you have the freedom of running the replication all along the weekend, then stop the GC on target server and set "--timeout=0" flag on repl_cron.cfg. I have been able to replicate clients with terabytes of data on them using the same.

    But please keep in mind, if your avamar grid (destination) is nearing 80% capacity or alert mark, stopping the GC could be dangerous. Additionally, if you have WAN backups or any other activities going in which involved data movement over WAN in the weekend, running the replication might just choke the bandwidth. I will suggest checking with you networks team before going ahead.

  • ionthegeek

    2 Intern

    •

    2049 Posts

    1937

    1

    Posted October 10th, 2013 08:00

    The correct tuning settings depend on the Bandwidth Delay Product (which in turn depends on the bandwidth as measured by iperf -- use UDP mode -- and the round trip ping latency). I've pasted a table below with some guidelines:

    For a 1xN grid (where N is the number of storage nodes):

    BDP Tuning Action
    BDP <= 60kB No tuning required
    60kB < BDP <= 60kB * N Enable allnodes
    BDP > 60kB * N Work with support to tune socket buffer sizes

    If you get in touch with support, they can walk you through tuning your replication if necessary. Note that if your BDP is greater than 60kB times the number of storage nodes in the grid and you're running Avamar 6.1, the support team will have to assist you with re-enabling stunnel.

  • J_H_

    2 Intern

    •

    498 Posts

    1937

    0

    Posted October 10th, 2013 08:00

    are any of your backups landing on a DataDomain grid via DDboost?

  • Michaylo_rus

    1 Rookie

    •

    49 Posts

    1937

    0

    Posted October 10th, 2013 08:00

    We don't use DataDomain...

  • Michaylo_rus

    1 Rookie

    •

    49 Posts

    1937

    0

    Posted October 10th, 2013 08:00

    Hi,

    There are different clients: big and small. Actually replication can finish in time but I'm going to include new part of clients with big daily change rate and I need to understand WAN behavior. Actually the question is how to increase bandwidth and get the maximum available.

  • Michaylo_rus

    1 Rookie

    •

    49 Posts

    1937

    0

    Posted October 10th, 2013 23:00

    Hi Anderson,

    I used iperf for measuring bandwidth for TCP protocol, not UDP. Checking of TCP shows good speed, but UDP - only about ~1Mbit/sec. Can this be root cause of the issue?

    About EMC support - I have the opened case more 1 week. We make different tests but still no understanding with the problem...

    Thanks!

  • ionthegeek

    2 Intern

    •

    2049 Posts

    1937

    0

    Posted October 11th, 2013 06:00

    I should probably clarify -- replication itself uses TCP but there is a good reason to run iperf in UDP mode instead. Using UDP often gives more accurate results for measuring the bandwidth because it does not have to wait for an acknowledgement to return across the pipe which reduces measurement error due to latency or packet loss.

    When running iperf in UDP mode you should specify the bandwidth using the -b option. You can specify the bandwidth in kilobytes or megabytes using the k or M suffix respectively (e.g. iperf -c -u -b 20M). Try increasing the bandwidth in steps until the iperf performance peaks. This will give you the most accurate bandwidth measurement. Multiply by the round-trip ping latency and you'll have the BDP.

    If the replication is tuned appropriately and there is still a replication performance problem, it's likely one of the following:

    • Saturated link -- if other traffic is saturating the link, this will cause poor replication performance because of the way TCP recovery works. A few dropped packets cause the window size to drop back down to the minimum and it has to scale up again.
    • Unreliable link -- a variation on the problem above with the same results -- window scaling resets.
    • Properties of the clients / backups being replicated -- replication starts up a new avtar for each client so if the backups or clients are very small, avtar doesn't have a chance to "ramp up" to full performance before terminating.

    Hopefully that gives you some ideas.

    If you don't make any progress in the next week or so, please send me the SR number by PM or e-mail (firstname.lastname at emc.com) and I'll take a look at the SR notes.

  • Michaylo_rus

    1 Rookie

    •

    49 Posts

    1937

    0

    Posted October 14th, 2013 06:00

    Anderson,

    Thank you for the detailed explanation of possible bottlenecks. I'm working with EMC support on this matter.

  • ae86levin

    70 Posts

    1937

    0

    Posted October 30th, 2013 20:00

    Does the information on Avamar replication performance tuning found in the "Replication methods and optimisation strategies" apply to replication between Avamar grids that store backups on Data Domain?

    We have around 300 VM's that backup to DD and struggle to replicate them all over a 20Gbps fibre channel connection between our two Data Centers.  At the moment I run several replication cron's concurrently to get replication to complete - maybe there is a better way?

  • ionthegeek

    2 Intern

    •

    2049 Posts

    275

    0

    Posted October 31st, 2013 06:00

    The tuning method is different but the principle is the same. Since the Data Domain systems are doing the heavy lifting, the tuning has to be performed on the Data Domain side. There's a field in the Data Domain configuration (I believe it's in the enterprise manager) where you can enter the bandwidth-delay product (round-trip ping latency * bandwidth). Much simpler than tuning Avamar replication, actually.

    Now, that said, even properly tuned Avamar / Data Domain replication often needs multiple streams.