]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Docs: more on 9p limitations on Linux
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 2 Aug 2024 03:03:03 +0000 (00:03 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 2 Aug 2024 03:03:03 +0000 (00:03 -0300)
DOCS.md

diff --git a/DOCS.md b/DOCS.md
index 893eaf24998585527a570241e4d8cb2180332af8..08b3bc4e33fb9cbe433a6a792f3b394232c4650a 100644 (file)
--- 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)