Insi interview question

How to optimize cpu allocation