From: Silvio Rhatto Date: Fri, 2 Aug 2024 03:03:03 +0000 (-0300) Subject: Docs: more on 9p limitations on Linux X-Git-Tag: 0.3.0~14 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=abd90edba632ae6094d21278ccb9949212a196ec;p=kvmx.git Docs: more on 9p limitations on Linux --- diff --git a/DOCS.md b/DOCS.md index 893eaf2..08b3bc4 100644 --- a/DOCS.md +++ b/DOCS.md @@ -106,16 +106,18 @@ Some references on 9p folder sharing: Performance limitations: -* [linux/net/9p/trans_virtio.c at master · torvalds/linux · GitHub](https://github.com/torvalds/linux/blob/master/net/9p/trans_virtio.c) - * Limits still present at `trans_virtio.c` (as of 2024-08-01) - [linux/net/9p/trans_virtio.c at master - L803 · torvalds/linux · - GitHub](https://github.com/torvalds/linux/blob/master/net/9p/trans_virtio.c#L803) - * [History for net/9p/trans_virtio.c - torvalds/linux · GitHub](https://github.com/torvalds/linux/commits/master/net/9p/trans_virtio.c) -* [Can not set high msize with virtio-9p (Was: Re: virtiofs vs 9p performan](https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg06343.html) - * [Re: Can not set high msize with virtio-9p (Was: Re: virtiofs vs 9p perfo](https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg06850.html) +* There's a limit in the Linux kernel, which is explained in [this + message](https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg06850.html) + as being `.maxsize = PAGE_SIZE * (VIRTQUEUE_NUM - 3)`. +* The limit is present at `trans_virtio.c` (as of 2024-08-01): + [linux/net/9p/trans_virtio.c at master - L803 · torvalds/linux · + GitHub](https://github.com/torvalds/linux/blob/master/net/9p/trans_virtio.c#L803) +* [History for net/9p/trans_virtio.c - torvalds/linux · GitHub](https://github.com/torvalds/linux/commits/master/net/9p/trans_virtio.c) Discussion an proposals to overcome this limit: +* [Can not set high msize with virtio-9p (Was: Re: virtiofs vs 9p performan](https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg06343.html) + * [Re: Can not set high msize with virtio-9p (Was: Re: virtiofs vs 9p perfo](https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg06850.html) * [remove msize limit in virtio transport - LWN.net](https://lwn.net/Articles/901523/) * [New Patches Aim To Boost Linux 9p Performance By ~10x - Phoronix](https://www.phoronix.com/news/Linux-9p-10x-Performance) * [9p performance increase by ~10x reflected in WSL? · microsoft/WSL · Discussion #9412 · GitHub](https://github.com/microsoft/WSL/discussions/9412)