Hello everyone,
at my work we are migrating from ESXi to Proxmox. After having migrated about 25 VMs with Rocky and having created about 10 more VMs, I have realized that the writing speed is being affected by something I don't know. In the ESXi VMs everything works correctly.
I have created several test VMs and I have noticed that in VMs with Rocky Linux and RHEL distributions I have this problem, but the same does not happen with Fedora or Debian.
To do the tests I have configured all the VMs with the same configuration and the writing is done directly on the local disk of the host.
For the tests I have done I've used iperf3, both to measure the network and to create a file (using the -F option). Also with dd I get slow write performance.
After several weeks of testing with different configurations, the result is always the same and I don't know what else to look for.
I haven't found similar problems in the forum or on google.
These are the configuration I have and the tests I have done:
Server bare-metal: PowerEdge R750xs
Proxmox: pve-manager/8.3.3/f157a38b211595d6 (running kernel: 6.8.12-2-pve)
VMs configuration:
acpi: 1
agent: 1
boot: order=scsi0
cores: 4
cpu: host
hotplug: 0
machine: q35
memory: 4096
meta: creation-qemu=9.0.2,ctime=1737742842
net0: virtio=BC:24:11:4C:24:36,bridge=vmbr0
numa: 0
ostype: l26
scsi0: local:XXX/vm-XXX-disk-0.qcow2,discard=on,iothread=1,size=30G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=xxxxxxxx-79f6-496f-be66-xxxxxxx4723f
sockets: 1
vmgenid: xxxxxxxx-6793-43aa-9dc6-xxxxx26abf3b
vmstatestorage: local
Kernel versions:
Debian12: Linux debian12-test 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux
Fedora29: Linux fedora29-test 4.18.16-300.fc29.x86_64 #1 SMP Sat Oct 20 23:24:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Fedora33: Linux fedora33-test 5.8.15-301.fc33.x86_64 #1 SMP Thu Oct 15 16:58:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Rocky8: Linux rocky8-test 4.18.0-553.el8_10.x86_64 #1 SMP Fri May 24 13:05:10 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Rocky9: Linux rocky9-test 5.14.0-503.14.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 15 12:04:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Redhat8: Linux redhat8-test 4.18.0-348.el8.x86_64 #1 SMP Mon Oct 4 12:17:22 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
Tests:
Debian 12
Virtio Drivers:
File WritingTest:
Fedora 29 and Fedora 33
Virtio Drivers: are same modules for both.
File WritingTest: are similar for both
Rocky Linux 8
Virtio Drivers:
File WritingTest:
Rocky Linux 9
Virtio Drivers:
File WritingTest:
Red Hat 8
Virtio Drivers:
File WritingTest:
I suspect that it must be a problem with the virtio scsi drivers, which, according to what I have read, are included in the kernel. But this topic is a bit beyond my knowledge.
I would like to thank you in advance for any clues you can give me.
Regards
at my work we are migrating from ESXi to Proxmox. After having migrated about 25 VMs with Rocky and having created about 10 more VMs, I have realized that the writing speed is being affected by something I don't know. In the ESXi VMs everything works correctly.
I have created several test VMs and I have noticed that in VMs with Rocky Linux and RHEL distributions I have this problem, but the same does not happen with Fedora or Debian.
To do the tests I have configured all the VMs with the same configuration and the writing is done directly on the local disk of the host.
For the tests I have done I've used iperf3, both to measure the network and to create a file (using the -F option). Also with dd I get slow write performance.
After several weeks of testing with different configurations, the result is always the same and I don't know what else to look for.
I haven't found similar problems in the forum or on google.
These are the configuration I have and the tests I have done:
Server bare-metal: PowerEdge R750xs
Proxmox: pve-manager/8.3.3/f157a38b211595d6 (running kernel: 6.8.12-2-pve)
VMs configuration:
acpi: 1
agent: 1
boot: order=scsi0
cores: 4
cpu: host
hotplug: 0
machine: q35
memory: 4096
meta: creation-qemu=9.0.2,ctime=1737742842
net0: virtio=BC:24:11:4C:24:36,bridge=vmbr0
numa: 0
ostype: l26
scsi0: local:XXX/vm-XXX-disk-0.qcow2,discard=on,iothread=1,size=30G,ssd=1
scsihw: virtio-scsi-single
smbios1: uuid=xxxxxxxx-79f6-496f-be66-xxxxxxx4723f
sockets: 1
vmgenid: xxxxxxxx-6793-43aa-9dc6-xxxxx26abf3b
vmstatestorage: local
Kernel versions:
Debian12: Linux debian12-test 6.1.0-30-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.124-1 (2025-01-12) x86_64 GNU/Linux
Fedora29: Linux fedora29-test 4.18.16-300.fc29.x86_64 #1 SMP Sat Oct 20 23:24:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Fedora33: Linux fedora33-test 5.8.15-301.fc33.x86_64 #1 SMP Thu Oct 15 16:58:06 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Rocky8: Linux rocky8-test 4.18.0-553.el8_10.x86_64 #1 SMP Fri May 24 13:05:10 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Rocky9: Linux rocky9-test 5.14.0-503.14.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 15 12:04:32 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Redhat8: Linux redhat8-test 4.18.0-348.el8.x86_64 #1 SMP Mon Oct 4 12:17:22 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
Tests:
Debian 12
Virtio Drivers:
root@debian12-test:~# lsinitramfs /boot/initrd.img-$(uname -r) | grep virtio
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/block/virtio_blk.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/net/virtio_net.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/scsi/virtio_scsi.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio/virtio.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio/virtio_mmio.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio/virtio_pci.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio/virtio_pci_legacy_dev.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio/virtio_pci_modern_dev.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio/virtio_ring.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/block/virtio_blk.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/net/virtio_net.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/scsi/virtio_scsi.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio/virtio.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio/virtio_mmio.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio/virtio_pci.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio/virtio_pci_legacy_dev.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio/virtio_pci_modern_dev.ko
usr/lib/modules/6.1.0-30-amd64/kernel/drivers/virtio/virtio_ring.ko
File WritingTest:
root@debian12-test:~# iperf3 -s -p 5003 -F /tmp/iperf.tmp
-----------------------------------------------------------
Server listening on 5003 (test #1)
-----------------------------------------------------------
Accepted connection from 192.168.200.38, port 33472
[ 5] local 192.168.200.202 port 5003 connected to 192.168.200.38 port 33476
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 112 MBytes 941 Mbits/sec
[ 5] 1.00-2.00 sec 112 MBytes 941 Mbits/sec
...
[ 5] 9.00-10.00 sec 112 MBytes 941 Mbits/sec
[ 5] 10.00-10.00 sec 304 KBytes 720 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
Sent 1.10 GByte / 1.10 GByte (100%) of /tmp/iperf.tmp
[ 5] 0.00-10.00 sec 1.10 GBytes 941 Mbits/sec receiver
-----------------------------------------------------------
Server listening on 5003 (test #1)
-----------------------------------------------------------
Accepted connection from 192.168.200.38, port 33472
[ 5] local 192.168.200.202 port 5003 connected to 192.168.200.38 port 33476
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 112 MBytes 941 Mbits/sec
[ 5] 1.00-2.00 sec 112 MBytes 941 Mbits/sec
...
[ 5] 9.00-10.00 sec 112 MBytes 941 Mbits/sec
[ 5] 10.00-10.00 sec 304 KBytes 720 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
Sent 1.10 GByte / 1.10 GByte (100%) of /tmp/iperf.tmp
[ 5] 0.00-10.00 sec 1.10 GBytes 941 Mbits/sec receiver
Fedora 29 and Fedora 33
Virtio Drivers: are same modules for both.
Fedora29 kernel version: $kernel=4.18.16-300.fc29.x86_64
Fedora33 kernel version: $kernel=5.8.15-301.fc33.x86_64
[root@fedoraXX-test ~]# lsinitrd /boot/initramfs-$(uname -r).img | grep virtio
usr/lib/modules/$kernel/kernel/drivers/block/virtio_blk.ko.xz
usr/lib/modules/$kernel/kernel/drivers/char/virtio_console.ko.xz
usr/lib/modules/$kernel/kernel/drivers/net/virtio_net.ko.xz
usr/lib/modules/$kernel/kernel/drivers/scsi/virtio_scsi.ko.xz
Fedora33 kernel version: $kernel=5.8.15-301.fc33.x86_64
[root@fedoraXX-test ~]# lsinitrd /boot/initramfs-$(uname -r).img | grep virtio
usr/lib/modules/$kernel/kernel/drivers/block/virtio_blk.ko.xz
usr/lib/modules/$kernel/kernel/drivers/char/virtio_console.ko.xz
usr/lib/modules/$kernel/kernel/drivers/net/virtio_net.ko.xz
usr/lib/modules/$kernel/kernel/drivers/scsi/virtio_scsi.ko.xz
File WritingTest: are similar for both
[root@fedoraXX-test ~]# iperf3 -s -p 5003 -F /tmp/iperf.tmp
-----------------------------------------------------------
Server listening on 5003
-----------------------------------------------------------
Accepted connection from 192.168.200.38, port 34452
[ 5] local 192.168.200.198 port 5003 connected to 192.168.200.38 port 34460
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 108 MBytes 905 Mbits/sec
[ 5] 1.00-2.00 sec 112 MBytes 941 Mbits/sec
...
[ 5] 9.00-10.00 sec 112 MBytes 941 Mbits/sec
[ 5] 10.00-10.04 sec 4.48 MBytes 923 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
Sent 1.10 GByte / 1.10 GByte (100%) of /tmp/iperf.tmp
[ 5] 0.00-10.04 sec 1.10 GBytes 938 Mbits/sec receiver
-----------------------------------------------------------
Server listening on 5003
-----------------------------------------------------------
Accepted connection from 192.168.200.38, port 34452
[ 5] local 192.168.200.198 port 5003 connected to 192.168.200.38 port 34460
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 108 MBytes 905 Mbits/sec
[ 5] 1.00-2.00 sec 112 MBytes 941 Mbits/sec
...
[ 5] 9.00-10.00 sec 112 MBytes 941 Mbits/sec
[ 5] 10.00-10.04 sec 4.48 MBytes 923 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
Sent 1.10 GByte / 1.10 GByte (100%) of /tmp/iperf.tmp
[ 5] 0.00-10.04 sec 1.10 GBytes 938 Mbits/sec receiver
Rocky Linux 8
Virtio Drivers:
[root@rocky8-test ~]# lsinitrd /boot/initramfs-$(uname -r).img | grep virtio
-rw-r--r-- 1 root root 9228 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/block/virtio_blk.ko.xz
-rw-r--r-- 1 root root 15488 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/char/virtio_console.ko.xz
drwxr-xr-x 2 root root 0 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/gpu/drm/virtio
-rw-r--r-- 1 root root 32056 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/gpu/drm/virtio/virtio-gpu.ko.xz
-rw-r--r-- 1 root root 27628 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/net/virtio_net.ko.xz
-rw-r--r-- 1 root root 8812 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/scsi/virtio_scsi.ko.xz
drwxr-xr-x 2 root root 0 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/virtio
-rw-r--r-- 1 root root 15292 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/virtio/virtio_mem.ko.xz
-rw-r--r-- 1 root root 4564 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/virtio/virtio_vdpa.ko.xz
-rw-r--r-- 1 root root 13196 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/fs/fuse/virtiofs.ko.xz
[root@rocky8-test ~]# grep -i virtio /boot/config-$(uname -r)
CONFIG_BLK_MQ_VIRTIO=y
CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO_VSOCKETS_COMMON=m
# CONFIG_BT_VIRTIO is not set
CONFIG_VIRTIO_BLK=m
# CONFIG_VIRTIO_BLK_SCSI is not set
CONFIG_SCSI_VIRTIO=m
CONFIG_VIRTIO_NET=m
CONFIG_VIRTIO_CONSOLE=m
CONFIG_HW_RANDOM_VIRTIO=y
CONFIG_DRM_VIRTIO_GPU=m
CONFIG_SND_VIRTIO=m
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI_LIB=y
CONFIG_VIRTIO_MENU=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_VDPA=m
CONFIG_VIRTIO_BALLOON=m
CONFIG_VIRTIO_MEM=m
CONFIG_VIRTIO_INPUT=m
# CONFIG_VIRTIO_MMIO is not set
# CONFIG_VIRTIO_IOMMU is not set
# CONFIG_RPMSG_VIRTIO is not set
CONFIG_VIRTIO_FS=m
# CONFIG_CRYPTO_DEV_VIRTIO is not set
-rw-r--r-- 1 root root 9228 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/block/virtio_blk.ko.xz
-rw-r--r-- 1 root root 15488 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/char/virtio_console.ko.xz
drwxr-xr-x 2 root root 0 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/gpu/drm/virtio
-rw-r--r-- 1 root root 32056 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/gpu/drm/virtio/virtio-gpu.ko.xz
-rw-r--r-- 1 root root 27628 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/net/virtio_net.ko.xz
-rw-r--r-- 1 root root 8812 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/scsi/virtio_scsi.ko.xz
drwxr-xr-x 2 root root 0 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/virtio
-rw-r--r-- 1 root root 15292 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/virtio/virtio_mem.ko.xz
-rw-r--r-- 1 root root 4564 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/drivers/virtio/virtio_vdpa.ko.xz
-rw-r--r-- 1 root root 13196 Jan 15 2024 usr/lib/modules/4.18.0-553.el8_10.x86_64/kernel/fs/fuse/virtiofs.ko.xz
[root@rocky8-test ~]# grep -i virtio /boot/config-$(uname -r)
CONFIG_BLK_MQ_VIRTIO=y
CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO_VSOCKETS_COMMON=m
# CONFIG_BT_VIRTIO is not set
CONFIG_VIRTIO_BLK=m
# CONFIG_VIRTIO_BLK_SCSI is not set
CONFIG_SCSI_VIRTIO=m
CONFIG_VIRTIO_NET=m
CONFIG_VIRTIO_CONSOLE=m
CONFIG_HW_RANDOM_VIRTIO=y
CONFIG_DRM_VIRTIO_GPU=m
CONFIG_SND_VIRTIO=m
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI_LIB=y
CONFIG_VIRTIO_MENU=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_VDPA=m
CONFIG_VIRTIO_BALLOON=m
CONFIG_VIRTIO_MEM=m
CONFIG_VIRTIO_INPUT=m
# CONFIG_VIRTIO_MMIO is not set
# CONFIG_VIRTIO_IOMMU is not set
# CONFIG_RPMSG_VIRTIO is not set
CONFIG_VIRTIO_FS=m
# CONFIG_CRYPTO_DEV_VIRTIO is not set
File WritingTest:
[root@rocky8-test ~]# iperf3 -s -p 5003 -F /tmp/iperf.tmp
-----------------------------------------------------------
Server listening on 5003
-----------------------------------------------------------
Accepted connection from 192.168.200.38, port 47280
[ 5] local 192.168.200.200 port 5003 connected to 192.168.200.38 port 47288
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.01 sec 46.0 MBytes 383 Mbits/sec
[ 5] 1.01-2.00 sec 51.2 MBytes 431 Mbits/sec
[ 5] 2.00-3.01 sec 46.2 MBytes 387 Mbits/sec
[ 5] 3.01-4.00 sec 49.6 MBytes 418 Mbits/sec
[ 5] 4.00-5.01 sec 50.0 MBytes 419 Mbits/sec
[ 5] 5.01-6.00 sec 49.2 MBytes 414 Mbits/sec
[ 5] 6.00-7.00 sec 60.2 MBytes 507 Mbits/sec
[ 5] 7.00-8.00 sec 64.0 MBytes 536 Mbits/sec
[ 5] 8.00-9.00 sec 66.2 MBytes 556 Mbits/sec
[ 5] 9.00-10.00 sec 69.4 MBytes 582 Mbits/sec
[ 5] 10.00-10.04 sec 3.00 MBytes 662 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
Sent 555 MByte / 555 MByte (100%) of /tmp/iperf.tmp
[ 5] 0.00-10.04 sec 555 MBytes 464 Mbits/sec receiver
-----------------------------------------------------------
Server listening on 5003
-----------------------------------------------------------
Accepted connection from 192.168.200.38, port 47280
[ 5] local 192.168.200.200 port 5003 connected to 192.168.200.38 port 47288
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.01 sec 46.0 MBytes 383 Mbits/sec
[ 5] 1.01-2.00 sec 51.2 MBytes 431 Mbits/sec
[ 5] 2.00-3.01 sec 46.2 MBytes 387 Mbits/sec
[ 5] 3.01-4.00 sec 49.6 MBytes 418 Mbits/sec
[ 5] 4.00-5.01 sec 50.0 MBytes 419 Mbits/sec
[ 5] 5.01-6.00 sec 49.2 MBytes 414 Mbits/sec
[ 5] 6.00-7.00 sec 60.2 MBytes 507 Mbits/sec
[ 5] 7.00-8.00 sec 64.0 MBytes 536 Mbits/sec
[ 5] 8.00-9.00 sec 66.2 MBytes 556 Mbits/sec
[ 5] 9.00-10.00 sec 69.4 MBytes 582 Mbits/sec
[ 5] 10.00-10.04 sec 3.00 MBytes 662 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
Sent 555 MByte / 555 MByte (100%) of /tmp/iperf.tmp
[ 5] 0.00-10.04 sec 555 MBytes 464 Mbits/sec receiver
Rocky Linux 9
Virtio Drivers:
[root@rocky9-test ~]# lsinitrd /boot/initramfs-$(uname -r).img | grep virtio
virtiofs
-rwxr-xr-x 1 root root 208 Jun 19 2022 usr/lib/dracut/hooks/cmdline/95-parse-virtiofs.sh
-rwxr-xr-x 1 root root 637 Jun 19 2022 usr/lib/dracut/hooks/pre-mount/99-mount-virtiofs.sh
-rw-r--r-- 1 root root 16016 Nov 2 23:24 usr/lib/modules/5.14.0-503.14.1.el9_5.x86_64/kernel/drivers/block/virtio_blk.ko.xz
-rw-r--r-- 1 root root 18580 Nov 2 23:24 usr/lib/modules/5.14.0-503.14.1.el9_5.x86_64/kernel/drivers/char/virtio_console.ko.xz
-rw-r--r-- 1 root root 39656 Nov 2 23:24 usr/lib/modules/5.14.0-503.14.1.el9_5.x86_64/kernel/drivers/net/virtio_net.ko.xz
-rw-r--r-- 1 root root 11468 Nov 2 23:24 usr/lib/modules/5.14.0-503.14.1.el9_5.x86_64/kernel/drivers/scsi/virtio_scsi.ko.xz
drwxr-xr-x 2 root root 0 Nov 2 23:24 usr/lib/modules/5.14.0-503.14.1.el9_5.x86_64/kernel/drivers/virtio
-rw-r--r-- 1 root root 19836 Nov 2 23:24 usr/lib/modules/5.14.0-503.14.1.el9_5.x86_64/kernel/drivers/virtio/virtio_mem.ko.xz
[root@rocky9-test ~]# grep -i virtio /boot/config-$(uname -r)
CONFIG_BLK_MQ_VIRTIO=y
CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO_VSOCKETS_COMMON=m
# CONFIG_BT_VIRTIO is not set
CONFIG_VIRTIO_BLK=m
CONFIG_SCSI_VIRTIO=m
CONFIG_VIRTIO_NET=m
CONFIG_VIRTIO_CONSOLE=m
CONFIG_HW_RANDOM_VIRTIO=y
# CONFIG_I2C_VIRTIO is not set
# CONFIG_GPIO_VIRTIO is not set
CONFIG_DRM_VIRTIO_GPU=m
CONFIG_DRM_VIRTIO_GPU_KMS=y
CONFIG_SND_VIRTIO=m
CONFIG_VIRTIO_ANCHOR=y
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI_LIB=y
CONFIG_VIRTIO_PCI_LIB_LEGACY=y
CONFIG_VIRTIO_MENU=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_VDPA=m
# CONFIG_VIRTIO_PMEM is not set
CONFIG_VIRTIO_BALLOON=m
CONFIG_VIRTIO_MEM=m
CONFIG_VIRTIO_INPUT=m
# CONFIG_VIRTIO_MMIO is not set
CONFIG_VIRTIO_DMA_SHARED_BUFFER=m
# CONFIG_XEN_VIRTIO is not set
CONFIG_VIRTIO_IOMMU=y
# CONFIG_RPMSG_VIRTIO is not set
CONFIG_VIRTIO_FS=m
# CONFIG_CRYPTO_DEV_VIRTIO is not set
virtiofs
-rwxr-xr-x 1 root root 208 Jun 19 2022 usr/lib/dracut/hooks/cmdline/95-parse-virtiofs.sh
-rwxr-xr-x 1 root root 637 Jun 19 2022 usr/lib/dracut/hooks/pre-mount/99-mount-virtiofs.sh
-rw-r--r-- 1 root root 16016 Nov 2 23:24 usr/lib/modules/5.14.0-503.14.1.el9_5.x86_64/kernel/drivers/block/virtio_blk.ko.xz
-rw-r--r-- 1 root root 18580 Nov 2 23:24 usr/lib/modules/5.14.0-503.14.1.el9_5.x86_64/kernel/drivers/char/virtio_console.ko.xz
-rw-r--r-- 1 root root 39656 Nov 2 23:24 usr/lib/modules/5.14.0-503.14.1.el9_5.x86_64/kernel/drivers/net/virtio_net.ko.xz
-rw-r--r-- 1 root root 11468 Nov 2 23:24 usr/lib/modules/5.14.0-503.14.1.el9_5.x86_64/kernel/drivers/scsi/virtio_scsi.ko.xz
drwxr-xr-x 2 root root 0 Nov 2 23:24 usr/lib/modules/5.14.0-503.14.1.el9_5.x86_64/kernel/drivers/virtio
-rw-r--r-- 1 root root 19836 Nov 2 23:24 usr/lib/modules/5.14.0-503.14.1.el9_5.x86_64/kernel/drivers/virtio/virtio_mem.ko.xz
[root@rocky9-test ~]# grep -i virtio /boot/config-$(uname -r)
CONFIG_BLK_MQ_VIRTIO=y
CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO_VSOCKETS_COMMON=m
# CONFIG_BT_VIRTIO is not set
CONFIG_VIRTIO_BLK=m
CONFIG_SCSI_VIRTIO=m
CONFIG_VIRTIO_NET=m
CONFIG_VIRTIO_CONSOLE=m
CONFIG_HW_RANDOM_VIRTIO=y
# CONFIG_I2C_VIRTIO is not set
# CONFIG_GPIO_VIRTIO is not set
CONFIG_DRM_VIRTIO_GPU=m
CONFIG_DRM_VIRTIO_GPU_KMS=y
CONFIG_SND_VIRTIO=m
CONFIG_VIRTIO_ANCHOR=y
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI_LIB=y
CONFIG_VIRTIO_PCI_LIB_LEGACY=y
CONFIG_VIRTIO_MENU=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_VDPA=m
# CONFIG_VIRTIO_PMEM is not set
CONFIG_VIRTIO_BALLOON=m
CONFIG_VIRTIO_MEM=m
CONFIG_VIRTIO_INPUT=m
# CONFIG_VIRTIO_MMIO is not set
CONFIG_VIRTIO_DMA_SHARED_BUFFER=m
# CONFIG_XEN_VIRTIO is not set
CONFIG_VIRTIO_IOMMU=y
# CONFIG_RPMSG_VIRTIO is not set
CONFIG_VIRTIO_FS=m
# CONFIG_CRYPTO_DEV_VIRTIO is not set
File WritingTest:
[root@rocky9-test ~]# iperf3 -s -p 5003 -F /tmp/iperf.tmp
-----------------------------------------------------------
Server listening on 5003
-----------------------------------------------------------
Accepted connection from 192.168.200.38, port 56994
[ 5] local 192.168.200.201 port 5003 connected to 192.168.200.38 port 57008
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 77.5 MBytes 649 Mbits/sec
[ 5] 1.00-2.00 sec 70.9 MBytes 594 Mbits/sec
[ 5] 2.00-3.00 sec 76.8 MBytes 643 Mbits/sec
[ 5] 3.00-4.00 sec 79.4 MBytes 666 Mbits/sec
[ 5] 4.00-5.00 sec 70.4 MBytes 589 Mbits/sec
[ 5] 5.00-6.00 sec 78.9 MBytes 663 Mbits/sec
[ 5] 6.00-7.00 sec 60.6 MBytes 508 Mbits/sec
[ 5] 7.00-8.00 sec 55.9 MBytes 469 Mbits/sec
[ 5] 8.00-9.00 sec 61.2 MBytes 514 Mbits/sec
[ 5] 9.00-10.00 sec 47.9 MBytes 402 Mbits/sec
[ 5] 10.00-10.04 sec 1.75 MBytes 362 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
Sent 681 MByte / 681 MByte (100%) of /tmp/iperf.tmp
[ 5] 0.00-10.04 sec 681 MBytes 569 Mbits/sec receiver
-----------------------------------------------------------
Server listening on 5003
-----------------------------------------------------------
Accepted connection from 192.168.200.38, port 56994
[ 5] local 192.168.200.201 port 5003 connected to 192.168.200.38 port 57008
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 77.5 MBytes 649 Mbits/sec
[ 5] 1.00-2.00 sec 70.9 MBytes 594 Mbits/sec
[ 5] 2.00-3.00 sec 76.8 MBytes 643 Mbits/sec
[ 5] 3.00-4.00 sec 79.4 MBytes 666 Mbits/sec
[ 5] 4.00-5.00 sec 70.4 MBytes 589 Mbits/sec
[ 5] 5.00-6.00 sec 78.9 MBytes 663 Mbits/sec
[ 5] 6.00-7.00 sec 60.6 MBytes 508 Mbits/sec
[ 5] 7.00-8.00 sec 55.9 MBytes 469 Mbits/sec
[ 5] 8.00-9.00 sec 61.2 MBytes 514 Mbits/sec
[ 5] 9.00-10.00 sec 47.9 MBytes 402 Mbits/sec
[ 5] 10.00-10.04 sec 1.75 MBytes 362 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
Sent 681 MByte / 681 MByte (100%) of /tmp/iperf.tmp
[ 5] 0.00-10.04 sec 681 MBytes 569 Mbits/sec receiver
Red Hat 8
Virtio Drivers:
[root@redhat8-test ~]# lsinitrd /boot/initramfs-$(uname -r).img | grep virtio
-rw-r--r-- 1 root root 8996 Sep 20 2021 usr/lib/modules/4.18.0-348.el8.x86_64/kernel/drivers/block/virtio_blk.ko.xz
-rw-r--r-- 1 root root 14856 Sep 20 2021 usr/lib/modules/4.18.0-348.el8.x86_64/kernel/drivers/char/virtio_console.ko.xz
-rw-r--r-- 1 root root 25644 Sep 20 2021 usr/lib/modules/4.18.0-348.el8.x86_64/kernel/drivers/net/virtio_net.ko.xz
-rw-r--r-- 1 root root 8624 Sep 20 2021 usr/lib/modules/4.18.0-348.el8.x86_64/kernel/drivers/scsi/virtio_scsi.ko.xz
[root@redhat8-test ~]# grep -i virtio /boot/config-$(uname -r)
CONFIG_BLK_MQ_VIRTIO=y
CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO_VSOCKETS_COMMON=m
CONFIG_VIRTIO_BLK=m
# CONFIG_VIRTIO_BLK_SCSI is not set
CONFIG_SCSI_VIRTIO=m
CONFIG_VIRTIO_NET=m
CONFIG_VIRTIO_CONSOLE=m
CONFIG_HW_RANDOM_VIRTIO=y
CONFIG_DRM_VIRTIO_GPU=m
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI_LIB=y
CONFIG_VIRTIO_MENU=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_VDPA=m
CONFIG_VIRTIO_BALLOON=m
CONFIG_VIRTIO_INPUT=m
# CONFIG_VIRTIO_MMIO is not set
# CONFIG_RPMSG_VIRTIO is not set
CONFIG_VIRTIO_FS=m
# CONFIG_CRYPTO_DEV_VIRTIO is not set
-rw-r--r-- 1 root root 8996 Sep 20 2021 usr/lib/modules/4.18.0-348.el8.x86_64/kernel/drivers/block/virtio_blk.ko.xz
-rw-r--r-- 1 root root 14856 Sep 20 2021 usr/lib/modules/4.18.0-348.el8.x86_64/kernel/drivers/char/virtio_console.ko.xz
-rw-r--r-- 1 root root 25644 Sep 20 2021 usr/lib/modules/4.18.0-348.el8.x86_64/kernel/drivers/net/virtio_net.ko.xz
-rw-r--r-- 1 root root 8624 Sep 20 2021 usr/lib/modules/4.18.0-348.el8.x86_64/kernel/drivers/scsi/virtio_scsi.ko.xz
[root@redhat8-test ~]# grep -i virtio /boot/config-$(uname -r)
CONFIG_BLK_MQ_VIRTIO=y
CONFIG_VIRTIO_VSOCKETS=m
CONFIG_VIRTIO_VSOCKETS_COMMON=m
CONFIG_VIRTIO_BLK=m
# CONFIG_VIRTIO_BLK_SCSI is not set
CONFIG_SCSI_VIRTIO=m
CONFIG_VIRTIO_NET=m
CONFIG_VIRTIO_CONSOLE=m
CONFIG_HW_RANDOM_VIRTIO=y
CONFIG_DRM_VIRTIO_GPU=m
CONFIG_VIRTIO=y
CONFIG_VIRTIO_PCI_LIB=y
CONFIG_VIRTIO_MENU=y
CONFIG_VIRTIO_PCI=y
CONFIG_VIRTIO_PCI_LEGACY=y
CONFIG_VIRTIO_VDPA=m
CONFIG_VIRTIO_BALLOON=m
CONFIG_VIRTIO_INPUT=m
# CONFIG_VIRTIO_MMIO is not set
# CONFIG_RPMSG_VIRTIO is not set
CONFIG_VIRTIO_FS=m
# CONFIG_CRYPTO_DEV_VIRTIO is not set
File WritingTest:
[root@redhat8-test ~]# iperf3 -s -p 5003 -F /tmp/iperf.tmp
-----------------------------------------------------------
Server listening on 5003
-----------------------------------------------------------
Accepted connection from 192.168.200.38, port 44124
[ 5] local 192.168.200.203 port 5003 connected to 192.168.200.38 port 44136
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 55.0 MBytes 460 Mbits/sec
[ 5] 1.00-2.00 sec 55.1 MBytes 463 Mbits/sec
[ 5] 2.00-3.00 sec 48.0 MBytes 402 Mbits/sec
[ 5] 3.00-4.00 sec 55.8 MBytes 468 Mbits/sec
[ 5] 4.00-5.00 sec 57.6 MBytes 484 Mbits/sec
[ 5] 5.00-6.00 sec 57.6 MBytes 483 Mbits/sec
[ 5] 6.00-7.01 sec 55.9 MBytes 468 Mbits/sec
[ 5] 7.01-8.00 sec 56.9 MBytes 478 Mbits/sec
[ 5] 8.00-9.00 sec 51.1 MBytes 428 Mbits/sec
[ 5] 9.00-10.01 sec 48.6 MBytes 406 Mbits/sec
[ 5] 10.01-10.04 sec 1.12 MBytes 295 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
Sent 543 MByte / 543 MByte (100%) of /tmp/iperf.tmp
[ 5] 0.00-10.04 sec 543 MBytes 454 Mbits/sec receiver
-----------------------------------------------------------
Server listening on 5003
-----------------------------------------------------------
Accepted connection from 192.168.200.38, port 44124
[ 5] local 192.168.200.203 port 5003 connected to 192.168.200.38 port 44136
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 55.0 MBytes 460 Mbits/sec
[ 5] 1.00-2.00 sec 55.1 MBytes 463 Mbits/sec
[ 5] 2.00-3.00 sec 48.0 MBytes 402 Mbits/sec
[ 5] 3.00-4.00 sec 55.8 MBytes 468 Mbits/sec
[ 5] 4.00-5.00 sec 57.6 MBytes 484 Mbits/sec
[ 5] 5.00-6.00 sec 57.6 MBytes 483 Mbits/sec
[ 5] 6.00-7.01 sec 55.9 MBytes 468 Mbits/sec
[ 5] 7.01-8.00 sec 56.9 MBytes 478 Mbits/sec
[ 5] 8.00-9.00 sec 51.1 MBytes 428 Mbits/sec
[ 5] 9.00-10.01 sec 48.6 MBytes 406 Mbits/sec
[ 5] 10.01-10.04 sec 1.12 MBytes 295 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
Sent 543 MByte / 543 MByte (100%) of /tmp/iperf.tmp
[ 5] 0.00-10.04 sec 543 MBytes 454 Mbits/sec receiver
I suspect that it must be a problem with the virtio scsi drivers, which, according to what I have read, are included in the kernel. But this topic is a bit beyond my knowledge.
I would like to thank you in advance for any clues you can give me.
Regards