Skip to content

Chapter 3

The CLI — Reading the Fabric

HPC Networking FoundationsBeginner45 min read
Building the model…

Where the commands in this section run, marked on the cluster. Switch the overlay to see the rest of the fabric.

If you have never used a command line to diagnose a network. The commands in this chapter are read-only: each one asks a device a question and prints the answer. You will see two kinds of device answering: the server (a Linux machine, where commands such as ibstat describe its own network cards) and the switches (where commands beginning nv show describe their ports). Nothing here changes a setting. The skill being taught is not memorising commands; it is knowing which question to ask next.

An alert fires at 2 AM. GPU throughput on Cluster A has dropped to 62% of baseline. The monitoring dashboard shows elevated latency and one GPU contributing nothing to the training job. Your job is to find out why.

You open your laptop and SSH into the cluster. You have a terminal. You have a set of commands. What you type next — and in what order — determines whether you find the problem in ten minutes or spend three hours going in circles.

This chapter is about the discipline of reading a from the command line. Not a reference manual. A way of thinking. Every command in this chapter exists because it answers a specific question in a specific order. By the end, you will know not just what to type, but why you type it when you do.

Loading diagram…

The investigation always starts with the same three questions:

Question 1: Is the physical link up? Before you look at or configuration, you need to know whether the link exists at all. A link that is physically down answers all other questions immediately.

Question 2: What is the traffic doing? Counters tell you what is happening right now — drops, pauses, errors. They are the symptoms.

Question 3: What is the configuration? Configuration tells you why the symptoms are happening. But you read it last, not first — because a perfectly valid configuration can still produce bad behaviour if the traffic pattern is wrong.

This ordering matters. Jumping to configuration before checking counters is the most common mistake network engineers make when entering HPC environments. In enterprise networking, configuration problems dominate. In HPC, traffic behaviour problems dominate — a valid configuration can still produce a .


Read aloudPage 1