Jump to content

sonuyos

Members
  • Posts

    68
  • Joined

  • Last visited

Posts posted by sonuyos

  1. Hi,

     

    I recently upgraded my CPU, MOBO, RAM & GPU.

     

    3700x -> 7950x

    64GB DDR4 -> 64GB DDR5 

    x570 Strix e -> x670e Steel Legend

    RTX 3080 -> RTX 4090

     

    And at the same time i upgraded my Unraid too (because i thought it is a genius idea).

     

    I moved my existing NVMe to this one and all is fine, except this 1 issue.

     

    So I have 3 SSDs

     

    500gb SSD 870 Samsung Sata -  MY OS

    1TB 970 Samsung nvme - Games

    1TB Kingston nvme - Games and STEAM

     

    ISSUE Now the issue i am facing is that EVERY SSD is fine, except the Kingston one, It also works fine until i start extracting something using WinRAR or Steam extract somegame or something, it becomes 100% active with 0kb/s write & read.

    If i reboot the VM, it will be 0% and normal, but any intensive work for even a second, it goes to 100%. It might look like the SSD is dying, but here is the catch, if i boot my VM in baremetal (i am bypassing my OS, and both nvmes) mode i.e. directly into Windows instead of Unraid, not a single issue with the SSD, i did a month long experiement in Bare metal mode, and tried everything, it just takes it like a champ, but when in unraid, it just dies at 100% and i cannot even open a drive without waiting like 10m.

    Diagnostics & VM Config attached.
    image.thumb.png.c2ea92aa39bf50feedff445942980348.png

     

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm' id='1' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
      <name>Windows 11</name>
      <uuid>91e3db4e-c2a8-25a5-684c-361208a87c0a</uuid>
      <metadata>
        <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm"/>
      </metadata>
      <memory unit='KiB'>57671680</memory>
      <currentMemory unit='KiB'>57671680</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>28</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='2'/>
        <vcpupin vcpu='1' cpuset='18'/>
        <vcpupin vcpu='2' cpuset='3'/>
        <vcpupin vcpu='3' cpuset='19'/>
        <vcpupin vcpu='4' cpuset='4'/>
        <vcpupin vcpu='5' cpuset='20'/>
        <vcpupin vcpu='6' cpuset='5'/>
        <vcpupin vcpu='7' cpuset='21'/>
        <vcpupin vcpu='8' cpuset='6'/>
        <vcpupin vcpu='9' cpuset='22'/>
        <vcpupin vcpu='10' cpuset='7'/>
        <vcpupin vcpu='11' cpuset='23'/>
        <vcpupin vcpu='12' cpuset='8'/>
        <vcpupin vcpu='13' cpuset='24'/>
        <vcpupin vcpu='14' cpuset='9'/>
        <vcpupin vcpu='15' cpuset='25'/>
        <vcpupin vcpu='16' cpuset='10'/>
        <vcpupin vcpu='17' cpuset='26'/>
        <vcpupin vcpu='18' cpuset='11'/>
        <vcpupin vcpu='19' cpuset='27'/>
        <vcpupin vcpu='20' cpuset='12'/>
        <vcpupin vcpu='21' cpuset='28'/>
        <vcpupin vcpu='22' cpuset='13'/>
        <vcpupin vcpu='23' cpuset='29'/>
        <vcpupin vcpu='24' cpuset='14'/>
        <vcpupin vcpu='25' cpuset='30'/>
        <vcpupin vcpu='26' cpuset='15'/>
        <vcpupin vcpu='27' cpuset='31'/>
      </cputune>
      <resource>
        <partition>/machine</partition>
      </resource>
      <os>
        <type arch='x86_64' machine='pc-i440fx-6.2'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/91e3db4e-c2a8-25a5-684c-361208a87c0a_VARS-pure-efi-tpm.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='14' threads='2'/>
        <cache mode='passthrough'/>
        <feature policy='require' name='topoext'/>
      </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='block' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source dev='/dev/disk/by-id/ata-Samsung_SSD_860_EVO_500GB_S4FNNF0NB21554M' index='1'/>
          <backingStore/>
          <target dev='hdc' bus='sata'/>
          <boot order='1'/>
          <alias name='sata0-0-2'/>
          <address type='drive' controller='0' bus='0' target='0' unit='2'/>
        </disk>
        <controller type='pci' index='0' model='pci-root'>
          <alias name='pci.0'/>
        </controller>
        <controller type='sata' index='0'>
          <alias name='sata0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <alias name='virtio-serial0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
        </controller>
        <controller type='usb' index='0' model='qemu-xhci' ports='15'>
          <alias name='usb'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:71:78:d9'/>
          <source bridge='br0'/>
          <target dev='vnet0'/>
          <model type='virtio-net'/>
          <alias name='net0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
        </interface>
        <interface type='bridge'>
          <mac address='52:54:00:a6:76:f9'/>
          <source bridge='br1'/>
          <target dev='vnet1'/>
          <model type='virtio-net'/>
          <alias name='net1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x03' 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 11/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='tablet' bus='usb'>
          <alias name='input0'/>
          <address type='usb' bus='0' port='1'/>
        </input>
        <input type='mouse' bus='ps2'>
          <alias name='input1'/>
        </input>
        <input type='keyboard' bus='ps2'>
          <alias name='input2'/>
        </input>
        <tpm model='tpm-tis'>
          <backend type='emulator' version='2.0' persistent_state='yes'/>
          <alias name='tpm0'/>
        </tpm>
        <audio id='1' type='none'/>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev0'/>
          <rom file='/mnt/user0/vbios/NVIDIA.RTX4090.24576.220830.rom'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0' multifunction='on'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
          </source>
          <alias name='hostdev1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x1'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x10' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x16' slot='0x00' function='0x4'/>
          </source>
          <alias name='hostdev3'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x15' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev5'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source>
            <vendor id='0x046d'/>
            <product id='0xc08b'/>
            <address bus='3' device='3'/>
          </source>
          <alias name='hostdev6'/>
          <address type='usb' bus='0' port='2'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source>
            <vendor id='0x0e8d'/>
            <product id='0x0616'/>
            <address bus='3' device='5'/>
          </source>
          <alias name='hostdev7'/>
          <address type='usb' bus='0' port='3'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source>
            <vendor id='0x1532'/>
            <product id='0x0244'/>
            <address bus='1' device='2'/>
          </source>
          <alias name='hostdev8'/>
          <address type='usb' bus='0' port='4'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source>
            <vendor id='0x1b1c'/>
            <product id='0x1b2d'/>
            <address bus='3' device='4'/>
          </source>
          <alias name='hostdev9'/>
          <address type='usb' bus='0' port='5'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source>
            <vendor id='0x26ce'/>
            <product id='0x01a2'/>
            <address bus='9' device='2'/>
          </source>
          <alias name='hostdev10'/>
          <address type='usb' bus='0' port='6'/>
        </hostdev>
        <memballoon model='none'/>
      </devices>
      <seclabel type='dynamic' model='dac' relabel='yes'>
        <label>+0:+100</label>
        <imagelabel>+0:+100</imagelabel>
      </seclabel>
      <qemu:commandline>
        <qemu:arg value='-fw_cfg'/>
        <qemu:arg value='opt/ovmf/X-PciMmio64Mb,string=65536'/>
      </qemu:commandline>
    </domain>

     

    tower-diagnostics-20221222-2114.zip

  2. 1 hour ago, jonp said:

    I'm confused.  The issue has resolved itself?  The game is performing fine now?  If so, there's no way that those clock speeds could be accurate while you're getting good in-game performance.  Its likely a reporting error in the VM.

    No, not itself i took some advice from reddit, i dumped my own vbios and then removed all the cores from the 1st CCX and just kept the VM on 2nd CCX with 1st CCX cores using as emulator pin and iothread and then i re did the whole VM configuration.

     

    I am still monitoring, it is def better than before. But i do not want to pull the trigger so fast.

    • Like 1
  3. 14 hours ago, jonp said:

    Curious if you try a different game if you have the same or different results.

    For now the game is working fine....

     

    However after u said it could be CPU issue.

    The CPU usage in mhz in VM is so low, however on main server it is 4.3ghz locked (i have set it in bios).

     

    Even at 100% CPU usage, the mhz is low, is it showing wrong reading? 

     

    PS: Core 0 does go upto 4.3ghz. but thats the only one.

    I noticed something - image.thumb.png.8c09b97af22a66fed5b63e93312ad11a.png

  4. 12 hours ago, ghost82 said:

    I would also suggest to check latency inside the vm: check latencymon software.

    You can then play with msi util (v2 or v3) and correct any possible irq conflict.

    I already optimized the VM for latency.

    https://prnt.sc/1y74r4h

     

    Today i went ahead and did more optimization, it worked great for the first few hours, but then after like 4-5hrs, i start another game, and its a stutter mess, all over again.

  5. On 11/2/2021 at 12:29 AM, jonp said:

    Unfortunately we do not have any 30-series GPUs for testing here, but we do see other users reporting success with this combination.  I don't think your issue is the GPU.  I think it is more likely tied to your Ryzen CPU.  AMD CPUs have been notorious for causing weird performance oddities on random setups.  Some users report everything working great, others have issues like you've described.  The big things you need to try:

     

    1)  Disable all dockers, plugins, or any other custom 3rd party add-ons you have installed on your system and retest.

    2)  Did you properly isolate your CPUs for your VM?  You can do this from Settings -> CPU Pinning page.

     

    If you've already done those exact things and are still having poor performance, I'm not sure what else to suggest other than changing the CPU/mobo.

    1 - Already done, i have formatted my whole unraid, and ran just my VM and it worked flawlessly.

    2 - Yes, my last 6 cores are isolated and last 4 are alloted to VM.

     

    I am so sick and tired of this whole experience for past 1yr. :(

  6. For past 1yr, i am struggling to get stable frames in game. If i boot windows directly then it works flawlessly i get steady locked frame but when playing in Unraid, it goes for the toss.

     

    In Windows bare metal

    When i start the game i get 59 fps locked (i have locked fps at 59) and it works great and smooth,

     

    In Windows - Unraid VM

    It all goes for a toss, the game starts with 20-40fps range, flactuating a lot, then going upto 59fps but when i move the game it stutters like crazy, the average frame rate remains 60 only but my 1% Low & Framrate Minimum suffers like crazy and gives bad experience.

     

    I was so fed up that i formatted the whole unraid usb and started afresh.

     

    Followed this guide - https://mathiashueber.com/performance-tweaks-gaming-on-virtual-machines/

     

    But it still sucks.

     

    Screenshots of Guardians of the Galaxy (I have tested in multiple games over past yr, all same issue).

     

    I just don't get it whats wrong. I have tried 16 thread setup, 14thread, 12threads and now i am at 8 threads. My GPU is clearly not being used fully and the fact that it works fine in bare metal is screwing with me so bad. Pleas help.

     

    All i want is stable performance and working game.

     

    I reset the framee counter before the first screenshot.

     

     

    7PEJlkF.jpg

    0ViXRR8.jpg

    YDgKicN.png

     

     

     

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm' id='2'>
      <name>Windows 10 - Gaming Optimized</name>
      <uuid>b6006252-1871-b460-d058-ff42f823ef65</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>
        <hugepages/>
      </memoryBacking>
      <vcpu placement='static'>8</vcpu>
      <iothreads>2</iothreads>
      <cputune>
        <vcpupin vcpu='0' cpuset='4'/>
        <vcpupin vcpu='1' cpuset='12'/>
        <vcpupin vcpu='2' cpuset='5'/>
        <vcpupin vcpu='3' cpuset='13'/>
        <vcpupin vcpu='4' cpuset='6'/>
        <vcpupin vcpu='5' cpuset='14'/>
        <vcpupin vcpu='6' cpuset='7'/>
        <vcpupin vcpu='7' cpuset='15'/>
        <emulatorpin cpuset='0-3'/>
        <iothreadpin iothread='1' cpuset='0-1'/>
        <iothreadpin iothread='2' cpuset='2-3'/>
      </cputune>
      <resource>
        <partition>/machine</partition>
      </resource>
      <os>
        <type arch='x86_64' machine='pc-i440fx-5.1'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/b6006252-1871-b460-d058-ff42f823ef65_VARS-pure-efi.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
        <hyperv>
          <relaxed state='on'/>
          <vapic state='on'/>
          <spinlocks state='on' retries='8191'/>
          <vpindex state='on'/>
          <synic state='on'/>
          <stimer state='on'/>
          <reset state='on'/>
          <vendor_id state='on' value='1234567890ab'/>
          <frequencies state='on'/>
        </hyperv>
      </features>
      <cpu mode='host-passthrough' check='none' migratable='on'>
        <topology sockets='1' dies='1' cores='4' threads='2'/>
        <cache mode='passthrough'/>
        <feature policy='require' name='topoext'/>
      </cpu>
      <clock offset='localtime'>
        <timer name='rtc' present='no' tickpolicy='catchup'/>
        <timer name='pit' present='no' tickpolicy='delay'/>
        <timer name='hpet' present='no'/>
        <timer name='hypervclock' present='yes'/>
        <timer name='tsc' present='yes' mode='native'/>
      </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='block' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source dev='/dev/disk/by-id/ata-Samsung_SSD_860_EVO_500GB_S4FNNF0NB21554M' index='2'/>
          <backingStore/>
          <target dev='hdc' bus='sata'/>
          <boot order='1'/>
          <alias name='sata0-0-2'/>
          <address type='drive' controller='0' bus='0' target='0' unit='2'/>
        </disk>
        <disk type='block' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source dev='/dev/disk/by-id/ata-WDC_WD1002FAEX-00Z3A0_WD-WCATRC635557' index='1'/>
          <backingStore/>
          <target dev='hdd' bus='sata'/>
          <alias name='sata0-0-3'/>
          <address type='drive' controller='0' bus='0' target='0' unit='3'/>
        </disk>
        <controller type='pci' index='0' model='pci-root'>
          <alias name='pci.0'/>
        </controller>
        <controller type='sata' index='0'>
          <alias name='sata0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <alias name='virtio-serial0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
        </controller>
        <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>
        <interface type='bridge'>
          <mac address='52:54:00:06:6b:3e'/>
          <source bridge='br0'/>
          <target dev='vnet0'/>
          <model type='virtio-net'/>
          <alias name='net0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
        </interface>
        <interface type='bridge'>
          <mac address='52:54:00:22:8f:ec'/>
          <source bridge='br1'/>
          <target dev='vnet1'/>
          <model type='virtio-net'/>
          <alias name='net1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
        </interface>
        <interface type='bridge'>
          <mac address='52:54:00:93:8d:da'/>
          <source bridge='virbr1'/>
          <target dev='vnet2'/>
          <model type='virtio-net'/>
          <alias name='net2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x04' 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-2-Windows 10 - Gaming /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>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev0'/>
          <rom file='/mnt/disk1/NVIDIA.RTX3080.10240.210304.rom'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x0b' slot='0x00' function='0x1'/>
          </source>
          <alias name='hostdev1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev3'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x0b' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x0c' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x08' slot='0x00' function='0x1'/>
          </source>
          <alias name='hostdev5'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x0d' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x08' slot='0x00' function='0x3'/>
          </source>
          <alias name='hostdev6'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x0e' function='0x0'/>
        </hostdev>
        <memballoon model='none'/>
      </devices>
      <seclabel type='dynamic' model='dac' relabel='yes'>
        <label>+0:+100</label>
        <imagelabel>+0:+100</imagelabel>
      </seclabel>
    </domain>

     

    tower-diagnostics-20211031-0153.zip

  7. On 10/28/2021 at 11:21 PM, jonp said:

    I think you are legitimately running out of memory.  I don't see this as a "runaway issue".  When you use hugepages for VMs, that memory is reserved for the VM even when its shut down.  That is the one major downside to using hugepages:  you cannot dynamically utilize that memory.  In addition, beyond the memory assigned to the VMs you have, memory is also utilized by QEMU/KVM for emulating components for those VMs.  That utilizes additional memory.  So between the 20GB being assigned to your Windows VM via Hugepages, another 2.5GB for your Linux VM, that leaves you with less than 10GB remaining for all of your applications and the emulation required for your VMs as well as any additional overhead for filesystem operations (which can vary).  I think you're butting up against the upper limits of your memory usage and should consider reducing your Windows VM to 16GB (along with the hugepages reservation you created).

     

    All the best,

     

    Jon

    Thanks for the input Jon,

     

    However there is literally no othe process running on my server, i literally turned off docker, and even in htop i can only see qemu only.

     

    I did a full shutdown and disconnected the pc for a while and then started back, its much better now, but still missing ram.

     

                  total        used        free      shared  buff/cache   available
    Mem:           31Gi        28Gi       215Mi       685Mi       2.4Gi       1.6Gi
    Swap:          11Gi       1.4Gi        10Gi
     

    20G with VM and 2.5G static with linux.

     

    Thats 22.5G, i still dont know where the rest 5.5G is, i cannot see anything. Even if i consider 2.4G in buff cache, i am still missing 3G of ram. Its much better now as i have 1.6G ram available. Atleast its smooth and operational.

  8. For some reason, unraid is eating the ram like nothing and in turn turning off VM when underload. I have only 2 VM on the server and 6-7 docker (yes i know they need ram), but when i took the free -mh, i turned off the docker completely from the setting and then rebooted the unraid server.

     

    This is fresh off the boot.

     

    available only 433mb.

     

    However i have 32gb ram of which 20gb is allocated to Windows VM & 2.5gb is allocated to linux VM. Thats 22.5gb, and yet it says 28gb is used. 

     

    This remains same weather i set the Windows VM to 20gb or 25gb. So something is clearly wrong here. Diagnostic attached too.

     

    PS: in windows vm i am using hugepages.

     

    My linux VM goes down the moment server runs out of ram to allocate.

     

    Every 2.0s: free -mh                                                                                                                                                                                                                                             Tower: Thu Oct 28 16:11:05 2021
    
                  total        used        free      shared  buff/cache   available
    Mem:           31Gi        28Gi       644Mi       1.8Gi       1.9Gi       433Mi
    Swap:            0B          0B          0B

     

    image.thumb.png.11e489b8f2a6fab037efc119b286c4d9.pngAttached pic of htop too.

     

    tower-diagnostics-20211028-1615.zip

  9. I am facing stuttering in game, on Windows VM.

     

    Currently was playing Kena Bridge of Spirits. In Windows VM, i get 56 fps (as i have it locked at 56 due to freesync), however my 1% lows are pretty freaking low, about 20-30fps, which really ruins the experience, and this happens in all the games, i was playing Deathloop yesterday and same.

     

    When i switched to Bare metal (booted directly off the SSD), i get 56 locked, and my 1% lows arent going below 55, which is really really stable and crazy to see the difference.

     

    Please help me.

     

    I have attached my KVM config. and server config.

     

    PS: No docker is running while i performed the test and the CPU was very stable in both conditions. I roamed only at a specific location to do the test and it was identical.

     

    I am facing this issue from day one, and was just making it work somehow, but it is really jaring.

     

    Also i noticed some flicking of the screen too while gaming (could be freesync flickering?) which i (as far as i remember), did not see in baremetal.

     

    <?xml version='1.0' encoding='UTF-8'?>
    <domain type='kvm' id='5'>
      <name>Windows 10 - 2020</name>
      <uuid>e35942b5-aa7d-461b-6d58-64f3e347626a</uuid>
      <metadata>
        <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
      </metadata>
      <memory unit='KiB'>26214400</memory>
      <currentMemory unit='KiB'>26214400</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>14</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='1'/>
        <vcpupin vcpu='1' cpuset='9'/>
        <vcpupin vcpu='2' cpuset='2'/>
        <vcpupin vcpu='3' cpuset='10'/>
        <vcpupin vcpu='4' cpuset='3'/>
        <vcpupin vcpu='5' cpuset='11'/>
        <vcpupin vcpu='6' cpuset='4'/>
        <vcpupin vcpu='7' cpuset='12'/>
        <vcpupin vcpu='8' cpuset='5'/>
        <vcpupin vcpu='9' cpuset='13'/>
        <vcpupin vcpu='10' cpuset='6'/>
        <vcpupin vcpu='11' cpuset='14'/>
        <vcpupin vcpu='12' cpuset='7'/>
        <vcpupin vcpu='13' cpuset='15'/>
        <emulatorpin cpuset='1,9'/>
      </cputune>
      <resource>
        <partition>/machine</partition>
      </resource>
      <os>
        <type arch='x86_64' machine='pc-i440fx-5.1'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/acbbb949-4b67-7893-98bb-02fa4d5f218a_VARS-pure-efi.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
        <hyperv>
          <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='7' threads='2'/>
        <cache mode='passthrough'/>
        <feature policy='require' name='topoext'/>
      </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='block' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source dev='/dev/disk/by-id/ata-WDC_WD1002FAEX-00Z3A0_WD-WCATRC635557' index='2'/>
          <backingStore/>
          <target dev='hdb' bus='sata'/>
          <alias name='sata0-0-2'/>
          <address type='drive' controller='0' bus='0' target='0' unit='2'/>
        </disk>
        <disk type='block' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source dev='/dev/disk/by-id/ata-Samsung_SSD_860_EVO_500GB_S4FNNF0NB21554M' index='1'/>
          <backingStore/>
          <target dev='hdc' bus='sata'/>
          <boot order='1'/>
          <alias name='sata0-0-3'/>
          <address type='drive' controller='0' bus='0' target='0' unit='3'/>
        </disk>
        <controller type='pci' index='0' model='pci-root'>
          <alias name='pci.0'/>
        </controller>
        <controller type='sata' index='0'>
          <alias name='sata0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <alias name='virtio-serial0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
        </controller>
        <controller type='usb' index='0' model='nec-xhci' ports='15'>
          <alias name='usb'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:2b:9f:b5'/>
          <source bridge='br0'/>
          <target dev='vnet0'/>
          <model type='virtio'/>
          <alias name='net0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
        </interface>
        <interface type='bridge'>
          <mac address='52:54:00:7c:a9:35'/>
          <source bridge='br1'/>
          <target dev='vnet1'/>
          <model type='virtio'/>
          <alias name='net1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x13' function='0x0'/>
        </interface>
        <interface type='bridge'>
          <mac address='52:54:00:7a:db:8f'/>
          <source bridge='virbr1'/>
          <target dev='vnet2'/>
          <model type='virtio'/>
          <alias name='net2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x14' 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-5-Windows 10 - 2020/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='tablet' bus='usb'>
          <alias name='input0'/>
          <address type='usb' bus='0' port='1'/>
        </input>
        <input type='mouse' bus='ps2'>
          <alias name='input1'/>
        </input>
        <input type='keyboard' bus='ps2'>
          <alias name='input2'/>
        </input>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev0'/>
          <rom file='/boot/Zotac.RTX2070.8192.181019.rom'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x0b' slot='0x00' function='0x1'/>
          </source>
          <alias name='hostdev1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
          </source>
          <boot order='2'/>
          <alias name='hostdev2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev3'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x11' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x08' slot='0x00' function='0x1'/>
          </source>
          <alias name='hostdev4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x08' slot='0x00' function='0x3'/>
          </source>
          <alias name='hostdev5'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev6'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x18' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='usb' managed='no'>
          <source>
            <vendor id='0x1b1c'/>
            <product id='0x1b2d'/>
            <address bus='5' device='2'/>
          </source>
          <alias name='hostdev7'/>
          <address type='usb' bus='0' port='3'/>
        </hostdev>
        <memballoon model='none'/>
      </devices>
      <seclabel type='dynamic' model='dac' relabel='yes'>
        <label>+0:+100</label>
        <imagelabel>+0:+100</imagelabel>
      </seclabel>
    </domain>

     

    tower-diagnostics-20210925-1730.zip

  10. I am trying to install https://github.com/cupcakearmy/cryptgeon in my home server so that i can have privnote style website hosted on my home network in order to use it everywhere.

     

    But i cannot figure how to set it right, i only know how to setup the ports, but other than that i am clueless, any help?

     

    # docker-compose.yml
    
    version: '3.7'
    
    services:
      memcached:
        image: memcached:1-alpine
        entrypoint: memcached -m 128 # Limit to 128 MB Ram, customize at free will.
    
      app:
        image: cupcakearmy/cryptgeon:latest
        depends_on:
          - memcache
        ports:
          - 80:5000

     

  11. On 9/24/2020 at 1:05 AM, AntaresUK said:

    Finally figured out what was causing the stutter. I had an all core overclock to 4.2ghz. Once this was taken off and MSI interrupts added no more stutter. I even was able to play DOS EE with g-sync on for the first time on unraid :) Oh happy day. Thought Id post the solution here in case anyone else is facing the same issue.

     

     No overclock, MSI interrupts, g-sync on and triple buffering = happy gamer finally

    So disabling overclock fixes it?

  12. On 6/11/2020 at 3:29 PM, JamesAdams said:

    i found the solution i edit my network for that

     

    
    <network ipv6='yes'>
      <name>lab-network</name>
      <uuid>9076910b-63df-470f-862a-606414dd750a</uuid>
      <bridge name='virbr1' stp='on' delay='0'/>
      <mac address='52:54:00:a7:8f:4b'/>
      <ip address='192.168.0.0' netmask='255.255.255.0'>
        <dhcp>
          <range start='192.168.0.11' end='192.168.0.20'/>
        </dhcp>
      </ip>
      <route address='192.168.0.0' prefix='24' gateway='192.168.0.10'/>
    </network>

     

    Can you tell me which file you edited?

  13. 38 minutes ago, j44rs4 said:

    By editing your network settings and Enable bonding.

    Then you can change to what bonding mode you want through Bonding Mode.

    Next, add you second card to your interface under "Bonding members..."

     

    You will have to stop your Array to make changes to your network configuration.

    I will try this.

     

    21 minutes ago, TheBlueKingLP said:

    What is providing the 100mbps ports?

    Sorry?

  14. I had a query, I have netgear router,

     

    And netgear does not support VPN.

     

    So was wondering if there is any way that I can use my existing unraid server which is connected to the same router and someone con figure it to run on nordvpn?

×
×
  • Create New...