After a number of years with my first company (a household name), I quit and got an 80% raise. Based on how quickly my new company accepted my salary request, I'm pretty sure I could have asked for more.
3 and leave is the general rule of thumb till you’re at the most senior levels. Never move laterally if it can be avoided, know what the resume and experience looks like for the next level and always be working towards that.