Bare metal servers typically provide more powerful and consistent performance to virtual machines.
At its most basic, server performance is how much you can get out of your computer for the tasks you need doing. Various factors, from both hardware and software, can impact the performance of a server. Lower performance can cause a reduction in productivity or bad user experience. For example, a poorly performing game server can translate into latency, experienced by the gamer as hiccups or lag in their game.
Bare metal server refers to the literal physical machine, also known as a dedicated bare metal server. A bare metal server is dedicated to a single client known as a “tenant”. Bare metal can process more data than any other solution precisely because you can allocate all of the server’s resources to your dynamic workload. To understand when you should use bare metal servers, check out our guide on where bare metal hosting makes sense.
A virtual machine can be created inside a bare metal server. A virtual machine forms a new software layer within the server which the tenant can use as an independent computer. Splitting physical machines into VMs is called virtualization. A single physical machine can therefore run multiple VMs. However, the VMs all share the same physical resources, such as RAM and CPU.
The virtualization technology that creates the virtual layer is called a hypervisor – a layer of software that manages and allocates the physical resources between the VMs. Running a hypervisor comes with a “tax” on performance. Simply installing and running a hypervisor automatically creates an overhead of between 5 – 10% on the physical server resources before any other usage has taken place.
Once a hypervisor is installed, virtual machines can share the physical resources of a bare metal server. If a neighboring tenant runs a resource-heavy application, this can impact the performance of your VM as more of the communal resources are redirected. You can expect an additional 20-30% loss of performance due to the noisy neighbor effect. The variability of other tenant’s usage is also what contributes to the inconsistency of VMs.
Containers – a method of running and transporting applications safely between different IT environments – can be installed directly on a physical server, which has been found to significantly improve containerized workloads. Container performance on bare metal can be 25-30% better. A study by Centurylink (now known as Lumen) found that popular container orchestration system Kubernetes had 3x lower latency on bare metal compared to a VM.
VMs can offer a reduced performance to bare metal due to the overhead on performance from the hypervisor installation, and the potential drain on physical resources from neighboring VMs. Consistent results can enable businesses to forecast trends, player numbers and other data to effectively budget and plan for the future. Workloads that require high performance and consistency can benefit from bare metal servers.
Various factors, from both hardware and software, can impact the performance of a server. While VMs offer businesses a lot of benefits through their flexibility, they are often prone to latency due to two main factors: the “hypervisor tax” and the “noisy neighbor” effect.