netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Matthieu Baerts <matttbe@kernel.org>
Cc: netdev@vger.kernel.org, netdev-driver-reviewers@vger.kernel.org
Subject: Re: [TEST] VirtioFS instead of 9p (was: net-next is OPEN)
Date: Mon, 25 Mar 2024 18:42:37 -0700	[thread overview]
Message-ID: <20240325184237.0d5a3a7d@kernel.org> (raw)
In-Reply-To: <34e4f87d-a0c8-4ac3-afd8-a34bbab016ce@kernel.org>

On Mon, 25 Mar 2024 17:32:54 +0100 Matthieu Baerts wrote:
> With 'virtme-ng' used by NIPA, it is possible to use VirtioFS or
> OverlayFS instead of 9p.
> 
> VirtioFS seems to perform much better than 9p [1]. All you need is to
> install "virtiofsd" daemon in userspace [2]. It looks like Nipa is still
> using 9p for the rootfs, it might be good to switch to VirtioFS if it is
> easy :)

"All you need is to install" undersells it a little :)

It's not packaged for silly OS^w^w AWS Linux. 
And the Rust that comes with it doesn't seem to be able to build it :(


error[E0658]: use of unstable library feature 'is_some_and'
  --> /home/virtme/.cargo/registry/src/github.com-1ecc6299db9ec823/vhost-user-backend-0.14.0/src/bitmap.rs:87:14
   |
87 |             .is_some_and(|bitmap| bitmap.dirty_at(self.base_address.saturating_add(offset)))
   |              ^^^^^^^^^^^
   |
   = note: see issue #93050 <https://github.com/rust-lang/rust/issues/93050> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `vhost-user-backend` due to previous error
warning: build failed, waiting for other jobs to finish...


Onto the ToDo pile it goes :)

> If you want to use OverlayFS (e.g. to mount the kselftests dir), you can
> use "vng --overlay-rwdir". If you use "vng --rwdir" (or "vng --rodir"),
> 9p will be used. Maybe better to recommend that on the wiki [3]?
> 
> (The MPTCP CI didn't hit the bug with 9p, because it now uses vng with
> VirtioFS.)

  reply	other threads:[~2024-03-26  1:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-25 13:42 [ANN] net-next is OPEN Jakub Kicinski
2024-03-25 16:32 ` [TEST] VirtioFS instead of 9p (was: net-next is OPEN) Matthieu Baerts
2024-03-26  1:42   ` Jakub Kicinski [this message]
2024-03-26 10:27     ` [TEST] VirtioFS instead of 9p Matthieu Baerts
2024-03-26 12:34       ` Andrew Lunn
2024-03-26 14:20         ` Jakub Kicinski
2024-03-26 15:27           ` Andrew Lunn
2024-03-26 16:14           ` Edward Cree
2024-03-26 14:23       ` Jakub Kicinski
2024-03-26 17:02         ` Matthieu Baerts

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=20240325184237.0d5a3a7d@kernel.org \
    --to=kuba@kernel.org \
    --cc=matttbe@kernel.org \
    --cc=netdev-driver-reviewers@vger.kernel.org \
    --cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).