Ubuntu becomes quite laggy after wake up

It could be the msr register 0x19a is not set back to 0 after resume. Try to set it to 0 by installing msr-tools and run wrmsr 0x19a 0x0.

It fixes for me.