Skip to content

docs(benchmarks): update regional benchmarks to v4.0.0 with measured latency - #5296

Open
vipnydav wants to merge 1 commit into
masterfrom
update-regional-benchmarks-md
Open

vipnydav wants to merge 1 commit into
masterfrom
update-regional-benchmarks-md

Conversation

@vipnydav

Copy link
Copy Markdown
Member

Description

Updates docs/benchmarks.md with fresh GCSFuse v4.0.0 regional HNS benchmark results (5 iterations per row on c4-standard-192, us-south1) and replaces the inaccurate 1/IOPS Avg Latency (msec) values with FIO's measured per-I/O latency (lat_ns.mean) plus P50 Latency (msec).

Key updates:

  • Replace derived 1/IOPS latency with measured FIO lat_ns.mean and add P50 Latency (msec) across all three tables (Sequential Reads, Random Reads, Sequential Writes).
  • Update bandwidth (bw_bytes / 1e9), IOPS (FIO iops), and fix the 200 MiB random-read row.
  • Update test setup details (c4-standard-192, gVNIC + Tier_1, Hyperdisk Balanced, fio 3.42, GCSFuse v4.0.0), FIO templates (lat_percentiles=1, fallocate=none on reads), methodology note, and reproduction steps.

Benchmark dataset: gcs-fuse-test-ml.adhoc_benchmarks.local_run_v4_0_0_20261126_1739 (using the metric fixes from GoogleCloudPlatform/gcsfuse-tools#235).

Link to the issue in case of a bug fix.

b/582182079

Testing details

  1. Manual - Verified all 22 rows against the 110 raw FIO JSON outputs (5 iterations per workload) and BigQuery table local_run_v4_0_0_20261126_1739.
  2. Unit tests - NA
  3. Integration tests - NA

Any backward incompatible change? If so, please explain.

No (documentation only).

@vipnydav
vipnydav requested a review from a team as a code owner November 29, 2026 19:31
@github-actions github-actions Bot added the remind-reviewers Auto remind reviewers in attention set for review post 24hrs of inactivity on PR. label Nov 29, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the GCSFuse performance benchmarks documentation, including updated test setup specifications, revised metrics for sequential/random reads and sequential writes, and more detailed, step-by-step instructions for reproducing the benchmarks. The review feedback suggests checking out the specific fio-3.42 tag when building FIO from source to ensure version consistency. Additionally, it recommends adjusting the repetition steps so the FIO job file is not repeatedly edited, and saving each iteration's output to a unique file to prevent overwriting the JSON results.

Comment thread docs/benchmarks.md
Comment on lines +199 to +201
git clone https://github.com/axboe/fio.git /tmp/fio
cd /tmp/fio
sed -i 's/define \+FIO_IO_U_PLAT_GROUP_NR \+\([0-9]\+\)/define FIO_IO_U_PLAT_GROUP_NR 32/g' stat.h

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To ensure reproducibility and match the FIO version 3.42 specified in the test setup, we should checkout the fio-3.42 tag after cloning the repository.

Suggested change
git clone https://github.com/axboe/fio.git /tmp/fio
cd /tmp/fio
sed -i 's/define \+FIO_IO_U_PLAT_GROUP_NR \+\([0-9]\+\)/define FIO_IO_U_PLAT_GROUP_NR 32/g' stat.h
git clone https://github.com/axboe/fio.git /tmp/fio
cd /tmp/fio
git checkout fio-3.42
sed -i 's/define \+FIO_IO_U_PLAT_GROUP_NR \+\([0-9]\+\)/define FIO_IO_U_PLAT_GROUP_NR 32/g' stat.h
References
  1. Since GCSFuse does not support macOS, documentation and runbooks do not need to be platform-agnostic for macOS and can use Linux-specific commands (such as GNU sed).
Comment thread docs/benchmarks.md
```

9. Metrics will be displayed on the terminal after test is completed.
10. Repeat steps 6 through 9 for 5 iterations (unmounting with `fusermount -u <path-to-mount-point>` and dropping kernel caches between iterations), then average `bw_bytes / 1e9` (GB/s), `iops / 1000` (K IOPS), `lat_ns.mean / 1e6` (Avg Latency in msec), and `lat_ns.percentile["50.000000"] / 1e6` (P50 Latency in msec) across the 5 JSON outputs.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There are two minor improvements for the reproduction steps here:

  1. Step 8 (creating/editing the FIO job file with vi) only needs to be done once, so we should only repeat steps 6, 7, and 9.
  2. Running the FIO command exactly as written in step 9 will overwrite fio_output.json on each iteration. It is better to suggest saving each iteration's output to a unique file (e.g., fio_output_$i.json) so they can be averaged.
References
  1. For workarounds or multi-step instructions, use bullet points or numbered lists for clarity.
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

Hi @kislaykishore, your feedback is needed to move this pull request forward. This automated reminder was triggered because there has been no activity for over 24 hours. Please provide your input when you have a moment. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

remind-reviewers Auto remind reviewers in attention set for review post 24hrs of inactivity on PR.

1 participant