
A service reserves eight virtual CPUs but uses two during most observed hours. A cloud AI model can estimate likely demand, lifetime or resource use from earlier workloads. A scheduler must make a further decision about where to place the service and how much spare capacity to retain. The cost of a bad guess may arrive when several quiet workloads peak together.
What is known at placement time?
Microsoft’s 2017 Resource Central study characterized virtual-machine workloads in Azure and investigated predictions useful to resource managers. The authors examined behavior such as lifetime and resource utilization. A historical feature is eligible only if it was already available when the new request arrived. Keep declared capacity, actual usage and duration in separate columns. Microsoft’s Resource Central study Microsoft Azure public workload traces

Two good averages can make a bad pairing
Suppose each of two services usually uses three cores and occasionally needs seven. Their average tells little about whether their peaks overlap. Look at joint timing, scheduling constraints and the delay before extra capacity becomes available. Evaluate the placement against a simple reservation policy on the same ordered arrivals, recording both utilization and capacity shortfalls.

What happened while capacity caught up?
An offline trace replay estimates what a policy might have done under the recorded demand. A production evaluation also needs latency, queueing, refused work, migration and fallback costs. Separate expensive overprovisioning from missed service targets. A simple reactive rule may perform well when extra capacity is available quickly. How AI Schedules Parallel Jobs When Some Tasks Must Wait?

Try it with the evidence
Test two possible placements
Source notes. Fictional machine with ten usable cores. Service A uses 7 cores in interval 1 and 3 in interval 2. Service B uses 7 then 3. Service C uses 3 then 7. Each service averages five cores across the two equal intervals. Ignore other overhead for this example.
Prompt. Compute the interval loads for A+B and A+C. Which fits the machine in both intervals? What additional evidence would you request before placing them together tomorrow?
Check your reading
A+B needs 14 then 6 cores and exceeds capacity by four in the first interval. A+C needs 10 then 10 and fits both. The averages are identical. More joint histories, demand variability, headroom and the consequences of a missed target matter for tomorrow.
Illustrated field notes
Estimating and placing demand







Keeping service within its limits








