Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions RELEASE_NOTES-unreleased.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
# net-sircl: changes after 0.1.2 (unreleased)

Status: **CPU-tested only.** Nothing here has run on DGX Sparks. The plugin,
transport-core and fabric-tool sources on this branch differ from the `v0.1.2`
tag (they already did after the merge of the resource-ownership work), so the
0.1.2 hardware qualification does not cover this tree; see
[qualification](docs/qualification.md). The `VERSION` files still read 0.1.2
and 0.1.1 until a release is cut. Wire version remains **6** and the wire
structures are unchanged; every host of a job must run the same build.

## Behaviour that changes for users

- **A rank that is late is waited for.** `NET_SIRCL_REQUEST_TIMEOUT_MS` now
bounds only this host's own transport progress (a send from its
clear-to-send to completion, and a receive's clear-to-send post). Waiting
for the peer application to post its matching request has no deadline by
default, as with NCCL's own transports; before, a rank more than 60 seconds
late to a collective failed the job. `NET_SIRCL_PEER_WAIT_TIMEOUT_MS` adds
an optional bound. A failed connection now shuts its socket down, so the
peer's requests on it fail promptly.
See [deadlines](docs/configuration.md#deadlines).
- **Settings fail closed.** `NET_SIRCL_CHUNK`, `NET_SIRCL_SPEED_MBPS`,
`NET_SIRCL_TC`, `NET_SIRCL_RELAXED_ORDERING`, `NET_SIRCL_ROUTE_CHECK` and
`NET_SIRCL_GID_INDEX` are validated like the other settings: an empty,
malformed or out-of-range value fails initialization instead of selecting
the default or being truncated. `NET_SIRCL_OOB_ADDR` must be an IPv4 address
when set; when no address is found the plugin warns that it advertises
127.0.0.1.
- **Topology files are read strictly, and identically by the plugin and
fabric-tool.** A `cabling` line is required; extra words, a `port0`/`port1`
line without exactly two names, over-long names, more than 64 hosts, a host
without a cable and cables that do not join every host are refused with a
message, where the plugin used to guess, truncate or continue without
routes. A two-host `cabling ring` is one cable for both tools (fabric-tool
used to read two); write a double-cabled pair with `cabling explicit`.
- **Stray connections no longer fail communicator setup.** The listener binds
the advertised address and drops a connection that never sends valid
metadata.
- **fabric-tool**
- Only processes run by root count as markers (`pgrep -U 0 -u 0`), so a
process that merely carries the marker's name cannot stand in for one.
- A missing tool or a failed read on a host is a problem that blocks
`apply`/`remove` and fails `verify`, instead of reading as "nothing
installed".
- The ownership record's layout name is derived from the topology's content,
not its file name, so a workstation and the boot unit agree. Each host
shows one pending record write the first time.
- `cabling explicit` in any order or port pairing can be planned.
- `apply --boot` no longer stops marker processes the plan does not name.
- `install-boot` starts the reconcile timer even when its immediate apply
fails; `remove-boot` can be run twice; ingress qdiscs added by a run that
failed later stay recorded as owned.
- `remove` refuses a host whose interfaces have other names unless `--facts`
is given, and a host whose record names a different marker executable
unless `--marker` names it. `verify --adopt` is rejected (it never did
anything).

## Fixes without a change in normal use

- Equally short lanes on an even ring cabled with `explicit` now follow the
cables at the higher position; they were assumed to arrive on port 1, which
put the two ends of a lane on different paths when a host was turned round.
Ring and path cabling are unaffected.
- A direct peer capped with `NET_SIRCL_WINDOWS` above about 64 MiB could
overflow the queue pair's send queue on a large send; payload writes now
stop short of it and resume as completions arrive.
- A forked child (a data-loader worker) no longer keeps the one-plugin-per-host
claim alive after its parent finalizes or exits.
- A connect toward a position the topology gives no route to logs why.
- The plugin build uses the bundled `transport-core` before a directory of
that name next to the checkout.
- The release scanner fails on an empty or missing tree and scans files that
contain NUL bytes.

## Tests added

Peers that are late rather than lost, stray connections, a window deeper than
the send queue, strict settings, fork handling, what the topology parser
refuses and accepts, lane reciprocity on turned rings, a conformance corpus
that both topology parsers must read alike, and 57 fabric-tool cases.

## Not changed here

- Version numbers, tags and the hardware-claim wording in README,
`docs/release-0.1.0.md`, `docs/measurements.md` and `docs/qualification.md`,
which disagree with each other in places and need the people who ran the
hardware to settle.
- `transport-core/src/fabric.c` and the `sircl_protocol_*` declarations in
`sircl_fabric.h`, which nothing in this repository calls or defines.
16 changes: 8 additions & 8 deletions SOURCE.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,26 +138,26 @@
"net-sircl/nccl/tuner.h": "8450583204696fe008b01ab92cfc86d5e8e5bfe1b722b02360be58d599f00148",
"net-sircl/nccl/tuner_v4.h": "1164e13f7096c21c3c02fda1ddcb13d52a9d74e89a42cbf287ac74710861c9cd",
"net-sircl/nccl/types.h": "204015ef7865117da6d643307d81df8f16736ccde3762e5110de516b34983890",
"net-sircl/net_sircl.c": "8c1fb7ea5d6930946a9689a6810a1b282e3d5fe25a4da56776e846a3be37fca6",
"net-sircl/net_sircl.h": "edf9ea26f9c3efd22a514233004b9a0771da16dc55a627ae5ed5e834cd3fe746",
"net-sircl/net_sircl.c": "831c257c6f029e0fbfae31988d3230969d5fd732fb5ef4f3f0c4f6fccc723135",
"net-sircl/net_sircl.h": "de03b0ae808c101c2a3acc1dc7361b78eaf3d6baefa94f21af97723cb4a978d1",
"net-sircl/net_sircl_admission.h": "6e92a7e07863fc7667f1db549ac89761a34a4a372388497915fb6c362fea1409",
"net-sircl/net_sircl_compat.h": "0053800750c2f061a1254d1db95e65e4317de000c1b52873c0fe2cec9afafdf9",
"net-sircl/net_sircl_config.h": "6d6a3e6eeb697ec652177bea148e3ba9ce80e1ecc11e17820768c19b72c1ed85",
"net-sircl/net_sircl_connection.h": "4e323cb1900aea927febf0f20f68dbb2e2eef05f0d99107febc6cf78ad5ebd96",
"net-sircl/net_sircl_config.h": "872feba25ac32d7e4e5e1444787edb8fe78188b6484e8fac58758dbc092dac37",
"net-sircl/net_sircl_connection.h": "901f799e6964445294f2a5fbca0413419d601f8a0cd5bde59f948a8650cff067",
"net-sircl/net_sircl_plan.c": "6fc1f03374562864b5b5898a54f4b2cf471e6d11003af83839e0f5a1f777e856",
"net-sircl/net_sircl_plan.h": "dcb857dce8247ff61756e216e90cfd40c6ce3a2b24f5e990b39ec561d2169526",
"net-sircl/net_sircl_profile.h": "58b2d994f86fbc88fba4b4d90f332142c52610fcb069dbb2990356734ac076fe",
"net-sircl/net_sircl_tuner.h": "30190717119d61bf1f25b184b1b1ad8f661ac8915c888e55ae013bff2a344bf1",
"net-sircl/tests/abi_test.c": "6bc4f44a4cec8f95253ccdf3e3980ced419f01b6be5e41f7e7d1718714e4d91a",
"net-sircl/tests/ack_test.c": "ba53451731662b8398c7e4dfd6ccab2008004e0343b1fd25f5fa8884599c6430",
"net-sircl/tests/emulation/nccl_compat_e2e.cc": "87217f46e6b83c65e9630b1df1b8f54ac4595e27cb3086e95c12ddc1765568d5",
"net-sircl/tests/failure_test.c": "6c7c79f4e689b037ea74c6a2cb685794d624fffb515d2e3c5ec764958b155c42",
"net-sircl/tests/layer_test.c": "7c677708799add8eba5d06187c1987054015e5b05252e47b010c592b25583f35",
"net-sircl/tests/failure_test.c": "040d98cb2803723a56b3f2534d5a228e3b51fdc19f59e4f526a75829d7208a82",
"net-sircl/tests/layer_test.c": "1d31ac5e27aaddbaeffab39d057665474c8e875f167c3ffe2752edbaa315c5c7",
"net-sircl/tests/progress_cost_test.c": "b3d26360da2c4df8a5d63ad4e62672462c6ebff15b06d1c79e7887cc128f5fa0",
"net-sircl/tests/relay_test.c": "651da26961b317e7189c27204f99c06cd7319b4d051cbe4677d69d95dfc7c13a",
"net-sircl/tests/request_contract_test.c": "3881b1f0ca107b600fb29a2b43478b687571a20b0495255cc3c635233d69c500",
"net-sircl/tests/route_model.c": "b365917435b11477b0e722e6df1bdcc2ddba427a847b02073b91eaa3f3bd76d2",
"net-sircl/tests/settings_test.c": "81ab5d5b8b62223ff533f8d1d4680b734962649176c97fb731b46733761115cf",
"net-sircl/tests/settings_test.c": "07b5ff68bc0919c456d56281c49af18c4f2bacf974846b77ca18c7044c1159a2",
"net-sircl/tests/standin/fake_verbs/infiniband/verbs.h": "8c2173547a2169bb455d103b7842463168e75d4350f4434d92ab5dabc353c64c",
"net-sircl/tests/standin/proxy_names.h": "962f0623b88648d1f8bc683168d0befd25dfe5dd7fe4c48a6f69b1e168b1964a",
"net-sircl/tests/standin/shm_verbs.c": "3921790d413212dee23f906a2abc897ff2367c27ac910d521174cf8c077b66a2",
Expand All @@ -178,7 +178,7 @@
"transport-core/src/shm_memory.h": "defe5e56c0162f2c2ce3d7484693b2771bf0afb953f8a9994ba8ebe5e4f1e01b",
"transport-core/src/shm_verbs.c": "2bc7a33b4e492c1ab0ee25de3527695420ce7ddde4bd4b9b5128874093a1686b",
"transport-core/src/sysfs.c": "747062778a2cab1744d43e602c724b1887ad6ba66428d62ee892b351f7f5b7c2",
"transport-core/src/topology.c": "a3f7c625832f95816d8cac09d625aada86b4fe29f30923acbc9c126af73a9d0a",
"transport-core/src/topology.c": "0719f36aa7b5a3b4754c180166ed3d8620a67bf9d285aed3faf92d4fbc9852f4",
"transport-core/src/verbs_dl.c": "ea38fd0ef71bc215f8d97c4f836179aa9190dc87a34125a4a24a96e23bbc4d84",
"transport-core/tests/fake_verbs/infiniband/verbs.h": "8c2173547a2169bb455d103b7842463168e75d4350f4434d92ab5dabc353c64c",
"transport-core/tests/test_core.c": "af1228e52b14a1da826573e8eb604ca27ffaf603d3aa7f464b00a4b729f0c2c0",
Expand Down
Loading
Loading