Skip to content

Commit 984b48c

Browse files
committed
iso: Enable VirtioFS for x86_64 and aarch64
The Virtio Filesystem[1] allows guests to mount file systems from the host. Testing with krunkit show 10 times faster read throughput: minikube krunkit - 9p: $ time cp /mnt/models/mistral-7b-instruct-v0.2.Q4_K_M.gguf model real 0m34.330s user 0m0.019s sys 0m1.959s podman krunkit - virtiofs: $ time cp /Users/nir/Downloads/models/mistral-7b-instruct-v0.2.Q4_K_M.gguf model real 0m3.245s user 0m0.006s sys 0m1.035s We must have virtiofs for playing with AI workload in krunkit. It can be nice improvment for vfkti and qemu, and should be available in ohter hypervisors. [1] https://virtio-fs.gitlab.io/index.html
1 parent 554b2cc commit 984b48c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

deploy/iso/minikube-iso/board/minikube/aarch64/linux_aarch64_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,7 @@ CONFIG_QFMT_V2=y
892892
CONFIG_AUTOFS_FS=y
893893
CONFIG_FUSE_FS=m
894894
CONFIG_CUSE=m
895+
CONFIG_VIRTIO_FS=m
895896
CONFIG_OVERLAY_FS=m
896897
CONFIG_VFAT_FS=y
897898
CONFIG_PROC_CHILDREN=y

deploy/iso/minikube-iso/board/minikube/x86_64/linux_x86_64_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ CONFIG_QUOTA_NETLINK_INTERFACE=y
463463
CONFIG_QFMT_V2=y
464464
CONFIG_AUTOFS_FS=y
465465
CONFIG_FUSE_FS=y
466+
CONFIG_VIRTIO_FS=m
466467
CONFIG_OVERLAY_FS=m
467468
CONFIG_ISO9660_FS=y
468469
CONFIG_JOLIET=y

0 commit comments

Comments
 (0)