• Customers
  • Pricing
  • Docs
Sign Up

Compute Glossary

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

  1. Compute Glossary
  2. /
  3. Storage

Local disk

Also called NVMe, Local SSD, Instance storage

Circuit boardM.2 connectorControllerDRAM cacheNAND flashLabel and heat spreader

A local disk is a drive inside the same server as the processors that use it, connected over PCIe rather than over a network. Cloud providers call it a local SSD or instance storage. The processors reach it directly, with nothing in between but the host's own bus and drivers. On a virtualized server, the hypervisor either hands the drive to one guest or splits it among several.

Because the drive belongs to one server, a local disk shares the fate of that server. A virtual machine keeps it only while it stays on that host, and no other machine can reach its contents. Any redundancy has to come from software, such as a database that copies its writes to other servers. Some servers mirror local drives in pairs, which survives a dead drive but not a dead server.

Local disks therefore trade durability and mobility for speed. Data that must outlive the machine is copied to block storage or object storage, which live apart from any one server. Many systems use both, with the working copy on the local disk and the lasting copy in remote storage. The design question is which data can be rebuilt after a loss and which cannot.

Speed

The speed of a local disk comes from NVMe, an interface that talks to the drive through many parallel command queues. With no network round trip, each request reaches the drive at a fraction of the latency of network storage. Each processor core can have its own queue, so cores submit requests without waiting on a shared lock. The drive works through many queued requests at once, which is how it reaches its high operation counts.

That speed makes the local disk the usual place for scratch space and build directories. It also suits database files that are replicated elsewhere, where losing one copy does no harm. Builds and test runs create and delete many small files, a pattern that suffers most from a round trip per operation. If the disk vanishes, the job simply runs again.

The unpacked layers of container and machine images are often kept on the local disk too. A workload reads its files from them at every start, so their speed shows directly in start time. A slow disk here becomes a slow start for every machine on the host. Machines started from one image read the same files, so a single local copy serves them all.

MeasureTypical value
LatencyLatency is the time between asking for something and receiving it.
Operations per secondHundreds of thousands.
ThroughputSeveral gigabytes per second.

Durability

The durability of a local disk is limited to the life of its host. A reboot of the same virtual machine usually keeps the data, but a hardware failure loses it, and so does any stop that releases the host to other tenants. Once the host is released, the data cannot wait for the machine to return. The provider promises no copy, so the disk counts as temporary by design.

Providers wipe the drive before handing it to the next tenant. Nothing written to a local disk can be recovered once the machine has left the host, even by its owner. Many drives encrypt everything with a key held inside the drive, and a wipe simply throws that key away. The old blocks stay on the flash but can no longer be read.

A workload on a local disk also cannot move to another server without copying its data first. That ties placement to wherever the data already is, which limits how freely machines can be scheduled. Host maintenance gets harder as well, since emptying a host means copying or giving up every local disk on it. Providers often warn the workload ahead of such events, so it can save what it needs.

EventData on the local disk
RebootUsually kept.
StopLost if the host is released.
Move to another hostLost.
Hardware failureLost.

Local caching

Local caching is the use of the local disk as a fast copy of data whose lasting home is elsewhere. Images and snapshots stay in object storage, and a host pulls them to its local disk on first use. The cache fills as workloads run and keeps the items used most often. When space runs low, the host evicts the items left unused the longest.

Later starts on the same host read them at local speed, without another trip over the network. The first start on a new host still pays for the full download. Hosts that start the same images all day keep them warm and rarely touch the network. A rarely used image, by contrast, may be evicted between runs and fetched again each time.

A scheduler can prefer hosts that already hold the data of a workload, so caching shapes placement as well as speed. A lost cache costs only time, since the data can be fetched again. Sending every start of a popular image to the same few hosts would overload them, so the scheduler weighs cache hits against load. Some platforms also push new images to hosts ahead of demand, so the first start finds them waiting.

Related terms

  • Server
  • Block storage
  • Object storage
  • Snapshot
PreviousContainerNextBlock storage

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