Jump to content

DarkyCage

Members
  • Posts

    19
  • Joined

  • Last visited

Posts posted by DarkyCage

  1. 6 hours ago, hot22shot said:

    @DarkyCage like ryanm91 wrote, I would try with 12-23 and 36-47 to see if there's any difference.

     

    @Mrtj18 I think that your CPUs should be powerful enough, I mean yes the 3600x is not new but 6c/12t is still relevant IMHO.

     

    Did you tried to look at what your VM CPU was doing during a benchmark, using a tool like perfmon ?

    This could tell you where the bottleneck is if any. IO for example would be a good culprit.

    I still have poor performance ;-;

  2. 1 hour ago, SimonF said:

    Which OS vers are you running.

    Is the PCI slot and the allocated CPU cores on the same NUMA node?

    Not sure if you will need to enable Hugepages to get the throughput.

    I just activated Hugepages and I still have bad performance with the GPU which is almost not usedimage.thumb.png.33fccd3cbd074196623fcad806e7d0da.png

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm' id='1'>
      <name>Windows 10</name>
      <uuid>6545ed2e-ae0f-e830-c1f1-895626f6639d</uuid>
      <metadata>
        <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
      </metadata>
      <memory unit='KiB'>16777216</memory>
      <currentMemory unit='KiB'>16777216</currentMemory>
      <memoryBacking>
        <hugepages/>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>12</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='13'/>
        <vcpupin vcpu='1' cpuset='37'/>
        <vcpupin vcpu='2' cpuset='15'/>
        <vcpupin vcpu='3' cpuset='39'/>
        <vcpupin vcpu='4' cpuset='17'/>
        <vcpupin vcpu='5' cpuset='41'/>
        <vcpupin vcpu='6' cpuset='19'/>
        <vcpupin vcpu='7' cpuset='43'/>
        <vcpupin vcpu='8' cpuset='21'/>
        <vcpupin vcpu='9' cpuset='45'/>
        <vcpupin vcpu='10' cpuset='23'/>
        <vcpupin vcpu='11' cpuset='47'/>
      </cputune>
      <resource>
        <partition>/machine</partition>
      </resource>
      <os>
        <type arch='x86_64' machine='pc-q35-7.1'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/6545ed2e-ae0f-e830-c1f1-895626f6639d_VARS-pure-efi.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
        <hyperv mode='custom'>
          <relaxed state='on'/>
          <vapic state='on'/>
          <spinlocks state='on' retries='8191'/>
          <vendor_id state='on' value='none'/>
        </hyperv>
      </features>
      <cpu mode='host-passthrough' check='none' migratable='on'>
        <topology sockets='1' dies='1' cores='6' threads='2'/>
        <cache mode='passthrough'/>
      </cpu>
      <clock offset='localtime'>
        <timer name='hypervclock' present='yes'/>
        <timer name='hpet' present='no'/>
      </clock>
      <on_poweroff>destroy</on_poweroff>
      <on_reboot>restart</on_reboot>
      <on_crash>restart</on_crash>
      <devices>
        <emulator>/usr/local/sbin/qemu</emulator>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source file='/mnt/user/domains/Windows 10/vdisk1.img' index='3'/>
          <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>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/user/isos/Windows.iso' index='2'/>
          <backingStore/>
          <target dev='hda' bus='sata'/>
          <readonly/>
          <boot order='2'/>
          <alias name='sata0-0-0'/>
          <address type='drive' controller='0' bus='0' target='0' unit='0'/>
        </disk>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/user/isos/virtio-win-0.1.225-2.iso' index='1'/>
          <backingStore/>
          <target dev='hdb' bus='sata'/>
          <readonly/>
          <alias name='sata0-0-1'/>
          <address type='drive' controller='0' bus='0' target='0' unit='1'/>
        </disk>
        <controller type='usb' index='0' model='ich9-ehci1'>
          <alias name='usb'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci1'>
          <alias name='usb'/>
          <master startport='0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci2'>
          <alias name='usb'/>
          <master startport='2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci3'>
          <alias name='usb'/>
          <master startport='4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
        </controller>
        <controller type='sata' index='0'>
          <alias name='ide'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
        </controller>
        <controller type='pci' index='0' model='pcie-root'>
          <alias name='pcie.0'/>
        </controller>
        <controller type='pci' index='1' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='1' port='0x8'/>
          <alias name='pci.1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
        </controller>
        <controller type='pci' index='2' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='2' port='0x9'/>
          <alias name='pci.2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
        </controller>
        <controller type='pci' index='3' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='3' port='0xa'/>
          <alias name='pci.3'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
        </controller>
        <controller type='pci' index='4' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='4' port='0xb'/>
          <alias name='pci.4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
        </controller>
        <controller type='pci' index='5' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='5' port='0xc'/>
          <alias name='pci.5'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
        </controller>
        <controller type='pci' index='6' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='6' port='0xd'/>
          <alias name='pci.6'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <alias name='virtio-serial0'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:ae:a6:f1'/>
          <source bridge='br0'/>
          <target dev='vnet0'/>
          <model type='virtio-net'/>
          <alias name='net0'/>
          <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
        </interface>
        <serial type='pty'>
          <source path='/dev/pts/0'/>
          <target type='isa-serial' port='0'>
            <model name='isa-serial'/>
          </target>
          <alias name='serial0'/>
        </serial>
        <console type='pty' tty='/dev/pts/0'>
          <source path='/dev/pts/0'/>
          <target type='serial' port='0'/>
          <alias name='serial0'/>
        </console>
        <channel type='unix'>
          <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-1-Windows 10/org.qemu.guest_agent.0'/>
          <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
          <alias name='channel0'/>
          <address type='virtio-serial' controller='0' bus='0' port='1'/>
        </channel>
        <input type='mouse' bus='ps2'>
          <alias name='input0'/>
        </input>
        <input type='keyboard' bus='ps2'>
          <alias name='input1'/>
        </input>
        <audio id='1' type='none'/>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x83' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev0'/>
          <rom file='/mnt/disk1/isos/vbios/m6000vbios.rom'/>
          <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x83' slot='0x00' function='0x1'/>
          </source>
          <alias name='hostdev1'/>
          <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source startupPolicy='optional'>
            <vendor id='0x04f2'/>
            <product id='0x1516'/>
            <address bus='2' device='4'/>
          </source>
          <alias name='hostdev2'/>
          <address type='usb' bus='0' port='1'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source startupPolicy='optional'>
            <vendor id='0x258a'/>
            <product id='0x1007'/>
            <address bus='2' device='3'/>
          </source>
          <alias name='hostdev3'/>
          <address type='usb' bus='0' port='2'/>
        </hostdev>
        <memballoon model='none'/>
      </devices>
      <seclabel type='dynamic' model='dac' relabel='yes'>
        <label>+0:+100</label>
        <imagelabel>+0:+100</imagelabel>
      </seclabel>
    </domain>

     

  3. 11 minutes ago, SimonF said:

    Which OS vers are you running.

    Is the PCI slot and the allocated CPU cores on the same NUMA node?

    Not sure if you will need to enable Hugepages to get the throughput.

    Hello !

    Windows 10 22H2

    And I put the M6000 on the first X16 slot so in principle it is the second NUMA Nodeimage.png.7b63f89af303876cac14b58a6e131d68.png

  4. 2 minutes ago, ryanm91 said:

    You did the pass through as multifunction device?

    The only other thing I was reading about is special hyperV options.

    I also isolated my CPU cores and pinned them to the VM so only the VM can use them.

    Sent from my SM-G996U using Tapatalk
     

    Yes I did and I disabled the hyper-v

  5. 6 minutes ago, ryanm91 said:

    Spaceinvader. I am passing a vbios I dumped from the card and an nvme stubbed through.

    The only thing I was going to revisit was doing the xml as a multifunction device for the graphics card.

    Have you watched the spaceinvader video for that edit? I was going to try that and the msifix

    Sent from my SM-G996U using Tapatalk
     

    I did exactly the same thing but without result, I also tested the three bios, and several versions of Q35 & I440fx, I tested with windows 10 & 11 but I still have the same problem and I do not understand where it can come from ;-;

  6. 19 minutes ago, ryanm91 said:

    I am experiencing the same thing. Interested to see what we learn. I have been using unRAID for 7 years and passing through my Nvidia card. Just got a 6700xt and a 165hz monitor I can't get over 70 fps in infinite. But bare metal I get 165 fps.

    Sent from my SM-G996U using Tapatalk
     

    Which tutorial did you follow ?

  7. Hello ! I am a beginner with unraid and I have a problem. When I created a gaming VM following the SpaceInvader One tutorial, I manage to launch it but when I launch at one the performances are very bad. For example on CSGO I find myself going from 250-300 FPS to 30 FPS, same on GTA I am at 15-20FPS against 60 in bare metal.

    I also noticed that my GPU was used much less with the opposite VM than with a bare metal configuration (I tested with two GPUs), for exemple on GTA my GPU is used at 99% while with the VM it is only at 15-30%

    image.thumb.png.ccc9d5cafd7c5370ef9ea1ad4e67cce5.png

     

    Config :

    2697 V2 x2

    X9DRI-LN4F+

    768GB DDR3 ECC

    M6000 24GB

    T600 4G

    Samsung 860 Evo 250GB

    image.thumb.png.f6a73512ae853550f794a7aabf9fbad3.png

     

    Thank you in advance for your help !

  8. 20 hours ago, ChatNoir said:

    Je pense qu'il y a des différences de performances suivant le type de 'Machine' que tu utilises, mais là je ne sais pas dire si le Q35 7.1 est un bon choix ou pas. 🤷🏼‍♂️

     

    Peut-être que quelqu'un d'autre sur la section francophone aurait des suggestions.

     

    Sinon, il y a la section anglophone, la partie sur le VM en particulier :

    https://forums.unraid.net/forum/51-vm-engine-kvm/

    Merci je vais aussi regarder de ce côté !

     

    59 minutes ago, hot22shot said:

    Salut,

     

    Tu as une CG en passthrough, elle est bien détectée ? Tu peux nous faire voir ton fichier XML ?

     

    Salut ! Oui elle est bien détectée dans la VM !

     

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm'>
      <name>GamingServer</name>
      <uuid>88bec6a8-8512-08b4-237f-b6cb8b50c1d3</uuid>
      <metadata>
        <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
      </metadata>
      <memory unit='KiB'>33554432</memory>
      <currentMemory unit='KiB'>33554432</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>12</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='12'/>
        <vcpupin vcpu='1' cpuset='36'/>
        <vcpupin vcpu='2' cpuset='14'/>
        <vcpupin vcpu='3' cpuset='38'/>
        <vcpupin vcpu='4' cpuset='16'/>
        <vcpupin vcpu='5' cpuset='40'/>
        <vcpupin vcpu='6' cpuset='18'/>
        <vcpupin vcpu='7' cpuset='42'/>
        <vcpupin vcpu='8' cpuset='20'/>
        <vcpupin vcpu='9' cpuset='44'/>
        <vcpupin vcpu='10' cpuset='22'/>
        <vcpupin vcpu='11' cpuset='46'/>
      </cputune>
      <os>
        <type arch='x86_64' machine='pc-q35-7.1'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/88bec6a8-8512-08b4-237f-b6cb8b50c1d3_VARS-pure-efi.fd</nvram>
        <boot dev='hd'/>
      </os>
      <features>
        <acpi/>
        <apic/>
        <hyperv mode='custom'>
          <relaxed state='on'/>
          <vapic state='on'/>
          <spinlocks state='on' retries='8191'/>
          <vendor_id state='on' value='none'/>
        </hyperv>
      </features>
      <cpu mode='host-passthrough' check='none' migratable='on'>
        <topology sockets='1' dies='1' cores='6' threads='2'/>
        <cache mode='passthrough'/>
      </cpu>
      <clock offset='localtime'>
        <timer name='hypervclock' present='yes'/>
        <timer name='hpet' present='no'/>
      </clock>
      <on_poweroff>destroy</on_poweroff>
      <on_reboot>restart</on_reboot>
      <on_crash>restart</on_crash>
      <devices>
        <emulator>/usr/local/sbin/qemu</emulator>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/user/isos/virtio-win-0.1.225-2.iso'/>
          <target dev='hdb' bus='sata'/>
          <readonly/>
          <address type='drive' controller='0' bus='0' target='0' unit='1'/>
        </disk>
        <controller type='usb' index='0' model='ich9-ehci1'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci1'>
          <master startport='0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci2'>
          <master startport='2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci3'>
          <master startport='4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
        </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='virtio-serial' index='0'>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
        </controller>
        <controller type='pci' index='1' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='1' port='0x8'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
        </controller>
        <controller type='pci' index='2' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='2' port='0x9'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
        </controller>
        <controller type='pci' index='3' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='3' port='0xa'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
        </controller>
        <controller type='pci' index='4' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='4' port='0xb'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
        </controller>
        <controller type='pci' index='5' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='5' port='0xc'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
        </controller>
        <controller type='pci' index='6' model='pcie-root-port'>
          <model name='pcie-root-port'/>
          <target chassis='6' port='0xd'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:18:67:a9'/>
          <source bridge='br0'/>
          <model type='virtio-net'/>
          <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
        </interface>
        <serial type='pty'>
          <target type='isa-serial' port='0'>
            <model name='isa-serial'/>
          </target>
        </serial>
        <console type='pty'>
          <target type='serial' port='0'/>
        </console>
        <channel type='unix'>
          <target type='virtio' name='org.qemu.guest_agent.0'/>
          <address type='virtio-serial' controller='0' bus='0' port='1'/>
        </channel>
        <input type='mouse' bus='ps2'/>
        <input type='keyboard' bus='ps2'/>
        <audio id='1' type='none'/>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x83' slot='0x00' function='0x0'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source startupPolicy='optional'>
            <vendor id='0x04f2'/>
            <product id='0x1516'/>
          </source>
          <address type='usb' bus='0' port='1'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source startupPolicy='optional'>
            <vendor id='0x258a'/>
            <product id='0x1007'/>
          </source>
          <address type='usb' bus='0' port='2'/>
        </hostdev>
        <memballoon model='none'/>
      </devices>
    </domain>

     

  9. Bonsoir !

     

    Je suis débutant avec unraid ! Et il s'avère que j'ai un petit problème avec les VM sous windows, elles se lancent et fonctionnent mais niveau performances je passe de 270 FPS sur CSGO en bare metal à 30 sur la VM et j'ai le même problème sur tous les jeux. J'ai essayé pas mal de choses mais je n'ai pas trouvé la solution ;-;

     

    Je vous remercie d'avance pour vos réponses !

×
×
  • Create New...