All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pauli Virtanen <pav@iki.fi>
To: linux-bluetooth@vger.kernel.org
Cc: Pauli Virtanen <pav@iki.fi>
Subject: [PATCH BlueZ 0/2] test-runner: use virtio-fs by default, functional test speedup
Date: Thu, 10 Sep 2026 19:48:05 +0300	[thread overview]
Message-ID: <cover.1789058875.git.pav@iki.fi> (raw)

Use virtio-fs instead of 9p, which gives 3x reduction in CPU time for
functional tests:

Before:
$ time make check-functional
real    2m9,736s
user    1m29,570s
sys     0m32,715s

After:
$ time make check-functional
real    1m35,703s
user    0m28,938s
sys     0m7,453s

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 (2):
  doc: enable virtio-fs in tester kernel configs
  tools: test-runner: use virtiofsd for filesystem passthrough

 doc/ci.config       |   2 +
 doc/test-runner.rst |   3 +
 doc/tester.config   |   2 +
 tools/test-runner.c | 210 +++++++++++++++++++++++++++++++++++++++++---
 4 files changed, 203 insertions(+), 14 deletions(-)

-- 
2.55.0


             reply	other threads:[~2026-09-10 16:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-10 16:48 Pauli Virtanen [this message]
2026-09-10 16:48 ` [PATCH BlueZ 1/2] doc: enable virtio-fs in tester kernel configs Pauli Virtanen
2026-09-10 19:30   ` test-runner: use virtio-fs by default, functional test speedup bluez.test.bot
2026-09-10 16:48 ` [PATCH BlueZ 2/2] tools: test-runner: use virtiofsd for filesystem passthrough Pauli Virtanen
2026-09-10 17:16   ` Luiz Augusto von Dentz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1789058875.git.pav@iki.fi \
    --to=pav@iki.fi \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.