• Customers
  • Pricing
  • Docs
Sign Up

Compute Glossary

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

  1. Compute Glossary
  2. /
  3. Hardware

GPU

Also called Graphics processing unit

Display outputsBackplateCircuit boardPCIe connectorGPU dieGPU memoryPower deliveryPower connectorHeatsinkFans

A GPU is a processor built around a very large number of small arithmetic units that run many threads in lockstep. Where a CPU spends its chip area on making one instruction stream fast, a GPU spends it on arithmetic. Lockstep means a group of threads runs the same instruction at the same moment, each on its own piece of data. Threads in a group that take different branches run one after the other, which leaves some units idle.

A GPU is an accelerator rather than a standalone processor. The CPU runs the program and sends the GPU the parts that split into many identical pieces, such as the matrix multiplications at the heart of neural networks. The CPU queues that work and carries on with its own while the GPU runs it. Problems that do not split this way, such as walking a linked list, gain nothing from a GPU.

Programs reach a GPU through a vendor driver and a programming model, such as CUDA or the portable Vulkan. GPUs supply most of the compute used to train and run machine learning models. CUDA works only on NVIDIA hardware, so code written for it is tied to one vendor. Most machine learning code reaches the GPU through frameworks that hide the programming model behind higher-level operations.

Multiprocessors

Multiprocessors are the blocks a GPU is divided into, each running groups of threads that execute the same instruction on different data. A GPU holds many of them, and they work independently of each other. NVIDIA calls them streaming multiprocessors, and AMD calls them compute units. Each one is a copy of the same design, so adding more of them is the main way a GPU grows.

When one group of threads stalls waiting for memory, the multiprocessor switches to another group at almost no cost. The GPU hides memory latency by having far more work in flight than a CPU. The switch is cheap because each multiprocessor keeps the registers of all its resident threads at once. It is the same idea as multithreading on a CPU core, taken much further.

A CPU hides the same latency with large caches instead. The GPU approach works only when a program offers enough parallel work to keep every multiprocessor busy, which is why it suits some problems and not others. Small batches are a common case, since they may not hold enough independent work to fill the chip. Sorting and graph search split less evenly, so they gain less than dense matrix math does.

GPU memory

GPU memory is memory carried on the GPU itself, often high-bandwidth memory stacked next to the chip. It offers far more bandwidth than the main memory of a server. Its capacity is much smaller than host memory, so what to keep on the card is a constant choice. Data-center and consumer cards use different kinds of GPU memory, with a large gap in bandwidth between them.

The size of that memory often decides which models a GPU can run at all. A model that does not fit must be split across several GPUs, which adds traffic between them. Serving many requests also needs room for the working data of each, which competes with the weights for space. Lower-precision weights take less room, a common way to fit a model onto fewer GPUs.

GPUs usually connect to the host over PCI Express, and copying data across that link is slow, so programs try to keep data on the GPU. Several GPUs in one server can be joined by a faster direct interconnect, such as NVLink. A program that copies small pieces back and forth spends more time on the link than on the work. Direct links let GPUs read each other's memory without going through the host.

GPU sharing

GPU sharing is the division of one GPU among several workloads, and it is harder than dividing a CPU. A virtual machine usually gets a whole GPU passed through to it, with the hypervisor out of the data path. A CPU switches between workloads cheaply, but a GPU holds a large amount of state for each one. Swapping that state takes time, so GPUs are more often shared by space than by time.

Some data-center GPUs can be split in hardware into isolated partitions, each with its own share of memory and multiprocessors. Time-slicing a GPU is also possible but gives weaker isolation, since the workloads share memory and the driver. A partition behaves like a smaller GPU, and the software inside it does not need to know it shares the card. Time-slicing suits development and light inference, where steady speed matters less than cost.

The driver itself is a large body of kernel code exposed to whatever runs on the GPU. Platforms that run untrusted code on GPUs therefore keep each tenant behind a virtual machine boundary rather than sharing one host kernel. A flaw in a shared driver could let one tenant reach the memory of another, or take over the host. With passthrough, the driver runs inside the guest, so such a flaw mostly harms that guest alone.

Related terms

  • CPU
  • Memory
  • Server
  • Compute
  • Virtual machine
PreviousCPU coreNextGPU memory

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