mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 10:32:10 +00:00
Try to reduce unnecessary interrupts by updating `signalled_used` every time we check `used_event` rather than only when we actually write to the eventfd. This technique is lifted out of the vhost_add_used_n and vhost_notify methods in drivers/vhost/vhost.c in the kernel and the variable names are changed to more easily compare the two implmentations. This combined with the other notification suppression changes give a performance improvement of ~10% across all storage devices in the blogbench benchmark. BUG=none TEST=vm.Blogbench.{p9,block,virtiofs} Change-Id: I618767e4c36ecae607b7641e54a029c25583844d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3026691 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Chirantan Ekbote <chirantan@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
.build_test_serial | ||
Cargo.toml |