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.

CPU Performances on W10 VM

Featured Replies

Hi,

 

I've been using unraid (6.3.2) for a few months, and so far, it's all love. 

 

Recently, I bought a graphic card (RX480) in order to make myself a casual gaming VM as featured in so many places (ltt and so on). Something I didn't notice while doing productive work (docker container + some IDE on a debian VM) is that I seem to lose a lot of my CPU performances while in a VM, 16% to be precise.

 

Indeed, for CPU Single Thread I score 393 (average of three tests with nothing else running) while the reference for my processor is 474 according to CPU-Z. The CPU multi-thread test is irrelevant as not all the cores are linked to the VM. 

 

I've followed other posts in this forum to improve the performances for W10 and came up with the following configurations:

 

<name>Windows 10</name>
  <uuid>d560712f-74e7-e728-d16e-7f42e6209349</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
  </metadata>
  <memory unit='KiB'>20971520</memory>
  <currentMemory unit='KiB'>20971520</currentMemory>
  <memoryBacking>
    <nosharepages/>
    <locked/>
  </memoryBacking>
  <vcpu placement='static'>6</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='3'/>
    <vcpupin vcpu='1' cpuset='7'/>
    <vcpupin vcpu='2' cpuset='2'/>
    <vcpupin vcpu='3' cpuset='6'/>
    <vcpupin vcpu='4' cpuset='1'/>
    <vcpupin vcpu='5' cpuset='5'/>
    <emulatorpin cpuset='0,4'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.5'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/d560712f-74e7-e728-d16e-7f42e6209349_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vendor id='none'/>
    </hyperv>
  </features>
  <cpu mode='host-passthrough'>
    <topology sockets='1' cores='3' threads='2'/>
  </cpu>
  <clock offset='localtime'>
    <timer name='hypervclock' present='yes'/>
    <timer name='hpet' present='no'/>
  </clock>

 

Is there something you would change in order to have a more negligible loss (~5%)? 

 

Thanks,

M.

Untitled.png

Edited by mathieuNls

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.