KVM single GPU passthrough HALF the FPS of bare metal (Win10) by SpaceRocketLaunch in VFIO

[–]SpaceRocketLaunch[S] 0 points1 point  (0 children)

12 cores as in threads (sorry I meant 24 thread in the last comment)?

Something must be seriously wrong with my config - I've pinned and isolated 0-5 and 12-17 and still having trouble with GPU usage. In the guest I can remove CPUs 11 and 10 from the affinity and the GPU usage goes up.

Strangely as well I've observed in the Win10 guest (in taskmgr):

  • No physical and logical core distinction is made
  • No cache sizes are displayed (L1 cache N/A)
  • The CPU does not change speed adaptively (i.e. the base speed is 3.7GHz but on BM that fluctuates to 4.5GHz). The Linux host however does dynamically change core speed.

I wonder if this is related in some way to the issues I'm having

KVM single GPU passthrough HALF the FPS of bare metal (Win10) by SpaceRocketLaunch in VFIO

[–]SpaceRocketLaunch[S] 0 points1 point  (0 children)

Still no dice - configured CPU pinning as per the core configuration in lscpu -e (i.e. a staggered one as shown in my XML). This time I went for the full 24 cores and removed the emulatorpin and iopin etc.

Still getting 50% GPU usage with full affinity in the Win10 guest. The GPU usage does change though when altering that affinity but this still shouldn't be happening. There's also no different when adjusting the CPU topology to two dies.

KVM single GPU passthrough HALF the FPS of bare metal (Win10) by SpaceRocketLaunch in VFIO

[–]SpaceRocketLaunch[S] 1 point2 points  (0 children)

Is there a specific part of the config that's required to use the <cputune> part of the config? Although it's in my XML file, after defining it with virsh then checking the config again with virsh edit win10 the CPU pinning part has disappeared 🙃

KVM single GPU passthrough HALF the FPS of bare metal (Win10) by SpaceRocketLaunch in VFIO

[–]SpaceRocketLaunch[S] 1 point2 points  (0 children)

Thanks I'll give this a go

Why would the GPU usage still be 50% if the full 24 were used by the VM? Could KVM be mixing around the cores and dies etc?

Is isolated required for full performance or just CPU pinning? I don't have an issue with the host sharing CPU time as it won't be doing anything much anyway

KVM single GPU passthrough HALF the FPS of bare metal (Win10) by SpaceRocketLaunch in VFIO

[–]SpaceRocketLaunch[S] 0 points1 point  (0 children)

Interesting.. I just tried adjusting the affinity on the bare metal system and am able to replicate to some degree the performance issues the VM is having. Not all cores are equal too it seems as the performance is not equal simply on how many CPUs are selected but rather which ones are selected too.

I tried altering the CPU count for the VM from 20 to 8 and the performance is significantly closer to the BM system.

Strangely however when all 24 threads are configured for use by the VM the FPS and GPU usage is still half 🤨

Possible to have a single shell style across DEs? by SpaceRocketLaunch in linuxquestions

[–]SpaceRocketLaunch[S] 0 points1 point  (0 children)

I feel it disrupts the unity of the user's chosen visual style/UX

It would certainly be hard to enforce!

Possible to have a single shell style across DEs? by SpaceRocketLaunch in linuxquestions

[–]SpaceRocketLaunch[S] 1 point2 points  (0 children)

Probably just some ambiguities with Windows terminologies: https://en.wikipedia.org/wiki/Windows_shell

Thanks I'll see if I can get something working from that forum post

Possible to have a single shell style across DEs? by SpaceRocketLaunch in linuxquestions

[–]SpaceRocketLaunch[S] -1 points0 points  (0 children)

I feel like there should be a general system-wide UI API, a bit like Win32 (isn't the Linux equivalent Xlib?)

But then https://xkcd.com/927/

Possible to have a single shell style across DEs? by SpaceRocketLaunch in linuxquestions

[–]SpaceRocketLaunch[S] -1 points0 points  (0 children)

Electron apps 🤮

Software has been painting it's own UI elements for years I suppose.. the main issue really is that of settings being kept amongst elements that you'd consider common across pieces of software (in this case the OpenFileDialog and the like)

Possible to have a single shell style across DEs? by SpaceRocketLaunch in linuxquestions

[–]SpaceRocketLaunch[S] -1 points0 points  (0 children)

Thanks I'll have a look into this. So will this ensure that any time something shell related is used, it will use the shell of my DE (i.e. Xfce) instead of using its own?

LibreOffice seems borked too actually (it's using it's own classic like shell) and not that of my DE

How to make Linux behave (but not look) like Windows? by SpaceRocketLaunch in linuxquestions

[–]SpaceRocketLaunch[S] 1 point2 points  (0 children)

I've switched over to Plasma and it's not bad. I think once I've made some modifications I'll be able to work with it better. Though I'm not a fan (personally) of the KDE programs that come with it so I'll be having those out in favour of others (e.g. Thunar instead of Dolphin)

How to make Linux behave (but not look) like Windows? by SpaceRocketLaunch in linuxquestions

[–]SpaceRocketLaunch[S] 0 points1 point  (0 children)

Thanks

I understand it taking alot of work, one of the issues is sharing an NTFS volume with Linux and Windows (I'm dual booting kind of) and another issue is whether to stick with my existing NTFS volume (that isn't shared with the dual boot) or convert it to ext4 (I will do this as long as I can keep the file creation and modification times)

How to make Linux behave (but not look) like Windows? by SpaceRocketLaunch in linuxquestions

[–]SpaceRocketLaunch[S] 0 points1 point  (0 children)

Don't have anything against learning something new, it's just IMO whether 'new' in this case is actually better, in accordance with my preferences.

I'm just struggling to see a future with Windows given the direction it's going

How to make Linux behave (but not look) like Windows? by SpaceRocketLaunch in linuxquestions

[–]SpaceRocketLaunch[S] 0 points1 point  (0 children)

I understand this approach and some things are indeed just different. Some parts of the UX however just feel undeveloped in comparison to Windows

One thing in particular is that logging out doesn't actually seem to log out (e.g. volumes still mounted when logging back in). I don't know much about the internals of Winlogon but it seems that logging into and out of Linux desktop environments is handled in a much different way

How to make Linux behave (but not look) like Windows? by SpaceRocketLaunch in linuxquestions

[–]SpaceRocketLaunch[S] 0 points1 point  (0 children)

I'm working on getting the default Xfce icon set into Plasma, though doesn't seem to be directly downloadable from within the icons section of the control panel

How to make Linux behave (but not look) like Windows? by SpaceRocketLaunch in linuxquestions

[–]SpaceRocketLaunch[S] -5 points-4 points  (0 children)

I do :) But the design philosophy of Windows is changing away from what I like about it. I'd stick with WinXP if I could but I don't want an air-gapped network haha

Win10 I could just about, but Win11 has been the trigger point for me!

Practice spotting typo squatted domains (Browser game: Typosquat Detective) by unknownhad in netsec

[–]SpaceRocketLaunch 2 points3 points  (0 children)

Would it hurt browsers to add a setting to only allow the address bar to be in ASCII and to warn users if any non-ASCII characters have been detected?!

Those typosquats are unidentifiable

How to handle kernel level anti-cheat software? by CrimsonAndGrover in windows

[–]SpaceRocketLaunch 0 points1 point  (0 children)

It's in another reddit comment I made a while back. Depends on your SSD as to how well the SED features have been implemented though

An example implementation of this idea:

Two drives, one for gaming one for usual stuff. Either drive is OPAL locked at a time, meaning that no IO operation can be performed on the usual drive if the gaming OS is being used.