From abd90edba632ae6094d21278ccb9949212a196ec Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 2 Aug 2024 00:03:03 -0300 Subject: Docs: more on 9p limitations on Linux --- DOCS.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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) -- cgit v1.2.3