Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

1610

August 9th, 2010 09:00

SRDF/S with a lot of invalids

​So I've been re-reading my SRDF documentation. Specifically the bit where Adaptive copy will switch to SRDF/S to 'catch up' if the skew gets too high (which is configurable). ​
​Which of course, you can turn off.​

​But I've been working on the notion that you should really use adaptive copy to 'catch up' your track skew, and switch to sync when it's 'about done'. I presume due to performance reasons.​

​So can anyone enlighten me - I couldn't spot it in the documentation - what happens when you enable SRDF/S with invalid tracks? Do all IOs get held until it's caught up? Or do new IOs get treated as 'synchronous' where old invalids are still playing catchup?​

​I'd assume there was a performance impact to switching to sync with a lot to catch up, but is it significantly more than the 'normal' SRDF/S overhead?​

448 Posts

August 10th, 2010 11:00

The system does work to push the invalid tracks over as quickly as possible however that is how it works.  Any I/O to a currently invalid track is treated as adaptive copy disk.  If you think about it this is how it has to work if you want the host to continue to run.

Edit to add:

If you were to dro this into synch mode very early it would take you a longer time to "catch up" to where you want to do into synch mode as you would be running synchronous I/O's (that have priority) while trying to still synch tracks that have to be read from disk.

14 Posts

August 9th, 2010 15:00

Edward

Your Points are all valid, and your notion is correct. There will be performance implications if you have too many invalids when you switch to synchronous. It would be better to remain in Adaptive Copy, until you have almost caught up, as the IO will be held, due to the nature of Synchronous, waiting for an Acknowledgement before sending the next IO. In effect you have answered your own questions, which is good as you are on the correct track.

Hope this helps

1 Rookie

 • 

5.7K Posts

August 10th, 2010 02:00

Everything you always wanted to know about SRDF/S, but were afraid to ask.....

16 Posts

August 10th, 2010 05:00

new IO's will be treated as synchronous but if it takes too long to get through the pipe because of invalids causing a bottleneck the host will feel the pain....rather sync in adaptive copy disk mode with a lot of invalids owed to remote

448 Posts

August 10th, 2010 08:00

When you perform the switch from adaptive copy disk to synchronous mode any invalid track on disk is treated as adaptive copy disk mode is on.  Tracks already synch'd are treated as a synchronous I/O.  Once an invalid track is sent over the link it (synchronized) it is then treated as synchronous.  If it didnt work this way you would pretty much crash any host when you did a switch from AD-Disk to Synch mode.

1 Rookie

 • 

5.7K Posts

August 10th, 2010 11:00

Robert,

this would essentially mean that adaptive copy is not needed that long, since you could turn on SRDF in acp mode and switch to /S right after that. It would even be safe, since all invalid's will be copied in acp mode and anything that reaches the synchronised state will from then on continue in SRDF/S mode. Is this correct ? then why does EMC teach us to use acp mode until there aren't that many invalids left before switching to SRDF/S completely ? This doesn't make sence

53 Posts

August 16th, 2010 02:00

OK, thanks for all your help - it's answered what was going in my mind, as I was trying to get my head around what happens when you do switch on SRDF/S.

Makes sense, but I realised it wasn't something I actaully knew the answer to.  Mostly I will be running catchup in adaptive copy, especially as it seems that should be faster overall.

Would it also be correct to say though, that until SRDF/S is synchronized, all the caveats for adaptive copy - that you don't necessarily have the tracks commited in the same sequence, and thus might end up with functionally corrupt data - would apply?

53 Posts

August 16th, 2010 04:00

Hmm, I've obviously misunderstood something then. I was under the impression that adaptive copy didn't guarantee track sequence, meaning you didn't necessarily have a consistent copy. And assumed that would then extend to the SRDF/S when it's playing catchup.

448 Posts

August 16th, 2010 04:00

No the data wont be corrupted.  In adaptive copy disk before data goes over the link data is written to cache by the host, destaged to disk then re-read and sent over the link unless the track in question is already in synch (not an invalid).

Think of SRDF as having a 3rd mirror position on your disks, its just not in the same physical array.

448 Posts

August 16th, 2010 05:00

Adaptive copy does not give you a consistent restartable copy of data as all the data is not necessarily there between tracks.

1.3K Posts

August 16th, 2010 06:00

Adaptive copy does not order writes.

53 Posts

August 16th, 2010 06:00

If adaptive copy doesn't do it, does SRDF/S if you're starting with a large track skew? I'd assume not, and so much like in adaptive copy - until you're synchronized, you're not recoverable.

448 Posts

August 17th, 2010 04:00

Quincy are you saying that when a track of data is sent over the link and marked as valid in adaptive copy disk it is not necessarily a valid track?

I did not say that it ordered the writes as it is a little hard to explain how srdf works in a forum.  If you update the same track of data three times it does not need to send all three updates over it only sends one update with the most recent data or if you are updating parts of a track one combined update.

1.3K Posts

August 17th, 2010 05:00

Once the track is sent, it is valid.  Even before the track is sent, the track on the R2 is "valid", just not up to date with the R1 (an invalid from the R1 point of view).

In adaptive copy, the pool of tracks that need to be copied are sent in no specific order, which is why it isn't a good restartable copy.  Normally folks will take a BCV or Clone copy from the R2 before starting an adaptive copy session in order to keep a restartable copy in the R2.

1.3K Posts

August 17th, 2010 08:00

If RDF/S is synchronized, each write will go across the link.  It can't send one write to cover multiple writes to the same track.

If we are talking about adaptive copy, many writes to the same place can be sent as one (the latest)

But in adaptive copy if there are two writes to two distinct tracks, the newest write on the R1 may not be sent to the R2 first, which is what I meant by ordered writes.

No Events found!

Top