If you give notice, you're saying "I'm at the end of my rope, I'm leaving".
If you go to management and say "I've been struggling with X, Y and Z can you help me?" then you're signaling that you trust the company to help you, wether that's workload, salary, etc.
Management that counter offer after giving notice is 9/10 trying to keep you around long enough to find a better replacement knowing that you'll leave again in the near future, or they'll boot you when the replacement is up to speed.
If you go to management and say "I've been struggling with X, Y and Z can you help me?" then you're signaling that you trust the company to help you, wether that's workload, salary, etc.
Management that counter offer after giving notice is 9/10 trying to keep you around long enough to find a better replacement knowing that you'll leave again in the near future, or they'll boot you when the replacement is up to speed.