[SOLVED] Low disk performance in windows vm on optane

mbosma

Well-Known Member
Dec 3, 2018
120
21
58
29
Hi,

I've been doing some pre-production testing on my home server and ran into some kind of bottleneck with my storage performance, most notably on my optane drive.

When I install a Windows vm with the latest VirtIO drivers the performance is kinda dissapointing.
I've tried switching over from VirtIO to VirtIO SCSI and tried numerous different options.
Using LVM or ZFS does not give any different results either.

Finally I tried the same with a ramdisk, these gave me similar results to the optane disk.
Creating a ramdisk inside the Windows vm gave me way better low queuedepth performance than the one on the host.

It seems like there's some bottleneck in the virtualization layer.
Switching systems did yield different result from the first system, though the performance stayed the same over different settings on that server.

Has anybody had the same experience?

Here's the setups for the two systems I've done testing on:

System 1:
Supermicro a2sdi-h-tf
Intel Atom c3758
4x 16gb 2400mhz samsung ddr4 reg
Optane 900p 480gb
Intel Optane M10 16gb
4x Intel s3510 480gb
8x ST8000NM055 8tb
pve 5.3-8 (fully updated)

System2:
Asrock EP2C602-4L/D16
2x Intel Xeon 2670
8x8gb kingston 1600mhz ddr3 reg
8x4gb kingston 1600mhz ddr3 reg
1x Crucial mx300 1050gb
4x ST8000DM004
(Optane 900p 480gb when testing)
pve 5.3-8 (fully updated)

I've added a crystaldiskmark test in the attachements wich I ran on the first system.
c: Optane VirtIO
f: ramdisk VirtIO
h: ramdisk in vm (softperfect)
 

Attachments

  • ramtest.PNG
    ramtest.PNG
    317.3 KB · Views: 33
make kinda sense, since qemu schedules the io of the disks with the main thread, and i guess you get cpu bottlenecked by your atom/7-year old cpu
you could try to enable 'iothreads' (do not forget to change the scsi controller to virtio-scsi-single) and see if the result improves
 
I was afraid that is indeed the issue.
Enabling 'iothreads' did not help much.

I'll take these speeds for granted for now since this is a fileserver + some services.

Thank you for your reply.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!