aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-02 00:03:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-02 00:03:03 -0300
commitabd90edba632ae6094d21278ccb9949212a196ec (patch)
treeaa597372e14c494d74416211ef052dc77dc801e0
parentbe9923a4c91b914f963e653fe7132d752745480d (diff)
downloadkvmx-abd90edba632ae6094d21278ccb9949212a196ec.tar.gz
kvmx-abd90edba632ae6094d21278ccb9949212a196ec.tar.bz2
Docs: more on 9p limitations on Linux
-rw-r--r--DOCS.md16
1 files 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)