-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: use fio instead of dd for performance tests #4961
Conversation
In test_drive_rate_limiter, use `fio` for measuring latencies of writing a fixed number of bytes to a block device, instead of `dd` (which the test itself notes is unreliable). Should fix intermitted failures we're been seeing in this test, hopefully. Signed-off-by: Patrick Roy <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4961 +/- ##
=======================================
Coverage 83.93% 83.93%
=======================================
Files 248 248
Lines 27791 27791
=======================================
Hits 23327 23327
Misses 4464 4464
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Do you have any link to the intermittent failures? How far off are they from the target? Are we sure it's a |
e.g. https://buildkite.com/firecracker/firecracker-pr/builds/12155#0193cfc3-5704-40ba-9ebb-9e671d9e7dbc. It seems to just be slightly above the upper target by a few ms. There shouldn't be anything running at the same time, the perf tests aren't parallelized at the pytest level, and are assigned a whole .metal (e.g. only one buildkite agent on the metal). My main point here is that |
Makes sense, thanks for the context! I don't know if it's karma but this same test just failed on my PR as well lol |
In test_drive_rate_limiter, use
fio
for measuring latencies of writing a fixed number of bytes to a block device, instead ofdd
(which the test itself notes is unreliable). Should fix intermitted failures we're been seeing in this test, hopefully.Changes
...
Reason
...
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
tools/devtool checkstyle
to verify that the PR passes theautomated style checks.
how they are solving the problem in a clear and encompassing way.
in the PR.
CHANGELOG.md
.Runbook for Firecracker API changes.
integration tests.
TODO
.rust-vmm
.