All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v2 0/4] test-runner: use virtio-fs by default, functional test speedup
@ 2026-09-12 18:18 Pauli Virtanen
  2026-09-12 18:18 ` [PATCH BlueZ v2 1/4] tools/test-runner: replace alloca() based argv setup Pauli Virtanen
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Pauli Virtanen @ 2026-09-12 18:18 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Pauli Virtanen

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(-)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-12 19:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-12 18:18 [PATCH BlueZ v2 0/4] test-runner: use virtio-fs by default, functional test speedup Pauli Virtanen
2026-09-12 18:18 ` [PATCH BlueZ v2 1/4] tools/test-runner: replace alloca() based argv setup Pauli Virtanen
2026-09-12 19:17   ` test-runner: use virtio-fs by default, functional test speedup bluez.test.bot
2026-09-12 18:18 ` [PATCH BlueZ v2 2/4] doc: enable virtio-fs in tester kernel configs Pauli Virtanen
2026-09-12 18:18 ` [PATCH BlueZ v2 3/4] tools/test-runner: use virtiofsd for filesystem passthrough Pauli Virtanen
2026-09-12 18:18 ` [PATCH BlueZ v2 4/4] tools/test-runner: Fix CPUID register clobbers Pauli Virtanen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.