Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[server] USB suffers from high CPU load

$
0
0
So, I got my KVM host up and running as well as my Windows 10 KVM with GPU passthrough. All works the way I planed.
But, for some reason, I experience that USB suffers from high CPU loads. From a YT-video I know that USB pretty much works on a polling paket structure - and although I don't have an oscilloscope handy to verfiy it I guess that's the issue.
I already tried to lower the virtual cpu core count. I also set core pinning so the host has some cores for itself. I even switched from simple usb device redirector to also fully passthrough the usb root hub. Unfortunately it hasn't helped yet. It's even hard to write this post as I currently use high load to verify it. I first noticed audio stuttering as I use an external usb audio interface as my main audio in/out - but also other usb devices, mostly mouse, keyboard and other input devices like gamepad, shows this.

In addition to that: On my host loading it up with high overall system load, like downloading a game from steam which requires network bandwidth, hard disk performance and rather high cpu power as its highly compressed and encrypted data stream which is decrypted and decompressed before written to the disk - I can watch YT while steam is doing its thing in the background. In the KVM running steam inside it makes the kvm pretty much unuseable: usb stutters and drop outs, yt video stuttering (no, not buffering as in not enough bandwidth but stuttering as in a scratched dvd) and the host becomes really slow.

So, although all is working fine when it's idle - as I load up the kvm it makes the whole system behave like it's something retro back from the 90s.

Running the exact same task on the host no matter the host os all is fine - no usb stutters, no YT lagg - just steam downloading the game and don'T bother me.

Has anybody else experienced such weird behaviour? Is there maybe anything I can do about it? I'd like to use the kvm as if I would run win10 natively - the only reason I use a kvm in the first place is to have ubuntu as a ZFS host as I not yet got either ZoL in WSL(v2) running nor do I have the required network for setting up a NAS.

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>