When Can an AI Forecast Help Two Cloud Workloads Share a Machine?

Compare a virtual machine’s reservation, its observed use and the capacity a scheduler can safely share.

A cloud operator compares stacked work trays beside a small server rack.
A reserved quantity and a measured peak are different evidence for a placement decision.

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

A person stands at a bank of circular controls.
Declared capacity and measured utilization can differ substantially.

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.

Fine golden paths curve across a dark field.
Correlated spikes can make two apparently quiet services poor neighbors.

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?

A person stands beside a softly illuminated panel.
State the target latency and the fraction of requests that met it.

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
A tower stands above a landscape of clouds.
Advance provisioning helps only if useful capacity arrives before the load.
A layered illuminated mechanism sits on a reflective surface.
Separate time waiting for a worker from time spent executing.
Pale geometric bands cross a blue landscape.
Gather service performance as well as resource utilization.
Colored traces spread over a work surface.
Record every simultaneous workload when evaluating a peak.
An aisle of tall server racks stretches into the distance.
A hotspot is a local constraint even when fleet-wide headroom looks ample.
A solitary figure faces tall windows.
Specify how far ahead the forecast must arrive to affect a purchase or reservation.
A person studies an equipment display.
An alert about potential overload and an observed failure are separate outcomes.
Keeping service within its limits
A person stands beside a broad curved window.
A cheaper reservation can cost more if it delays accepted work.
Several interconnected stations appear in a control room.
Services may depend on resources outside the allocation decision.
Shelving extends through a dimly lit interior.
Moving data can add delay even if storage itself costs less.
Two buildings divide a bright vertical space.
Include the time and service cost of moving an active workload.
Green-lit levels rise across a dark room.
An energy claim requires measurements at equivalent served demand.
A small processor-like device sits among raised components.
Startup delay changes the value of advance placement.
Dark posts form a geometric interior.
State which constraints a learned placement must always satisfy.
Rows of illuminated shelving sit above reflective flooring.
A placement can change the telemetry used by the next forecast.
Rounded blue and yellow shapes form a cluster.
Different providers may report the same named resource in different ways.