refactor: configure storage benchmark to use sequential writes - #20
Merged
jim-junior merged 2 commits intoSep 28, 2026
Merged
Conversation
Signed-off-by: Beingana Jim Junior <jimjunior854@gmail.com>
Signed-off-by: Beingana Jim Junior <jimjunior854@gmail.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.
This is to PR updates the
fioworkload to use sequential writes instead of random read and writes by changing the--rwflag fromrandrwtowrite.Goal for this PR was because , gVisor's user-space Sentry handled random lookups quickly inside RAM rather than hitting the true storage stack. This created an architectural illusion of blisteringly fast speeds that didn't reflect actual runtime constraints. A sustained sequential write forces gVisor to continuously serialize and flush data over its internal Gofer communication ring to the host system. This breaks the in-memory shortcut, bringing the numbers back down to earth and exposing the true, expected system-call interception overhead.
Furthermore the workload image has been changed from the standard ubuntu based fio image to
xridge/fio. an alpine based image and widely used.Results from an experiment of 20 repeated runs per runtime below.
Important
In the repeated runs there was some variation in the runtime results accross runs, most especially for
runchowever I have included the Run-to-run CV in the table to show how variance in results.script used to test this was: