docs(readme): v1.0.0 facts: install, maturity, cleaning, measured rows

Install from the v1.0.0 image (or build from the tag), not a main
commit's image; the single-replica chunk path is supported in v1.0.0 and
replicated volumes are a preview; the holder's cleaning replaces the old
GC text; the fork measurement is dropped, and the lifecycle row is
labelled as a pre-release run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
pingqiuandClaude Opus 5.5 committed 2026-11-28 11:56:46 -08:00
1 parent 11059ca0ae
commit 145e7c8fe8
1 file changed
+21 -18
+21 -18
View File
@@ -16,7 +16,7 @@ block volumes (alpha).
| Consumer | an agent sandbox or microVM, as a plain virtio block device | an app pod, through a PVC and the CSI driver |
| Frontend | NVMe/TCP loopback or ublk | iSCSI, or NVMe/TCP (source-gated) |
| Durability | one local replica, with cuts to SeaweedFS | RF=1 with best-effort ack by default; synchronous RF=2 or RF=3 (`sync-quorum`, `sync-all`) when configured, in a supported lab |
| Maturity | proof of concept | alpha |
| Maturity | v1.0.0, single replica | alpha |
Both uses share one core. `blockvolume` serves one volume replica; its
frontends turn block requests into a single Read / Write / Sync contract, and
@@ -48,7 +48,8 @@ their invariants, the tests behind them and the known issues.
every publish is a conditional update on `{gen, epoch}`.
- **Cheap snapshot and restore.** A snapshot copies only the HEAD root; chunks
are shared. A restore makes a new volume that reads the snapshot's chunks.
A two-phase, graced GC reclaims unreferenced chunks.
The holder's cleaning removes the chunks that no snapshot, restore target
or current image names; SeaweedFS vacuum then returns the space.
- **Move to any host.** Another host takes over with a higher epoch and fetches
chunks lazily on first read. A stale holder cannot publish.
- **Single replica by design.** Losing a host loses at most the writes since
@@ -65,9 +66,10 @@ Lab runs, median of 3; not SLOs. Workloads: Firecracker microVMs (4 vCPU,
4 GiB) on one bare-metal host over NVMe/TCP loopback, against a local
file-backed disk. The two `fsync` rows marked "ublk" come from a later run on
the same host with the ublk frontend, after the group-commit fix
([#173](https://github.com/seaweedfs/seaweed-block/pull/173)). Snapshot and
fork: a host-side proxy without network latency, guest `fsync` or the block
frontend. Fork was measured before it was removed from this release.
([#173](https://github.com/seaweedfs/seaweed-block/pull/173)). For
the snapshot row: a host-side proxy without network latency, guest `fsync` or the block
frontend. The two-host lifecycle row is a pre-release run that included fork (removed
from this release) and the earlier GC.
| Measurement | Seaweed Block | Local disk |
|---|---|---|
@@ -75,8 +77,8 @@ frontend. Fork was measured before it was removed from this release.
| Untar 100,000 files / cold `find` + `stat` over them | 1.10 s / 0.32 s | 1.06 s / 0.33 s |
| 2,000 × create + write + `fsync` (ublk) | 8.48 s | 6.11 s |
| Guest `fsync` median, fio 4 KiB random write, one at a time (ublk) | 3.23 ms | 2.74 ms |
| Snapshot / fork of a 10 GiB volume (2,560 chunks) | 0.18 ms / 0.29 ms | |
| Two-host lifecycle: create, snapshot, fork, move, stale holder, delete, GC | 35 of 35 checks | |
| Snapshot of a 10 GiB volume (2,560 chunks) | 0.18 ms | |
| Two-host lifecycle (pre-release): create, snapshot, fork, move, stale holder, delete, GC | 35 of 35 checks | |
Metadata-heavy workloads run at local-disk speed. The remaining cost is
`fsync`: a median of 3.23 ms against 2.74 ms local with the ublk frontend
@@ -88,21 +90,20 @@ how each was measured.
## Install
The binaries are `blockmaster`, `blockvolume` and the `sw-block` CLI; there is
no versioned release yet. **Option 1:** copy them from the image that every
push to `main` publishes (`sha-<12-character commit>`; this one is `04e76603`,
not a release):
The binaries are `blockmaster`, `blockvolume` and the `sw-block` CLI.
**Option 1:** copy them from the v1.0.0 image,
`ghcr.io/seaweedfs/seaweed-block:v1.0.0` (index digest
`sha256:648980beb519a086349d44367e9d19ba6ae94b8939456ae3eb7b7bb5e4b3b28b`):
```bash
TAG=sha-04e7660398c3
docker create --name swb-extract ghcr.io/seaweedfs/seaweed-block:$TAG
docker create --name swb-extract ghcr.io/seaweedfs/seaweed-block:v1.0.0
for b in blockmaster blockvolume sw-block; do docker cp swb-extract:/usr/local/bin/$b .; done
docker rm swb-extract && ./blockvolume --version
```
**Option 2:** build from source (the Go version in `go.mod`):
**Option 2:** build from the tag `v1.0.0` (the Go version in `go.mod`):
```bash
git clone https://github.com/seaweedfs/seaweed-block && cd seaweed-block
git clone --branch v1.0.0 https://github.com/seaweedfs/seaweed-block && cd seaweed-block
for b in blockmaster blockvolume sw-block; do go build -o $b ./cmd/$b; done
```
@@ -145,8 +146,9 @@ once and reads every chunk it has not made local from the source's snapshot
(there is no background copy). The source snapshot cannot be deleted while the
target exists. Fork is not supported in this release; the command is removed.
See [Restoring a snapshot](docs/standalone-deployment.md#restoring-a-snapshot-into-a-new-volume).
The chunk path (`walstore-chunk`) is a proof of concept. It is not yet a
default, a release claim or a production path.
In v1.0.0 the chunk path (`walstore-chunk`) is the supported single-replica
configuration ([release note](docs/releases/v1.0.0.md), [operator guide](docs/operator-guide.md));
it is not the `--durable-impl` default.
## Quick start: Kubernetes (alpha)
@@ -183,7 +185,8 @@ bash scripts/uninstall-k8s-alpha.sh "$PWD" && bash scripts/verify-helm-cleanup.s
| Area | Status |
|---|---|
| Agent workspace disks (`walstore-chunk`) | Proof of concept |
| Agent workspace disks (`walstore-chunk`), single replica | Supported in v1.0.0; see its [known limits](docs/releases/v1.0.0.md#known-limits) |
| Replicated volumes (`replication_factor` above 1) | Preview in v1.0.0 ([replicated volumes preview](docs/releases/replicated-volumes-preview.md)) |
| Kubernetes: Helm install, PVC provisioning, writer/reader check, read-only report and dashboard, CRD status and Events, support-bundle replay | Available (alpha) |
| Kubernetes: RF=3 multi-volume, CSI reattach recovery, iSCSI ALUA/dm-multipath mounted failover, restart persistence with hostPath | Gated (supported lab) |
| Kubernetes: `SwBlockVolume` finalizer lifecycle owner, returned-replica ACK eligibility executor | Beta candidate |