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.

OS X & Win 10 vm slow network performance? Or slow read/write on cache drive?

Featured Replies

OK.

 

Very new to all this. Learning how it all works.

 

Win 10 vm transfers about 115+MBps to and from NAS or any other device on the network.

 

OS X el Capitan vm transfers about 30-40MBps to and from NAS or any other device on the network.

 

Both use same br0 to access network.

 

Thoughts about why? Is this normal with OS x in a vm?

 

Hardware: DL380 G6

 

xml is as follows:

 

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
  <name>OSX-El-Capitan-10.11-VNC</name>
  <uuid>0ba39646-7ba1-4d41-9602-e2968b2fe36d</uuid>
  <metadata>
    <type>None</type>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <vcpu placement='static'>15</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='1'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='3'/>
    <vcpupin vcpu='4' cpuset='4'/>
    <vcpupin vcpu='5' cpuset='5'/>
    <vcpupin vcpu='6' cpuset='6'/>
    <vcpupin vcpu='7' cpuset='7'/>
    <vcpupin vcpu='8' cpuset='8'/>
    <vcpupin vcpu='9' cpuset='9'/>
    <vcpupin vcpu='10' cpuset='10'/>
    <vcpupin vcpu='11' cpuset='12'/>
    <vcpupin vcpu='12' cpuset='13'/>
    <vcpupin vcpu='13' cpuset='14'/>
    <vcpupin vcpu='14' cpuset='15'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-q35-2.3'>hvm</type>
    <kernel>/mnt/disk1/vm_files/enoch_rev2795_boot</kernel>
    <boot dev='cdrom'/>
    <bootmenu enable='yes'/>
  </os>
  <features>
    <acpi/>
  </features>
  <cpu mode='custom' match='exact'>
    <model fallback='allow'>core2duo</model>
  </cpu>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/disk1/vm_files/ElCapitan.dmg'/>
      <target dev='hda' bus='sata'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <controller type='usb' index='0'>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
    </controller>
    <controller type='sata' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pcie-root'/>
    <controller type='pci' index='1' model='dmi-to-pci-bridge'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
    </controller>
    <controller type='pci' index='2' model='pci-bridge'>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='don't worry about it'/>
      <source bridge='br0'/>
      <model type='e1000-82545em'/>
      <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
    </interface>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='vmvga' vram='16384' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
    </video>
    <memballoon model='none'/>
  </devices>
  <seclabel type='none' model='none'/>
  <qemu:commandline>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-kbd'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='usb-mouse'/>
    <qemu:arg value='-device'/>
    <qemu:arg value='isa-applesmc,osk=MUAHAHAHAHA, I OWN LIKE 17 MACS SO THIS SHOULD BE OK!!!'/>
    <qemu:arg value='-smbios'/>
    <qemu:arg value='type=2'/>
  </qemu:commandline>
</domain>

Does OSX detect the virtual ethernet as 1GBit?

  • Author

Yes, it shows gigabit in network utility. I even tried changing network>hardware from auto to 1000baseT to ensure that wasn't a problem, but no difference in speed.

 

Displayed transfer speed in the vm increase slightly when sending files to and from the cache disk where the vm is stored but seem to fluctuate more wildly dipping as low as 4-6MBps.

 

---update

I was reading that at times you can't trust the listed speeds in the vm, so watching them via unRaid shows huge swings when writing to cache or NAS.

 

I've attached screenshots from a 3.75GB files transfers.

 

When going from NAS to OS X vm, it appears to receive data (not at full gigabit speed) then pause receiving and write to the cache disk.

 

When transferring data from the vm to cache and back, the same write cycle appears.

 

The ssd I'm using is connected to the DL380's dvd sata port since unraid doesn't recognize the p4xxx raid card in the machine (i'm waiting to get a new controller soon.)

 

Maybe just a bad install?

 

I'll do some win 10 transfers with the same file and post them up in a while for comparison.

NAS_to_OSX_VM.png.76ab3afd331fa120750cd2e62c358019.png

VM_OSX_to_NAS.png.124a089b92a006ce289bc51179658a4e.png

vm_osx_to_cache.png.38e599440841bc3f72defc2df17ac945.png

cache_to_osx_vm.png.ddeb188a7f624d11885a9bcfb7f8102b.png

  • Author

So now the win 10 vm is acting up. :o

 

It cycles writes to the virtual disk just like  the OS X vm, but not when sending to the Nas.

 

So am I hitting some sort of network or write buffer on the machine or unRaid software? The ssd is maybe 2 months old and seems to be fine so I'm not sure that is the issue.

 

CPU usage never hits above 20% except for the random peak. I have 24GB of ram, each machine has 8-10GB but aren't on at the same time leaving 14-18 free/cached.

 

.....

win_10_to_nas.png.e74d05c73adcebb71e8affd7a8a3e13c.png

nas_to_win_10.png.1c3aec8d399b7d1d9caa2d849bb3edbd.png

win_10_vm_to_cache.png.f4cccfd0b6050579cb25c1eea221f56d.png

cache_to_win_10_vm.png.03be60229bc499215df87f64024f1679.png

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.