Advertisement · 728 × 90
#
Hashtag
#virtualisation
Advertisement · 728 × 90
Preview
This 1 Simple Proxmox Setting Change Can Significantly Improve VM CPU Performance DISCLOSURE This article may contain affiliate program links that pay a commission if you make a purchase after clicking. Please read the full affiliate information page for more details. Affiliate links are noted where it says _(affiliate)_ after the link. This tutorial owes its existence to an accidental oversight on my part. The last thing anyone wants to do is waste a couple hours of time running benchmark tests only to find out that you forgot to alter the CPU type on the VM you’re testing half way through. During testing to compare virtual machine performance between Proxmox and TrueNAS Scale on identical hardware, I realized I’d done exactly that. When I created the Proxmox VM, I neglected to set the CPU type, leaving it set to the default – making the data I’d collected up to that point seemingly useless. This tutorial was born out of the desire to not have wasted the effort of testing with the wrong VM setting with the added benefit of being able to have a quantifiable idea of just how much of a performance difference not changing the setting can make. With the decision made, I thought to myself, _“I wonder how many people don’t even bother to change this setting during VM creation.”_ It is, after all, an easy setting to leave alone and have your VM still function. I decided I’d put a poll out on Mastodon to see if it’s common for people to not change their VM CPU type. The poll closed with 101 responses – 56% of which indicated they leave their VMs set to the default. The one thing I didn’t think to address with the poll, unfortunately, was whether your choice to use the default was deliberate or not. With all of that said, what exactly is the impact of leaving the VM CPU type set to the default? Let’s dive into the details and see how changing this setting can significantly improve the performance of your virtual machines. * * * ## Table of Contents * What Is The CPU Type Setting? * Effects On VM Performance * Testing Setup * FFmpeg Encoding * Sysbench – Memory * Tests With Little Performance Difference * When Not To Use The Host Type * Live Migration / High Availability * How To Modify The CPU Type * During VM Creation * On Existing VMs * Closing * * * ## What Is The CPU Type Setting? Virtual machines in Promox are based on QEMU/KVM, which allows for emulation of different CPU types using the **CPU TYPE** setting. For instance, if you wanted to emulate an old Intel 486 CPU – perhaps you’re looking to setup DOS to play old PC games – the CPU type setting will allow you to do that. This feature is especially useful for those who wish to setup “Hackintosh” VMs as compatible versions of MacOS only work with specific Intel CPU architectures. The default value for any new VM’s CPU type, however, is a generic **KVM64** type that will work regardless of what CPU architecture your Proxmox host is running on. While this is great for compatibility, it isn’t ideal for performance. The solution to this performance issue is to modify the CPU type to **HOST** – which in some systems is referred to as _host passthrough_ – which tells KVM to pass the host CPU through to the VM without modification or abstraction and in doing so deliver superior CPU performance. ## Effects On VM Performance I ran a selection of benchmark tests to demonstrate the kind of effect setting CPU type to host can have on VM performance. While some tests show a negligible difference in performance, other scenarios show a boost of more than 10% – simply by changing a single setting on your Proxmox VM. ### Testing Setup All testing was performed on a Skylake architecture based i5-6500T mini PC – like I’ve covered in a number of previous articles – seeing as I own a number of these devices. Testing was performed with a fresh install of Proxmox as well as a new Debian 11 VM. No other VMs were running during the time of testing. #### Host System **OS Version**| Proxmox Virtual Environment 7.3-4 ---|--- **Test System**| HP ProDesk 600 G2 Mini **CPU**| Intel i5-6500T – 4 Cores / 4 Threads **Memory**| 16GB Dual Channel – 2x 8GB SK Hynix DDR4-2133MT/s (affiliate) **Swap**| Enabled **Boot Disk**| TeamGroup MP33 NVMe SSD (affiliate) #### VM Configuration **VM OS**| Debian 11 / Kernel 5.10.0-21-amd64 ---|--- **CPU Cores**| 1 – 4 Cores Tested **CPU Types**| Default (KVM64), Host **Memory**| 4GB **Swap**| None **VM Disks**| ZFS Mirror – 2x Crucial MX500 SATA SSD (affiliate) ### GnuPG Encryption While I wasn’t originally intending to include single-threaded test results in this tutorial, I opted to run the GnuPG test in hopes that it would prove to be a good example of the main point of this tutorial. I’d say … point made. By simply changing the CPU type, the VM was able to make use of enhanced CPU instructions to boost performance by 10.8%! Modern CPUs include a set of instructions called AES – short for advanced encryption standard – instructions. Leaving the CPU type set to the default prevents the VM from having access to those instructions. **Support Ad-Free, Privacy-Respecting Tech Content** At Tech Addressed, we're passionate about providing an ad-free and privacy-respecting environment for our tech-savvy community. If you've found value in our high-quality technical content, your support can make a significant difference. * **Ad-Free:** Having zero invasive ads makes for a better overall browsing experience. * **Data Privacy:** We never collect your personal information, let alone share it with others. * **Community:** Our community's growth is fueled by your contributions. Your contribution matters. Every donation, no matter the size, plays a vital role in sustaining our mission and is greatly appreciated. Join us in maintaining a tech space that respects your privacy and values your experience. ### Linux Kernel Compilation The Linux kernel compilation test is the most CPU intensive benchmark I ran on these VMs. Tests like this that require longer periods of time to complete often have more pronounced performance differences. Here we see the single core and dual core results both show a 5.3% improvement after changing the CPU type. The three core test had an even greater improvement at 5.5%, and the four core test topping this test at 5.7% improvement. With any task that requires time to completion – like code compilation or any kind of rendering tasks – a 5% or greater improvement translates into significant time and energy savings. ### FFmpeg Encoding The FFmpeg encoding test results might not look as dramatic as the previous two benchmarks, however, I’ll do my best to put the scores into perspective. Here we see improvements between 3.5% and 4.1% as we increase the number of cores in the VM. While not nearly as impressive sounding as the last two tests, consider that this test uses a small sample video allowing the test to complete relatively quickly. Like I mentioned previously with regards to time savings, a 4% time savings when performing encoding work across the entire time that these tasks might take can also translate into a real time savings. A real-world homelab example for exactly what I’m talking about would be setting up a VM to transcode files for your home media server. The sooner your VM completes the task, the sooner those resources are freed up for other VMs. ### Sysbench – Memory Lastly, let’s take a look at one of my favorite tests – the Sysbench memory test. This benchmark doesn’t strictly measure memory bandwidth but, by design, factors in CPU performance to give an idea of how memory sensitive tests would perform. Here we see the single core through three core VMs performing 3.1% to 4.4% better with the CPU type change in place. The outlier here is the quad core test with a mere 1.7% improvement – likely being hampered by the fact that the system is only a quad core system and the hypervisor is running still in the background. ### Tests With Little Performance Difference Unfortunately, not every workload has specialized CPU instructions that will benefit it by adjusting your CPU type. Of my standard test suite, the PHPbench and 7-zip tests showed less than 0.5% difference – which can’t be distinguished from testing variance. It’s important for you to understand what your VM workloads are like to determine whether making a change will benefit you. At the very least, any task that can benefit from better memory performance – as shown by the Sysbench test – might show an improvement. ## When Not To Use The Host Type While I just wrote over 1000 words telling you to change your CPU type to host, there are situations where that might not be the best setting for your specific virtual environment. ### Live Migration / High Availability If you’re running a high availability Proxmox cluster or make use of live VM migration between systems, you’ll need to carefully consider what CPU type to select for your VMs. If you don’t know anything about the types of CPUs in your host systems, the safest option is to leave your VMs configured to the default for maximum compatibility between hosts, should a VM need to migrate between systems. If you have a cluster with mixed CPU architectures that have a base commonality to them – say for example some systems are Intel Skylake based Xeons and others are newer Tiger Lake based Xeons – you could set your VMs to use the Skylake Server setting (as opposed to Skylake Client which would correspond to desktop class chips) to allow for the largest common instruction set between host types. There are a number of resources online that can provide you with information on what instruction sets are available in various CPUs. * Intel Product Specifications * AMD Processor Specifications * CPU World If you can’t find what you’re looking for from one of these options, you’ll want to search online for your specific CPU specs. ## How To Modify The CPU Type Once you know what CPU type you’re going to use for your VMs, setting the type is pretty straightforward. ### During VM Creation If you’re creating a new VM in Proxmox, as you step through the creation process, on the **CPU** step, select the **TYPE** dropdown then scroll to locate your desired setting. ### On Existing VMs If you need to modify the setting on an existing VM, go into the VM’s hardware list and double click on **PROCESSORS** (or highlight and click the **EDIT** button). This will bring up the **EDIT PROCESSORS** modal. Click on the **TYPE** dropdown and find your desired setting. ## Closing As I’ve demonstrated, using the host CPU type in your Proxmox VMs from the default to the host setting can have a major impact on their performance in situations where it’s safe to use. If you’re looking to improve the performance of your VMs – especially if you aren’t making use of live migration / high availability – I highly recommend giving this simple setting change a try. Whether you’re creating a new VM or modifying an existing one, the process is straightforward and well worth the effort. If you found this tutorial helpful and would like to support our efforts to create additional resources like this, please consider making a donation. Your support is greatly appreciated! If you can’t make a donation, please consider sharing this tutorial with others who may be interested. If you have questions about anything regarding this review, please be sure to leave them in the comments below. Thanks for reading, and I hope you visit again soon!

So I found an answer to the ‘what should I set as type and why’ question:

www.techaddressed.com/tutorials/proxmox-improv...

Thanks for the detailed write up @techaddressed

#proxmox #virtualisation

1 0 0 0
Post image

Can someone with experience in #proxmox or #virtualisation more generally help me wrap my head around how virtual processors work?

With RAM it's all fairly obvious: If my host has x GB, once they are allocated to VMs they are gone. But processors obviously […]

[Original post on mstdn.thms.uk]

0 0 1 0
NetBSD et boot PVH : du néant à init(8) | Connect - Editions Diamond Dans GLMF 270, nous avons intégré au code de démarrage du noyau NetBSD, locore.S, les modifications nécessaires pour permettre à ce dernier de trouver les informations relatives à une VM et ainsi boot...

#NetBSD et boot PVH : du néant à init(8) est notre nouvel article offert de la semaine, à découvrir sans plus tarder sur connect.ed-diamond.com/gnu-linux-ma....

Bonne lecture !

#code #virtualisation #kernel #PVH

1 0 0 0
Post image

🚀 Zoom sur les Proxmox VE Helper-Scripts

👉 Go sur ma chaîne YouTube pour une démo complète : youtu.be/4JvNjGthMmY

📄 Tu préfères lire ? Tu as l'article sur IT-Connect : www.it-connect.fr/tuto-proxmox...

#Proxmox #sysadmin #virtualisation #tuto #opensource

2 0 0 0
Preview
Twitch Twitch is the world

@everyone épisode 5 et dernier du TP #serveur #web Linux, édition 2026, spécial débutants en #sysadmin, aujourd'hui on cause de #sudo #openssh et de #HTTPS tout de suite sur twitch.tv/ahp_nils #twitchfr #twitchstreamer #TwitchStreamers #debian #ubuntu #virtualisation #nginx

4 2 1 0
Preview
Proxmox VE : supprimer une machine virtuelle ou un conteneur Ce tutoriel explique comment supprimer une VM ou un conteneur LXC sur un serveur Proxmox VE, via l'interface web et la ligne de commande avec qm et pct.

💻🗑️ Proxmox VE : maîtrisez la suppression de VMs et conteneurs

La suppression d'une machine virtuelle ou d'un conteneur #LXC est une opération basique qu'il convient de maîtriser lorsque l'on administre un hyperviseur #Proxmox VE 👇

#Virtualisation

0 0 0 0
Post image

🔥 Prise en main des conteneurs LXC sur Proxmox VE

🎥 Ma vidéo complète : youtu.be/NYAauu9PyV8

Bien débuter avec les conteneurs LXC
- www.it-connect.fr/tuto-proxmox...

Exécuter des images OCI (Docker)
- www.it-connect.fr/tuto-proxmox...

#proxmox #virtualisation #sysadmin #tuto

2 0 1 0
vsphere web client

vsphere web client

vSphere Web Client - Export Virtual Machine Information | #Guide #Virtualisation #VMWare #vSphereWebClient #VMwarevSphere #VirtualMachines #SysAdmin #ITAutomation

0 0 0 0
Preview
Proxmox expands enterprise ecosystem with native NAKIVO integration to simplify data center modernization Latest announcements for Proxmox.

Plus d'infos ici : www.proxmox.com/en/about/com...

#Proxmox #NAKIVO #Virtualisation #Backup #OpenSource

0 0 0 0
Post image

How to Fix a Nutanix CVM Stuck in Maintenance Mode | #Guide #Nutanix #Virtualisation #Nutanix #CVM #HyperconvergedInfrastructure #SysAdmin #ITSupport

0 0 0 0
Preview
Twitch Twitch is the world

épisode 4 du TP #serveur #web Linux, édition 2026, spécial débutants en #sysadmin, aujourd'hui on cause de #conteneur #docker et de #reverseproxy tout de suite sur twitch.tv/ahp_nils #twitchfr #twitchstreamer #TwitchStreamers #debian #ubuntu #virtualisation #nginx

2 1 1 0
Preview
Twitch Twitch is the world

épisode 3 du TP #serveur #web Linux, édition 2026, spécial débutants en #sysadmin, tout de suite sur twitch.tv/ahp_nils #twitchfr #twitchstreamer #TwitchStreamers #debian #ubuntu #virtualisation #mariadb #phpmyadmin #php #nginx

3 2 1 0

L’épisode 3 du TP #serveur #web #Linux, édition 2026, spécial débutants en #sysadmin aura lieu exceptionnellement lundi 23/02 à 18h #twitchfr #twitchstreamer #TwitchStreamers #debian #ubuntu #virtualisation #nginx #php #mariadb #wordpress

2 2 0 0

🛑 𝗗𝗲𝗹𝗹 - 𝗖𝗩𝗘-𝟮𝟬𝟮𝟲-𝟮𝟮𝟳𝟲𝟵

Cette faille critique dans Dell RecoverPoint est exploitée depuis mi-2024

Tous les détails sur IT-Connect 👇
- www.it-connect.fr/dell-recover...

#Dell #infosec #vmware #potatosecurite #virtualisation

0 0 0 0
Post image

🛑 𝗗𝗲𝗹𝗹 - 𝗖𝗩𝗘-𝟮𝟬𝟮𝟲-𝟮𝟮𝟳𝟲𝟵

Cette faille critique dans Dell RecoverPoint est exploitée depuis mi-2024

Tous les détails sur IT-Connect 👇
- www.it-connect.fr/dell-recover...

#Dell #infosec #vmware #cybersecurite #virtualisation

0 0 0 0
Preview
Twitch Twitch is the world

épisode 2 du TP serveur web Linux, édition 2026, spécial débutants en #sysadmin, tout de suite sur twitch.tv/ahp_nils #twitchfr #twitchstreamer #TwitchStreamers #debian #ubuntu #virtualisation #nginx

0 0 1 0
Preview
Alternatives à VMware : VergeIO à la conquête de l’Europe | LeMagIT L’éditeur américain signerait un nouveau contrat de migration tous les trois jours. Sa solution VergeOS, écrite d’un seul tenant pour virtualiser serveurs, stockage et réseau, consomme moins de ressou...

Connaissez‑vous VergeOS, alternative à VMware post‑Broadcom? 🇺🇸 éditeur vise maintenant 🇪🇺 : licences par serveur, déduplication en RAM, migrations rapides. Envie d'en savoir plus? 🔁 #Virtualisation https://bit.ly/4tATUIp

0 0 0 0

For a direct link to this article in full use this link to our article...techygeekshome.info/no-vmknic-tagged-for-man...

0 0 0 0
Overcoming the "No vmknic tagged for management" Error During ESXi 8.0.3 Installation with a USB NIC

Overcoming the "No vmknic tagged for management" Error During ESXi 8.0.3 Installation with a USB NIC

Overcoming the "No vmknic tagged for management" Error During ESXi 8.0.3 Installation with a USB NIC | #Evergreen #Guide #Virtualisation #VMWare 

0 0 1 0

For a direct link to this article in full use this link to our article...techygeekshome.info/vmware-vsphere-ha-failov...

0 0 0 0
VMWare vSphere HA Failover Error

VMWare vSphere HA Failover Error

VMWare vSphere HA Failover Error | #Evergreen #Guide #Virtualisation 

0 0 1 0
Preview
AHP_Nils - Twitch Sysadmin depuis près de 15 ans, j’utilise cette chaîne pour principalement deux choses : continuer à progresser dans des domaines technologiques, ainsi que partager mes apprentissages et découvertes.V...

c'est parti pour une série de lives dédiés aux débutants en #sysadmin ! TP serveur web Linux, édition 2026 #twitchfr #twitchstreamer #TwitchStreamers #debian #ubuntu #virtualisation twitch.tv/ahp_nils

5 2 1 0

For a direct link to this article in full use this link to our article...techygeekshome.info/vmware-esx-6-5-evaluatio...

0 0 0 0
VMWare Logo

VMWare Logo

VMWare ESX 6.5 Serial Number Activation | #Evergreen #Guide #Virtualisation 

0 0 1 0

For a direct link to this article in full use this link to our article...techygeekshome.info/vmware-7-licence/

0 0 0 0
VMWare VSphere Hypervisor 7 Activation

VMWare VSphere Hypervisor 7 Activation

VMware vSphere Hypervisor 7 License Serial Number Activation | #Evergreen #Guide #Virtualisation 

0 0 1 0

For a direct link to this article in full use this link to our article...techygeekshome.info/emc-recoverpoint-bios-pa...

0 0 0 0
EMClogo

EMClogo

EMC RecoverPoint BIOS Password | #Evergreen #Guide #Virtualisation 

0 0 1 0

For a direct link to this article in full use this link to our article...techygeekshome.info/reset-nutanix-prism-admi...

0 0 0 0
Reset Nutanix Prism Admin Password

Reset Nutanix Prism Admin Password

Reset Nutanix Prism Admin Password | #Evergreen #Guide #Virtualisation 

0 0 1 0