I read in a recent Wall Street Journal book review that half the German Navy’s 10,000 submariners were killed in action after Germany declared unlimited sub warfare in 1917.
Some 24,000 German submariners lost their lives in WW2.
Their casualties were similarly bad in WWII. We and the Brits got pretty good at anti-submarine warfare pretty fast.