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.

Tricking VM into believing CPU speed is higher...

Featured Replies

So; I am a gamer, completely addicted to one particular game which is known for being very CPU dependant, not so much GPU.
Problem is; this games utilize only one core, and there's always a certain battle within the game community to get the best fps. Devs will not rewrite the game into supporting multicore processors, and so I thought to myself:

"Since I'm playing inside a virtual machine hosted on my Unraid, would it be possible to "trick" the VM into believing it has more GHz at hand than it actually does?
Could I for instance do some tweaks to the VMs KVM XML into presenting two or more cores as one to the VM, making the game inside the VM utilizing my processor in a better manner?"

Dropped this question to a colleague of mine today, and he went "- yes, that should be possible. Although I'm coming from VMWare, and do not know exactly what the correct term is within the KVM universe, or how to actually do it within KVM..."

I've been googling this topic back and forth for quite some time (- not only today -), yet I've got little to no information on exactly what I'm trying to accomplish.


Would anyone be able to help me make this happen?

My rig:

M/B: Gigabyte Technology Co., Ltd. - Z170XP-SLI-CF
CPU: Intel® Core™ i5-6600 CPU @ 3.30GHz
HVM: Enabled
IOMMU: Enabled
Cache: 256 kB, 1024 kB, 6144 kB
Memory: 65536 MB (max. installable capacity 128 GB)
Network: bond0: fault-tolerance (active-backup)
 eth0: not connected
 eth1: 1000Mb/s - Full Duplex
Kernel: Linux 4.1.18-unRAID x86_64
OpenSSL: 1.0.1s
VM:
Windows 10 Professional. Currently running on 3 virtual processors, with 16GB RAM
Dockers:
TeamSpeak
Krusader
Plex

 

Basically: Make KVM dedicate two or three of my CPU cores (as "pool" or something), and use this as the VMs processor, effectively tricking my game into seeing the VMs processor as one CPU on steroids instead of 3 separate virtual processors.



I may of course be completely off with my request/thoughts, but since my colleague didn't laugh himself into a hernia upon my question, I've summoned up the courrage to ask this community.

Sincerely,
Blodfjert

afaik you can pool them on a single vcpu and the system will choose which to run the thread on. I don't believe you can combine their output to fake a higher mhz. But I'd like to be wrong about the second part.

  • Author

@1812 If you're wrong about that second part, I sure hope someone will be kind enough to shed some light on it for us both.
Pooling cores into a single vcpu would also be worth a try, as I'd be curious to measure the possible gains in fps through said game. Do you know how it is done?

Archived

This topic is now archived and is closed to further replies.

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.