Optimizing Virtual Resource Management In Cloud Datacenters