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.

VM Share performance

Featured Replies

Im running a Linux (PopOS) VM on my Unraid server and have noticed a large performance difference between shares and vdisks.

 

The vdisk is passed to the VM as follows:

<disk type='file' device='disk'>
  <driver name='qemu' type='raw' cache='writeback'/>
  <source file='<path_to_the_vdisk>' index='2'/>
  <backingStore/>
  <target dev='hdc' bus='virtio'/>
  <boot order='1'/>
  <alias name='virtio-disk2'/>
  <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</disk>

Note: The vdisk is stored on the array (not the cache drive)

 

Shares are passed to the VM as follows:

<filesystem type='mount' accessmode='passthrough'>
  <source dir='<path_to_the_share>'/>
  <target dir='<share_name>'/>
  <alias name='<share_alias>'/>
  <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</filesystem>

And then mounted with fstab like:

<share_name> <path_inside_vm> 9p trans=virtio,version=9p2000.L,_netdev,rw 0 0

Note: The share has caching set to "Yes".

 

Drive info:

Array: 2x Samsung 870 EVO 4TB (one for parity)

Array file system: xfs

Cache: Samsung 970 EvO Plus 1TB

Cache file system: btrfs

 

I tested the read and write speeds by copying a large file. Here are my results.

share -> share: 27 MB/s

vdisk -> vdisk: 600 MB/s

share -> vdisk: 56 MB/s

vdisk -> share: 48 MB/s

 

Why is the share performance so much worse than the vdisk performance? Do you have any suggestions on how to get better share performance?

 

 

  • 3 weeks later...

Did you find anything out? My performance is terrible. I get about 12mb/s trough the share which has normally about 150mb/s. Whats wrong here?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.