---
title: "Parallelism"
url: https://www.daytona.com/definitions/p/parallelism
---

# Parallelism

Parallelism is doing several pieces of work at the same moment, on separate cores, processors or machines.

Parallelism means running several computations at the same instant on separate hardware. A CPU with many cores can run as many threads in parallel. A GPU runs thousands of small operations in parallel, and a cluster runs work on many machines at once. Parallelism shortens how long a job takes by splitting it into parts that run together.

Parallelism differs from concurrency, which is about handling many tasks that overlap in time. A single core can run tasks concurrently by switching between them, but not in parallel. The speedup from parallelism is limited by the part of a job that cannot be split. Parts that must exchange data or wait for each other add more overhead as the number of workers grows.

Sandboxes make parallelism simple for many kinds of work, because each one is separate. A benchmark, a test suite or a batch of reinforcement learning episodes can run in hundreds of sandboxes at once. The tasks share nothing, so they need no coordination beyond starting them and collecting results. Inside one sandbox, parallelism is limited by the number of vCPUs it is given.

## Related terms

- [Concurrency](https://www.daytona.com/definitions/c/concurrency.md)
- [Distributed training](https://www.daytona.com/definitions/d/distributed-training.md)
