Repository navigation
Conversation
There was a problem hiding this comment.
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.
| 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 |
There was a problem hiding this comment.
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.
| 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
- 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).
| ``` | ||
|
|
||
| 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. |
There was a problem hiding this comment.
There are two minor improvements for the reproduction steps here:
- 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. - Running the FIO command exactly as written in step 9 will overwrite
fio_output.jsonon 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
- For workarounds or multi-step instructions, use bullet points or numbered lists for clarity.
|
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! |
Description
Updates
docs/benchmarks.mdwith fresh GCSFusev4.0.0regional HNS benchmark results (5 iterations per row onc4-standard-192,us-south1) and replaces the inaccurate1/IOPSAvg Latency (msec)values with FIO's measured per-I/O latency (lat_ns.mean) plusP50 Latency (msec).Key updates:
1/IOPSlatency with measured FIOlat_ns.meanand addP50 Latency (msec)across all three tables (Sequential Reads, Random Reads, Sequential Writes).bw_bytes / 1e9), IOPS (FIOiops), and fix the200 MiBrandom-read row.c4-standard-192,gVNIC+Tier_1,Hyperdisk Balanced,fio 3.42, GCSFusev4.0.0), FIO templates (lat_percentiles=1,fallocate=noneon 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
local_run_v4_0_0_20261126_1739.Any backward incompatible change? If so, please explain.
No (documentation only).