I think it's mainly based on speed, although obviously at some point during an acceleration to say...20 knots at 50 feet, you're going to get cavitation, it varies more on depth and speed I'd say...however this is mainly guesswork and what I've learnt from SC as opposed to RL experience, someone who's actually done the Silent Service would know more, I'll hand over to them.