mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 10:10:41 +00:00
eefe7fb19e
Support virtio-fs's DAX (direct memory access) operation which allows the guest to directly access file pages. Specifically, FUSE_SETUP_MAPPING and FUSE_REMOVE_MAPPING operations are supported. This option can be used by specifing `dax` option when mount a file system in the guest. The DAX optoin improved file I/O performance in most cases. In Fio tests, both of read and write score were improved by 1.3-14x depending on test cases. In Blogbench tests, which create many small files, DAX improved the write score by 1.5x while the read score was reduced to ~25% (20391 -> 4593). Here is an excerpt of results: Fio * seq_read: 10.2x (143528 -> 1464911) * seq_write: 3.3x (61253 -> 896791) * rand_read: 11.6x (138753 -> 1612739) * rand_write: 14.6x (61253 -> 896791) * surfing_read: 1.3x (98473 -> 127907) * surfing_write: 1.3x (83309 -> 108089) Blogbench * read: 0.23x (20391 -> 4593) * write: 1.50x (248 -> 373) BUG=b:147341783 TEST=Run vm.{Blogbench, Fio} with CL:2291856 Change-Id: I4a47c601412ed32d926de6304337e1594252d258 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2108315 Tested-by: kokoro <noreply+kokoro@google.com> Tested-by: Keiichi Watanabe <keiichiw@chromium.org> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org> |
||
---|---|---|
.. | ||
poll_token_derive | ||
src | ||
.build_test_serial | ||
Cargo.toml |