The simple version
One librarian at one desk can only hand out so many books per hour, however big the library is. Add more librarians, give each their own shelves, and keep the catalogue at a separate desk, and a whole school can borrow at once.
The single-server ceiling
A traditional NAS head serves every client through its own CPUs, memory and network ports. Its ceiling is the slowest of those.
128 nodes × 2 GB/s = 256 GB/s. A server with two 400 Gb/s ports has at most 2 × 50 GB/s = 100 GB/s of raw network capacity before protocol overhead or any disk limit. One head can't keep up, however fast its drives are.
Scale-up vs scale-out
| Scale-up | Scale-out | |
|---|---|---|
| How you grow | Bigger server: more CPU, NICs, drives | More servers working together |
| Ceiling | One box's limits | Grows with server count |
| Namespace | Simple | Needs a way to present one namespace across servers |
Scale-out NAS (Part 6) spreads client connections across many nodes behind one namespace. Parallel filesystems go further: each client talks to many data servers at the same time for a single file.
Separating data and metadata
Metadata operations (open, stat, create, list) are small and latency-sensitive; data transfers are large and bandwidth-hungry. Parallel filesystems usually handle them separately: metadata servers answer "where is this file and who may open it?", then the client reads data directly from many storage servers in parallel. That split is the core idea behind Lustre (Lesson 17) and its relatives (Lesson 18).
Tools
mountSee which filesystems a node uses and their types (nfs4, lustre, xfs).
fio on many clients at onceFind the aggregate ceiling, not just one client's.
Quiz
Lab
Lab 4.1 · Stripe count of 1
Reading the 512 GiB file /lustre/datasets/train-shards.tar tops out around 5 GB/s, even though the filesystem has 8 OSTs and the client has two 200 Gb/s storage NICs.