Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Slow write performance to SSD cache pool from windows 10 VM

Featured Replies

Guys,

 

I have 2 SSDs running as a cache pool for my docker and VMs, my VMs use qcow2 for snapshotting. My windows 10 VM is seabios, QT35, passthrough GTX 770, 12800MB Ram, and the CPU has 6 of 8 cores selected in host passthrough mode. The primary vdisk was tried at both /mnt/cache/vstorage and /mnt/user/vstorage (currently set here).

 

After a fresh install tests show me with an average of 25MB/s write, and 300-500MB/s read. I am previously familiar with kvm, so I installed lubuntu with virt-manager, and configured the primary disk to be cache mode: none and IOMode: native, this got me to 70-90 MB/s write, 300ish MB/s read.

 

I must be missing something, I can't imagine this is the performance everyone is getting, I assumed that as a vm direct on the cache drive, I would get near real speeds (minus to btrfs overhead).

 

Can anyone help me troubleshoot?

 

Thanks,

Tom

  • Community Expert

I know that the KVM documentation specifically mentions that .qcow2 virtual disks hosted on a BTRFS file system may not perform well. Not sure if there are any settings that can help with this.

  • Author

Itimpi,

 

Thanks, I never made that connection in my head, all i cared was that I had snapshots during this testing process of a win8->win10 upgrade. I am going to create a copy of the disk and convert this one to raw and see what happens.

 

Thanks,

Tom

  • Author

So after converting the image to raw, updating the xml to reflect such and starting up, still only getting 90 MB/s write. Anything else I can check, can anyone else validate their performance in a similar setup?

 

Thanks,

Tom

So after converting the image to raw, updating the xml to reflect such and starting up, still only getting 90 MB/s write. Anything else I can check, can anyone else validate their performance in a similar setup?

 

Thanks,

Tom

 

If you're familiar with virt-manager, you might want to try playing with IOThreads as that may also help.  Even with RAW image format, you're still doing this as a virtual disk (not physical), so there is a bit of overhead.  Getting full SSD performance to a virtual disk which is a filesystem inside a loopback image on top of another filesystem on top of a physical block device may not be possible.

  • Author

Jonp,

 

Thanks for the reply, I'll test IOThreads next. I was not hoping for 100% pass through speed, I was hoping for something more than 25%. I am not sure btrfs adds alot of overhead but diskspeed reports the two drives as:

 

/dev/sdb (Cache): 472 MB/sec avg

/dev/sdc: 526 MB/sec avg

 

Thanks,

Tom

  • Author

Getting better with IOThreads: 111.45 MB/s write on the vm

  • 3 months later...

did you manage to fix/improve the issue? I'm very interested on getting almost bare-metal speeds too!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.