Changed
- The live view's overview as btop's: its boxes with their titles and numbers on the border (
¹cpu²mem³io⁴steps) and their keys there too; a box in the cpu box with a meter for each resource and each GPU's little braille graph; each GPU its own graph side by side when there is room;ioas btop's network box, each direction on its own scale with its rate, top and total. v: braille and blocks drawn as btop does (Draw::Graph): two readings per character, its tables of characters, a baseline dot where there is a reading, each row coloured by its height.
New
- The cluster's Queue tab:
Enterlists every job in the queue, everyone's, to scroll through, with its nodes or why it waits and its time left or expected start;ssorts it,/filters it. - The steps of the overview as btop's processes: what each runs (
squeue -s),↑↓to pick one,Enterfor it in depth (its graph of cores, memory, largest task, reads and writes).
New
i: the server of models a running job runs, live (the fourth view ofm). vLLM, SGLang, TGI, llama.cpp, Triton and Ollama are found without being told: the engine and its port from the job's output, errors and script, then its Prometheus metrics from the login node (curl, nothing runs in the job). One adapter per engine reads them as the same figures: tokens per second, requests running and waiting, KV and prefix cache, latencies (time to the first token, per token, queue, prefill, decode: p50 and p95 from the histograms over the last 30 s), speculative decoding, requests by how they ended and how long they took, and what is wrong (preemptions, a queue, a KV cache nearly full or nearly empty, GPUs busy without tokens).RSV_METRICS_URLfor a server it doesn't find.
Changed
- The live view's graphs are drawn again: solid areas, their top to an eighth of a character in a bright edge, instead of braille dots; the charts' other curves as lines of box characters (─ ╭ ╮ ╰ ╯ │) instead of dots, over a grid of faint plain lines instead of a dotted one.
vstill gives braille or blocks.
New
n: a running job's GPUs live and in depth, the third view ofm. Grouped by node, each with its curve; the one picked with what is wrong (reserved but no process on it, slowed down by power or heat, busy on few SMs, memory errors), its curves of SM activity and occupancy, tensor cores, DRAM and PCIe/NVLink traffic (Hopper's GPM counters throughnvidia-smi dmon), clocks, power, ECC errors, and its processes with their Slurm step and rank. It shares the live view's steps instead of starting one each timenis pressed.m: a running job live, in two views.1overview: the CPUs' and GPUs' (or memory's) curves with their scale, gauges, each GPU with its little curve and temperature, memory, disk reads and writes, the job's steps.2performance, as a task manager's: CPU, memory, disk and each GPU with a chart, its scale and time, and their figures. A small chart module: graphs in braille with colour gradients (or bars to an eighth of a character, or blocks:v), sparklines, gradient meters, line charts on FTXUI's canvas.+-zoom up to the last hour.sstatevery 2 s on a worker of its own; the GPUs from onesrun --overlapstep runningnvidia-smi --loop-mswhile the view is open, stopped when it closes.
New
- Arrays: one row per array with its progress (done, running, waiting, failed, cancelled), the failed tasks with their exit codes,
Enterfor its tasks. The tasks ended more than 5 minutes ago come fromsacct. - Several jobs at once:
Spacemarks them,ccancels them after a confirmation that lists them all.Hholds or releases them where Slurm allows it: ROMEO refuses both to users (its submit plugin wants a time limit in every change), andHsays so. b: the script a job was submitted with.o: the project view, everyone's jobs in your accounts, read-only.- Log view: search (
/,nN), error lines in red (eEto jump to them), and the same red in the last lines under the details. - History: CPU and GPU hours per job and over the week, the CPU hours reserved but idle, the time asked but not used.
- Cluster view: a curve of the CPUs and GPUs in use since it was opened, the hardware of each kind of node, a zoom on a node of the map.
- Paths are links to VS Code (Remote-SSH).
- Slower refreshes when Slurm is slow, by themselves.
Fixes (found with real jobs on ROMEO)
Now(CPU busy) drifted down between two readings, from 97% to 73% in 3 s for a job using its 4 cores: the CPU time of one reading was divided by the time running until now. It is now measured between two readings.NowshowedCPU 0% · memory 0while a job was completing.- "1 GPUs".
- The node cells were half in French.
- Cluster view: on the Nodes tab
←→moved the node cursor, so Hardware couldn't be reached with the arrows.←→now change tabs everywhere in the view (the zoom too),↑↓move the cursor. - The limits, GPU and help views closed on any key, an arrow too: they scroll now,
qcloses them.
Fixes
- Node view: the CPUs of a job were split between its nodes.
scontrolgives the CPU ids used on each node of a group (Nodes=romeo-a[031-032] CPU_IDs=0-15,72-87,144-159,216-231): a 2-node job with 64 cores per node showed 32 on each. GPUs were the job's total divided by the nodes, and the first ones were colored instead of the ones used (IDX:1,3). Only the first group of nodes was read: a job with different allocations per node showed the first one everywhere. - The UI froze while Slurm answered: every move in the list ran
scontrolfor the job, then once per node, on the UI thread, and the refresh every 30 s too. With Slurm answering in 2 s, a key took 6 s to show. Commands now run in the background, with a time limit, and the UI answers at once. - Quitting took up to 30 s (the refresh thread slept 30 s before it could stop). It is now immediate, and a command still running is stopped, also on Ctrl-C,
killor a hangup. - The partitions view ran
sinfoat every frame (each key, each mouse move). - No job: RSV printed "No jobs found" and quit, so the history, partitions and limits couldn't be seen. Jobs that ended while RSV was open left stale details.
- Job names with spaces were cut at the first one (
train resnet50 (fp16)showedtrain). - A number Slurm printed differently (
std::stoithrows) ended the program. - History: the memory column was always empty (MaxRSS is only known for the steps, which were skipped), and changing the filter ran
sacctagain on the UI thread. - Logs: a big file was read whole, lines were cut in the middle of UTF-8 characters, tabs, colors and
\rprogress bars broke the screen, and scrolling went by 5% of the file (25 lines at a time in a 500-line log). - Views didn't keep the keys:
PgDn,Homeor the mouse moved the selection behind them, and ranscontrol. - Copy used
xclipon the login node, which has no display: nothing was copied, but "Copied" was shown. - Limits: only the last account was kept, the GPU and submitted jobs limits were ignored.
- Output paths:
%A,%a,%u,%Nand zero padding (%4a) weren't expanded, relative paths weren't in the job's directory. - The last line of a node's cores was padded with dots: cores that don't exist looked free.
- The first key after the start was ignored.
New
- Time left of running jobs, expected start of pending ones, live clocks between refreshes.
- Pending reasons in plain words with what to do, for the ROMEO limits too (
QOSMaxJobsPerUserLimit,AssocGrpCpuLimit...). - Log viewer that follows the file like
tail -f, the last lines of the output under the details. - History with CPU, memory and time efficiency, and a hint when a job asked for much more than it used.
- Filter (
/), sorts by state, newest, name or time left, vim keys, the mouse wheel moves through the list. - Cluster view in three tabs, refreshed while open: overview (CPUs, GPUs, load, memory, storage, nodes, Slurm's controller and scheduler, reservations and maintenances, partitions and their rules, kinds of nodes), queue (everyone's jobs, why they wait and what they ask for, main users or accounts), nodes (why they are down, a map of every node with the reserved but idle cores and your jobs' nodes marked, or a table with load and memory).
- When would a job start? (
t):sbatch --test-onlyfrom a small form, nothing is submitted. - Live CPU and memory of a running job (
sstat), its GPUs on demand (n:nvidia-smithroughsrun --overlap), the priority and rank of a pending job (sprio). - Fairshare, CPU-hours used and disk quotas (user and project groups) in the limits view.
- When
squeuefails,scontrol pingsays whether the controller answers. - Limits for every account (on ROMEO "default" allows no job: it says so).
- Copy through the terminal (OSC 52), works over SSH.
install.sh: builds with cmake from Spack and installs to~/.local/bin.deploy.sh(build elsewhere and copy) is gone.
Terminals (see terminals.md)
- 24-bit colors over SSH, applied again after FTXUI's own detection.
RSV_COLORor--colorforce a mode. - Columns measured by display width: CJK, emoji and accents keep them aligned, invisible characters are removed.
- Layouts for narrow and short terminals, and a message below 40×10.
- Quits when the SSH connection drops, even if the hangup signal doesn't reach it.
- Mouse moves aren't reported: they redrew the whole screen over SSH.
Build
- FTXUI 7.0.3 (was 5.0.0) from its release archive, checked by its hash: a git clone could hang on the login nodes. CMake 3.16 or newer, Release by default, warnings on (
-Wall -Wextra -Wpedantic -Wshadow), none left. - Parser tests on recorded Slurm output (
-DRSV_TESTS=ON), a fake Slurm and a terminal harness for the rest, see development.md.
Measured on ROMEO (login node, made-up jobs from the fake Slurm, over SSH)
| RSV 1 | RSV 2 | |
|---|---|---|
| Quit | 28 s | 0.04 s (0.12 s while a command hangs) |
| A key, Slurm answering in 2 s | 6.1 s | 0.05 s |
| First screen | 0.8 s | 0.6 s |
| CPU when idle | 0.23% | 0.13% |
| Memory | 5.1 MB | 5.6 MB |
| SSH drop | stays | quits |
| Install, FTXUI download included | 17 s |