From 85c1d9c4ad3bca29db4abd51b0bcdca6df72ebcf Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 2 Jul 2024 15:18:20 -0300 Subject: Feat: Increase default msize for 9p mounts to 4MiB --- kvmxfile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'kvmxfile') diff --git a/kvmxfile b/kvmxfile index 2ce7ee0..0ecfbab 100644 --- a/kvmxfile +++ b/kvmxfile @@ -43,10 +43,17 @@ net="user" # Format: ::,::[,...] #shared_folders="shared1:.:/home/$user/code/$VM,shared2:$HOME/.local/share/app:/home/$user/.local/share/app" -# Maximum packet size including any headers for shared folders using 9p -# See https://forums.lime-technology.com/topic/34691-9p-sharing-speed-not-what-i-expected/ +# Maximum packet size in bytex including any headers for shared folders using 9p +# In the past this was limited to 500kB: https://lwn.net/Articles/901523/ +# +# See https://wiki.qemu.org/Documentation/9psetup +# https://wiki.qemu.org/Documentation/9p +# https://www.kernel.org/doc/html/latest/filesystems/9p.html # https://github.com/clearcontainers/hyperstart/pull/25 -#shared_folders_msize="524288" +# https://issues.guix.gnu.org/47225 +# +# Example: 4194304 bytes = 4MiB +#shared_folders_msize="4194304" # Shared folders caching # See https://www.kernel.org/doc/Documentation/filesystems/9p.txt -- cgit v1.2.3