Curriculum / Part 4 · Parallel filesystems
Lesson 16

Why one NAS head isn't enough

Why a single NAS server becomes the bottleneck for a GPU cluster, and how scale-out designs separate data from metadata.

⏱ 30 min5-question quiz

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.

cluster demand = nodes × per-node demand

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-upScale-out
How you growBigger server: more CPU, NICs, drivesMore servers working together
CeilingOne box's limitsGrows with server count
NamespaceSimpleNeeds 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

mount
See which filesystems a node uses and their types (nfs4, lustre, xfs).
fio on many clients at once
Find the aggregate ceiling, not just one client's.

Quiz

Lab

Related 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.

Start lab 4.1 →

Try it now in the simulator (opens with the command ready; press Enter):

$ mount$ df -h