Repository navigation
Add Alluxio S3 read benchmarks with an Azure Blob baseline - #1406
Closed
Lei Yao (wonderyl) wants to merge 5 commits into
Closed
Lei Yao (wonderyl) wants to merge 5 commits into
Lei Yao (wonderyl) wants to merge 5 commits into
Conversation
MountBlobStorage takes the container, SAS variable and mount path, and derives the UFS and step names from the path, so one job can mount several containers. RecordRunConfiguration takes an optional benchmark record whose default reproduces the warp values; each recorded node pool carries its VM size's published network limit. The diagnostics step becomes the shared CollectDiagnostics. The warp pipeline's generated YAML changes only in its mount step and loses the documentation-link comment in the configuration step, which now lives in the KCL source.
s3c.sh sends the same requests at the same concurrency to Alluxio's S3 API (SigV4) or to Azure Blob directly (REST + SAS); only the endpoint differs. Every request on both sides retries transient errors (408, 429, 500, 502, 503, 504, truncated bodies, connect timeouts) up to 3 times, as Azure Blob clients do; after retries it accepts only 200/206 with the exact expected size, and every request has a timeout. Each run reports its retries and its failed requests by status and size. Each curl run starts with an unmeasured HEAD to every host its requests use, so the measured requests reuse an open connection on both sides instead of paying for DNS, TCP and TLS on Blob and an in-cluster TCP connect on Alluxio. Each run reports how many measured requests still opened a connection, and its per-request time limit. HOST_OFFSET lets clients that read the same keys at the same time start on different hosts. checks.jq validates each run, checks that an Alluxio run read almost nothing from the UFS, summarizes the scenarios and attributes Blob egress for the checkpoint load. All jq runs on jq 1.6 and later.
kcl/alluxio/s3_read runs read scenarios through Alluxio's S3 API and, in the same run, against Azure Blob directly, alternating the two sides: cross-region repeated reads, same-region small objects and range reads, large-object GETs at 1/4/16 concurrent requests, and five clients loading the same checkpoint at once (bytes read from Blob and completion times). Both datasets of scenarios 1-10 are loaded into the cache first, so every Alluxio rep reads the workers' UFS-read counter before and after and fails if the workers read more than 1% of the rep's bytes from Blob; the counts go into summary.json. In the checkpoint load each client starts at a different worker, so every worker serves the same share. Five workers keep their page store on the local NVMe disk. The cluster uses NOSASL: with several workers and redirect disabled, a worker relays reads to the worker that owns the file, and under SIMPLE that internal connection is rejected, so reads fall back silently.
Lei Yao (wonderyl)
requested review from
Leonard Du (LeonardCareer),
Liyu Ma (liyu-ma),
Vittoria (vittoriasalim) and
xinWeiWei24
as code owners
November 24, 2026 07:24
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Include status and bounded license-controller logs on failure or timeout before cleanup. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent assessment
Self-reported assessment, not an independent review.
Assessed revision:
c79c0ac0a31f3792025baec4b5b9b850da97fcac↓ Synthetic metric data demonstrates checkpoint egress misattribution caused by the one-minute window shift in checks.jq; unresolved.
↓ No Azure end-to-end run was performed in this session.
Summary
Compare Alluxio's read-cache performance with direct Azure Blob reads using the same curl client, concurrency, and retry policy. This branch contains the implementation reviewed in #1400, published from this session without additional code changes.
The pipeline provisions separate Alluxio worker and client pools, prepares local NVMe page stores, and runs warm-cache GET/range scenarios plus concurrent cold checkpoint loads. Results include throughput, latency, retries, connection reuse, worker UFS-read counters, and checkpoint storage egress. Shared mounting, configuration recording, and diagnostics helpers are reused by the existing warp pipeline.
Review considerations
Validation