test-runner: use virtio-fs by default, functional test speedup
Status from this message: This series was applied to bluetooth/bluez.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyApplied
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- refactor start_qemu() argv building
- split out rootfs setup to separate functions
- fix bug in check_virtualization() that causes problems here
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tools/test-runner: replace alloca() based argv setuptools/ | +89 | 1 reply | |
| 2/4 | doc: enable virtio-fs in tester kernel configsdoc/ doc/ | +4 | 0 replies | |
| 3/4 | tools/test-runner: use virtiofsd for filesystem passthroughdoc/ tools/ | +227 | 0 replies | |
| 4/4 | tools/test-runner: Fix CPUID register clobberstools/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH BlueZ v2 0/4] test-runner: use virtio-fs by default, functional test speedup
v2:
- refactor start_qemu() argv building
- split out rootfs setup to separate functions
- fix bug in check_virtualization() that causes problems here
***
Use virtio-fs instead of 9p, which gives 3x reduction in CPU time for functional tests:
Before:
$ time make check-functional real 1m56,857s user 8m37,727s sys 2m21,655s
After:
$ time make check-functional real 1m4,714s user 2m52,831s sys 0m37,379s
Wall clock improvement becomes more significant under CPU load.
Requires /usr/libexec/virtiofsd installed, and CONFIG_VIRTIO_FS=y in kernel. Enable that option in tester configs.
If virtiofsd is not available, fall back to 9p as before.
Pauli Virtanen (4):
tools/test-runner: replace alloca() based argv setup
doc: enable virtio-fs in tester kernel configs tools/test-runner: use virtiofsd for filesystem passthrough tools/test-runner: Fix CPUID register clobbers
doc/ci.config | 2 + doc/test-runner.rst | 10 +- doc/tester.config | 2 + tools/test-runner.c | 414 +++++++++++++++++++++++++++++++++++--------- 4 files changed, 346 insertions(+), 82 deletions(-)
Signature · 1 line
2.55.0