From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3CA61CFB2; Tue, 26 Mar 2024 01:42:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711417359; cv=none; b=TgrV4ZL9Rkbkz/KKf9nS6PUsBaEZ9GR3rxyaCHcnUvdO47fdnmSwRU40CROgtB1EO7UvSl5qZvZHvZu5l5frtDIrLwyZ/lJfx6Npp14CCTHy9NwMFvLCDSHXs6sM1jZPwNbwGblNOjNA/J8xxQayJpQbccZGT23wykIKNaSm7EA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711417359; c=relaxed/simple; bh=cZ6v5V99Dnf667GHfXx8dOjxbW4TM7gnOeT0ksyBVqs=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=EQ8mpafxZK5YPUfP8rahCWsPvBtkSnC9+5pKVMkfoizZpzg7Icdo6FqPIRcg3vN/s44mOZyi5fi/wZXWv91nclGSIJeLOpArGdwC1/VVIwnNSu8MYodRERaGSB95PqVc7lyaltDORtU6yCFN63fOhSyrFyG0hWrfQs+3rWWQgc0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TlQ3rYgb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TlQ3rYgb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 530B9C433F1; Tue, 26 Mar 2024 01:42:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711417358; bh=cZ6v5V99Dnf667GHfXx8dOjxbW4TM7gnOeT0ksyBVqs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=TlQ3rYgbJ3LMZZnOVGxKUABZh9uIxKr4TMeCJD/n2r5JDuW2XpKXcqVyIldARUlXO Ucw5O/68hD5W0ceblsbOjvZhUWk9XQTvNcnYEgkohCiQX3MyQEv57v2n1NFZiFo9p9 uo2n5RzuP8poCt+YB0WK3w2gkNh0aG3/09Gexjpw9MIvFPZSP2TT7DLpdsqHAp5DeM 51YxXru+CauNpBl8iP1+IzaQz3RbT8AdDc+WsxAWRqSwXfzg7KZDbRwTr1JP7DUZ5N FwHPu39Cl6c1JhNg9IL7TSG9SCJqMUdmT15hbEW6iUgmcKeXyNqW8Go7T3KYcqOfUd 1SwbfIgT3NxNg== Date: Mon, 25 Mar 2024 18:42:37 -0700 From: Jakub Kicinski To: Matthieu Baerts Cc: netdev@vger.kernel.org, netdev-driver-reviewers@vger.kernel.org Subject: Re: [TEST] VirtioFS instead of 9p (was: net-next is OPEN) Message-ID: <20240325184237.0d5a3a7d@kernel.org> In-Reply-To: <34e4f87d-a0c8-4ac3-afd8-a34bbab016ce@kernel.org> References: <20240325064234.12c436c2@kernel.org> <34e4f87d-a0c8-4ac3-afd8-a34bbab016ce@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 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.)