Good Afternoon,
I recently built a new server and installed Proxmox on it. Unfortunately I noticed that I am seeing some pretty low disk write speeds inside of VMs running on a 512GB Intel 660p NVMe SSD. Proxmox itself is not installed on this SSD, it is only used for VM OS disks. I've added this SSD to Proxmox as type LVM.
Proxmox Version:
pve-manager/6.1-3/37248ce6 (running kernel: 5.3.10-1-pve)
Speeds outside of a VM look great:
root@proxmox1:~# sync; dd if=/dev/zero of=/mnt/tmp/tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.447218 s, 2.4 GB/s
Speeds inside of a VM are not however:
root@nas:~# sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 8.24745 s, 130 MB/s
This disk is added to the VM using virtio scsi, discard and SSD emulation enabled. This same VM also has a disk residing on a RAID10 HDD array:
root@nas:~# sync; dd if=/dev/zero of=/home/user/NAS/tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.69699 s, 633 MB/s
Speeds here are much better. This also uses virtio scsi but no discard or SSD emulation.
Any help would be appreciated.
Thanks,
Vedeyn
I recently built a new server and installed Proxmox on it. Unfortunately I noticed that I am seeing some pretty low disk write speeds inside of VMs running on a 512GB Intel 660p NVMe SSD. Proxmox itself is not installed on this SSD, it is only used for VM OS disks. I've added this SSD to Proxmox as type LVM.
Proxmox Version:
pve-manager/6.1-3/37248ce6 (running kernel: 5.3.10-1-pve)
Speeds outside of a VM look great:
root@proxmox1:~# sync; dd if=/dev/zero of=/mnt/tmp/tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.447218 s, 2.4 GB/s
Speeds inside of a VM are not however:
root@nas:~# sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 8.24745 s, 130 MB/s
This disk is added to the VM using virtio scsi, discard and SSD emulation enabled. This same VM also has a disk residing on a RAID10 HDD array:
root@nas:~# sync; dd if=/dev/zero of=/home/user/NAS/tempfile bs=1M count=1024; sync
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.69699 s, 633 MB/s
Speeds here are much better. This also uses virtio scsi but no discard or SSD emulation.
Any help would be appreciated.
Thanks,
Vedeyn