• Customers
  • Pricing
  • Docs
Sign Up

Compute Glossary

How computers for agents work, from the hardware to the sandbox.

  1. Compute Glossary
  2. /
  3. Infrastructure

Overcommit

Also called Oversubscription

HostFour physical coresHost memoryThree virtual machinesTaking turns on the coresTwelve vCPUs promisedMemory promised

Overcommit is the practice of handing out more processor time or memory than a host physically has. It counts on workloads not to use their full share at the same time, which most of them rarely do. Each workload sees its full share and has no way to tell that others were promised the same hardware. The Linux kernel does the same with memory inside one machine, letting programs reserve more than exists and backing each page only when it is first touched.

A server whose tenants each reserve several processors but use a fraction of them can host far more tenants than a strict count allows. The operator then buys fewer machines for the same work. The savings grow with the number of tenants, since the peaks of many independent workloads rarely line up. Idle development machines and sandboxes waiting for input suit it well, because they sit unused most of the time.

The risk is the moment when demand does line up. If every tenant asks for its full share at once, the host cannot keep all its promises, and some work has to slow down or stop. Load that is linked makes this more likely than chance suggests, for example a batch of jobs that all start on the hour. A host can also move tenants elsewhere, but moving a running machine takes time a peak may not allow.

Processor time and memory

Processor time and memory are the two resources most often overcommitted, and they behave differently when they run short. That difference sets how far each one can be pushed. Storage is often thin-provisioned in the same way, handing out disks larger than the space behind them. Whether a shortage causes a slowdown or a crash decides how cautious an operator must be.

Processor time is easy to share. A vCPU that is not running costs nothing, and when too many want to run, the host takes turns, so work slows rather than crashes. Work with deadlines can still miss them or time out. A guest whose vCPU waits for a physical core sees the delay as stolen time, which most kernels report. Work that needs steady timing, such as audio or trading, suffers more than batch jobs that only care about the total.

Memory is harder, because a byte handed out cannot be in two places at once. When guests touch more memory than the host has, the host must take some back, and the last resort is killing a process. A guest also rarely gives memory back on its own, since its kernel fills spare memory with file cache. The host sees that cache as used, even though the guest could drop it at any time.

AspectProcessorMemory
Unit promisedThe host promises vCPUs or shares of processor time.The host promises bytes of guest or container memory.
ShortageEvery workload runs slower, and some may time out.Some workload has to give up memory or stop.
ReclaimThe host gives each vCPU a shorter slice of time.The host swaps pages to disk, merges identical pages, inflates a balloon or kills a process.
Typical ratioSeveral virtual cores to one physical core is common.The ratio stays close to one to one, or relies on swap and reclaim.

Ballooning

Ballooning is a way for a hypervisor to take memory back from a running virtual machine with the help of its guest. A balloon driver inside the guest does the work. The guest has to cooperate, so the driver must be installed and running. A guest that is short of memory itself has little to give, so ballooning works best on guests with room to spare.

When the hypervisor needs memory, it tells the driver to inflate. The driver allocates pages inside the guest and reports them, and the hypervisor reuses the physical memory behind them. Inside the guest, those pages look allocated, and no other program there can use them. From the outside, the guest has simply shrunk.

The guest kernel chooses what to give up, which works better than the host guessing from outside. Deflating the balloon hands the memory back to the guest once the host has room again. A newer variant, free page reporting, has the guest tell the host about free pages without being asked. The host can then reclaim them early, before any shortage forces it to.

Noisy neighbors

Noisy neighbors are tenants whose heavy use of a shared host slows the others down. They are the main cost of overcommit, and a higher ratio makes them more likely. The slowdown comes from contention for shared parts of the host, not from any bug in the victims. A tenant can be noisy without breaking any limit, simply by using all of its share at the wrong moment.

A low ratio wastes hardware, while a high one trades predictability for cost. In the worst case, memory runs out and the host kills processes that did nothing wrong. Shared caches and memory bandwidth are harder to divide than cores, so even a host without overcommit has some noise. Overcommit adds the wait for processor time on top.

Operators watch actual usage and set limits with features such as control groups. The scheduler can then move work or refuse it before a host runs out. A limit caps how much one tenant may use, so no single tenant can take a whole host. Moving work costs time and network traffic, so schedulers move it only when a host stays overloaded.

Related terms

  • Scheduler
  • vCPU
  • Memory
  • Control group
PreviousSchedulerNextPreemption

On this page

Compute Glossary
  1. Foundations
    • Sandbox
    • Virtual machine
    • vCPU
    • Block storage
    • Virtual network interface
    • Kernel
    • Hardware virtualization
    • Hypervisor
    • GPU
    • CPU core
    • Memory
    • CPU
    • Local disk
    • Network interface card
    • Compute
    • Workload
    • Latency
  2. Sandboxes
    • Isolation
    • Lifecycle
    • Snapshot
    • Persistence
  3. Virtualization
    • KVM
    • MicroVM
    • Container
  4. Hardware
    • Server
    • CPU architecture
    • CPU type
    • GPU memory
    • GPU model
    • Mac model
  5. Kernel
    • System call
    • Process
    • Memory page
    • Namespace
    • Control group
    • Seccomp
  6. Storage
    • Object storage
    • File system
  7. Networking
    • Egress control
    • SSH
  8. Infrastructure
    • Control plane
    • Scheduler
    • Overcommit
    • Preemption
    • Region
    • Capacity
    • Scale
  9. Agents
    • AI agent
    • Tool call
    • Untrusted code
  10. Reinforcement learning
    • Reinforcement learning
    • Environment
    • Rollout
    • Verifier
    • Reward hacking
    • Actor–learner architecture

Computersfor Agents

Isolated sandboxes for agent code,
ready in under 100 ms.

Start for Free

Subscribe to DotFiles Insider, our monthly digest of AI infrastructure news, deep dives, and Daytona product releases.

Company

  • About
  • Careers
  • Brand
  • Partners
  • Startup Program
  • Research Grants
  • Events
  • Contact

Product

  • Pricing
  • Docs
  • Changelog

Resources

  • Guides
  • Blog

Legal

  • DPA
  • SLA
  • Terms of Service
  • Privacy Policy
Trust Center
All Systems Operational