[PATCH -next 0/5] Optimize and bugfix for cpu-on-off-test.sh