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.

100% cpu usage when booting vm with pcie passthrough

Featured Replies

When I start a vm with a gpu passed through the cores I have assigned to the vm stick at 100% usage till the vm starts. Startup of the vm takes a very long time but eventually it does start. I also noticed the more ram the vm has assigned the longer it takes to start (and the less ram the quicker it starts).

Anyone got a solution or something I can try?

 

Thanks in advance.

cpu usage1.png

First of all, don't use all available cores for your VM and especially not the core 0 and it's HT. Unraid always uses these core for itself to manage stuff in the background. Second thing, you have 2x 6core Xeons in your system, try it first to ONLY use the cores from a single CPU. 1-5 + HT or 6-11 + HT or even less and don't mix the cores from the different CPUs. 

  • Author

Tried cores from one cpu and tried just one core

same issue :( seems to maybe be slightly faster to start with one core but i'm not sure of it.

Edited by Bm1170

  • 7 months later...

Hi, I have the same issue when trying to passthrough a USB PCIe card.   1 thread hangs at 99-100% and Windows get's stuck at booting page.  Never starts.   VM works perfectly when I'm not passing the card through.  Let me know if you find something,  I'll continue deep diving this issue.

 

Here's my XML in case anyone looks at this

 

    <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='0x00' slot='0x08' function='0x0'/>
    </hostdev>

 

image.thumb.png.f4f5d9387a1cfd651dfa478b79934af4.png

 

VL805/806 seems a nogo because of broken firmware, sorry. I would suggest a 20$/Eur usb card like the inateck with fresco fl1100 controller.

  • 1 year later...

@Bm1170 sorry for the necro everyone but I'm facing the same issue. Did you ever find a solution to this? When I first start unraids and start a windows VM it boots almost instantly but it seems the longer I have unraids running the slower the boot becomes for the VM, sometimes taking around 3 minutes. I've noticed core 0 shoots to 100% while it's booting then drops back down to normal usage once the VM starts up, and I'm isolating cores 2-14 (ht 3-15) for the VM on a 13900k. Everything else seems to work fine just an inconvenience so I was wondering if you figured it out.

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.