CATCloud: closing semantic gaps of CPU interfaces for precise autoscaling in the cloud