In my whole career I've always gotten my best salary increases by moving. If companies want to keep me around the way to do it is not with a modern form of slavery but rather by keeping me happy. If they have some stupid rule that says the max raise per year is 3% and I can get 8% somewhere else then fuck them.