From 470d0b0056195983ee04cb004f128f7440f9afef Mon Sep 17 00:00:00 2001 From: pingqiu Date: Sat, 1 Aug 2026 04:22:53 -0700 Subject: [PATCH] test: declare mounted NVMe network class --- .../phase174-d2-mounted-nvme-phase-profile-qa.md | 1 + .../scripts/run-phase174-mounted-nvme-phase-profile-gate.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/seaweed-block/internal/docs/qa-assignments/phase174-d2-mounted-nvme-phase-profile-qa.md b/seaweed-block/internal/docs/qa-assignments/phase174-d2-mounted-nvme-phase-profile-qa.md index a0567630d0..975a5f6d59 100644 --- a/seaweed-block/internal/docs/qa-assignments/phase174-d2-mounted-nvme-phase-profile-qa.md +++ b/seaweed-block/internal/docs/qa-assignments/phase174-d2-mounted-nvme-phase-profile-qa.md @@ -16,6 +16,7 @@ settings used by the existing mounted baseline: SW_BLOCK_ARTIFACT_DIR=/mnt/smb/work/share/g15d-k8s/-phase174-mounted-nvme \ SW_BLOCK_PHASE174_SOURCE_COMMIT= \ SW_BLOCK_FRONTEND_IP_MAP=m01=10.0.0.1,m02=10.0.0.3 \ +SW_BLOCK_PHASE174_MOUNTED_FRONTEND_NETWORK_CLASS=100gbe_tcp \ SW_BLOCK_EXPECTED_FRONTEND_ROUTE_DEV=enp1s0np0 \ SW_BLOCK_IMPORT_K3S_SSH_KEY=/opt/work/testdev_key \ bash scripts/run-phase174-mounted-nvme-phase-profile-gate.sh "$PWD" diff --git a/seaweed-block/scripts/run-phase174-mounted-nvme-phase-profile-gate.sh b/seaweed-block/scripts/run-phase174-mounted-nvme-phase-profile-gate.sh index 387374cc6e..2980b044cc 100755 --- a/seaweed-block/scripts/run-phase174-mounted-nvme-phase-profile-gate.sh +++ b/seaweed-block/scripts/run-phase174-mounted-nvme-phase-profile-gate.sh @@ -7,6 +7,7 @@ BASELINE_DIR="${ARTIFACT_DIR}/phase120-mounted-profile" SUMMARY="${ARTIFACT_DIR}/phase174-mounted-nvme-phase-profile-summary.txt" SEQ_MIB="${SW_BLOCK_PHASE174_MOUNTED_SEQ_MIB:-256}" PVC_SIZE="${SW_BLOCK_PHASE174_MOUNTED_PVC_SIZE:-1Gi}" +FRONTEND_NETWORK_CLASS="${SW_BLOCK_PHASE174_MOUNTED_FRONTEND_NETWORK_CLASS:-100gbe_tcp}" SOURCE_COMMIT="${SW_BLOCK_PHASE174_SOURCE_COMMIT:-$(git -C "${ROOT}" rev-parse HEAD 2>/dev/null || true)}" mkdir -p "${ARTIFACT_DIR}" "${BASELINE_DIR}" @@ -49,6 +50,7 @@ write_summary "source_commit=${SOURCE_COMMIT}" write_summary "initiator=linux_kernel_nvme_tcp" write_summary "workload=mounted_ext4_sequential_write" write_summary "seq_size_mib=${SEQ_MIB}" +write_summary "frontend_network_class=${FRONTEND_NETWORK_CLASS}" write_summary "status_surface=/status/nvme" write_summary "mounted_shape_comparable=false" write_summary "fixed_work_throughput_ratio_allowed=false" @@ -57,6 +59,7 @@ SW_BLOCK_ARTIFACT_DIR="${BASELINE_DIR}" \ SW_BLOCK_PHASE120_PROFILE_WRITE=true \ SW_BLOCK_PHASE120_SEQ_MIB="${SEQ_MIB}" \ SW_BLOCK_PHASE120_PVC_SIZE="${PVC_SIZE}" \ +SW_BLOCK_FRONTEND_NETWORK_CLASS="${FRONTEND_NETWORK_CLASS}" \ bash "${ROOT}/scripts/run-phase120-nvme-tcp-performance-baseline-gate.sh" "${ROOT}" \ >"${ARTIFACT_DIR}/phase120.stdout.txt" \ 2>"${ARTIFACT_DIR}/phase120.stderr.txt"