Virtual Cores, Real Performance: Measuring, Comparing, and Optimizing CPU Performance on VPS Hosting

The performance of virtual servers depends crucially on CPU performance. Especially with computationally intensive applications or heavily parallelized workloads, differences between individual providers and configurations are clearly noticeable. The distinction between single-core and multi-core performance is particularly relevant, as not every software effectively utilises multiple cores. The following article shows how to precisely measure, compare and improve the CPU performance of VPS hosting.
CPU Performance as a Critical Factor in VPS Hosting Performance
The central processing unit (CPU) of a server plays a crucial role in the performance of virtual machines. In VPS hosting (Virtual Private Server, VPS for short), CPU performance determines how fast and stable applications run, how many simultaneous processes can be handled, and how well the system responds under load. Unlike memory or storage, which can usually be clearly quantified, evaluating CPU performance in VPS hosting is more complex – mainly because it heavily depends on the virtualisation concept and the load on the physical host machine.
Role of the CPU in the overall performance of virtual servers
The CPU is the heart of every computing instance. It is responsible for executing all processes – from system services to web servers, databases, or analysis scripts. When CPU resources become scarce, performance issues quickly arise: processes are delayed, response times increase, and services can stall. CPU performance plays a central role, especially in web hosting, database applications, build processes, or Virtual Desktop Infrastructure (VDI). It's not just the number of assigned virtual cores (vCPUs) that matters, but also their actual performance under real load.
Tip: Also, check out the disk performance for VPS hosting
Differences from Dedicated Servers
Unlike dedicated servers, where the entire hardware is exclusively available, with VPS hosting, multiple instances share the physical infrastructure. While vCPUs are allocated to virtual machines, they access shared physical cores. This can lead to potential performance fluctuations, especially when high load from other VMs occurs on the host system (CPU steal time). Additionally, many providers use overcommitment – assigning more vCPUs than physically available – further diluting the available performance.
Why Single-Core and Multi-Core Performance Must Be Considered Separately
Not every application benefits equally from multiple CPU cores. Some programs – including many older or intentionally lightweight applications – primarily utilise only one core efficiently. In such cases, single-core performance is crucial. Modern database servers, compilers, or video processing systems, on the other hand, are often optimised for multi-core usage and scale with the number of available threads. For a realistic performance evaluation, a differentiated approach is necessary: having a high number of vCPUs is of little use if single-core performance is weak. Similarly, strong single-core performance cannot compensate for all weaknesses if many processes run in parallel.
A meaningful performance comparison must therefore analyse both aspects separately – only then can well-founded statements be made about the suitability of a VPS hosting for the respective intended use.
Tools and Methods for Performance Analysis on VPS Hosting
Reliably assessing the CPU performance of a VPS hosting requires more than just a cursory look at the number of assigned vCPUs. Concrete metrics and a differentiated view of actual utilization and performance are crucial. Various metrics and benchmarking tools help to make both short-term snapshots and long-term performance patterns visible.
Important metrics include:
- Clock Speed
Specifies the theoretical computing power per core, typically in GHz. However, on VPS hosting, the effective clock speed is often dynamic and depends on the host system settings. Some providers deliberately limit the maximum frequency per vCPU or disable turbo boost functions to control peak loads.
- Load Average
Indicates how many processes are waiting for CPU execution simultaneously. A sustained load above the number of available vCPUs indicates overload. It is important to differentiate between short-term peaks and chronic overload.
- Steal Time
A key metric in virtualized systems. It measures the time the VM would have needed computing time but was not served by the hypervisor because other VMs took precedence. A high steal time indicates resource scarcity or heavily overbooked host systems – an indicator of performance issues that lie outside of one's own VM configuration.
- CPU Utilization
Indicates how heavily the assigned vCPUs are actually utilized. High utilization can indicate efficient usage, but also bottlenecks – especially when the load is high simultaneously and the steal time increases.
Tools such as htop, vmstat, iostat, dstat, or specialised monitoring tools like Netdata or Grafana with Telegraf/Prometheus are suitable for analysing these metrics.
Single-Core vs. Multi-Core Performance: What Matters?
A comprehensive performance test must differentiate between the performance of a single virtual core and the system's ability to efficiently use multiple cores simultaneously:
- Single-Core Performance
Relevance is especially important for applications that work sequentially or are not optimised for parallelisation (e.g. certain web applications, database queries, smaller scripts). Here, the focus is on IPC (Instructions per Cycle), cache performance, and effective CPU clock speed. Tools like Geekbench or sysbench can be specifically configured for single-thread tests.
- Multi-Core Performance
Shows how well the system performs with parallelised tasks (e.g. compilations, rendering, simultaneous database access). Scalability effects and the ratio of theoretical to achievable performance are important here. Tools such as sysbench, UnixBench, 7-Zip Benchmark, stress-ng, or Geekbench are suitable. These tools simulate typical multithreading scenarios and provide comparable metrics.
It is important for all tests to be conducted in a as "disturbance-free" state of the system – i.e. no parallel running Cronjobs, software updates, or other background processes. Running multiple tests at different times of the day helps to identify load peaks on the host, especially when Steal-Time values fluctuate significantly.
Only through a combination of system-level metric monitoring and targeted benchmarks can the CPU performance of a VPS hosting be realistically assessed – and thus provide the basis for informed optimisations.
Overview of some of the mentioned tools and how they can assist in analysing CPU performance on VPS hosting:
Tools for Continuous CPU Performance Monitoring
htop
Description:
Interactive process monitor, graphically and colourfully presented, terminal-based.
Relevance for CPU analysis:
- Shows real-time usage per CPU core.
- Visualises processes, CPU Steal-Time, and priorities.
- Enables quick identification of whether individual cores are overloaded or if processes are evenly distributed.
Special Features:
The display of Steal-Time is particularly helpful in identifying host system overload on VPS hosting.
vmstat
Description:
Tool for displaying system performance in various areas (CPU, memory, I/O).
Relevance for CPU analysis:
- Displays key CPU metrics such as user, system, and idle time, as well as steal time (st) in a single line.
- Well-suited for continuous monitoring in scripts or long-term logs.
Special features:
vmstat 1 displays current values every second – useful for identifying peak loads.
iostat
Description:
Part of sysstat, originally for I/O analysis, but also includes CPU evaluation.
Relevance for CPU analysis:
- Shows CPU utilisation by categories (User, System, Idle, I/O Wait, Steal).
- Helpful for correlating CPU idle time with I/O wait times or steal time.
Special features:
Can be combined with disk performance analysis to comprehensively understand performance bottlenecks.
These tools, when used together, provide a comprehensive view of CPU usage on VPS hosting. While htop is particularly useful for interactive real-time analysis, vmstat and iostat offer reliable metrics for longer-term measurements and script integration.
Measuring CPU Performance on the VPS Hosting with Benchmark Tools
As part of our VPS hosting test, we use the Geekbench benchmark tool to measure CPU performance.
Geekbench is a cross-platform benchmark designed specifically to objectively measure CPU performance and present results in a comparable way. The test includes a series of practical tasks such as data compression, image processing, machine learning, and encryption – both in single-core and multi-core modes. For VPS hosting, Geekbench offers the advantage of being quick and easy to run without requiring deep system modifications. Upon completion of the test, a link to a detailed online result report is generated, allowing comparison with other systems. This not only highlights performance differences between different VPS hosting plans or providers but also helps assess the impact of host load and virtualization strategy.
Geekbench automatically displays the measurement results on its own website after the test is completed. The benchmark client uploads the results online and makes them available under a unique URL in the Geekbench Browser. There, the single-core and multi-core scores, as well as detailed information on tested areas such as image processing, data compression, or machine learning, are presented in a clear format. The publicly accessible display also allows for direct comparison with other systems and VPS configurations worldwide.
Other suitable benchmark tools include sysbench, 7-Zip Benchmark, or UnixBench.
CPU Performance of VPS Hosting: How We Measure with Geekbench
To objectively evaluate the CPU performance of VPS hosting, we conduct the Geekbench benchmark directly on the respective VPS as part of our VPS hosting tests. This tool is part of the popular test script YABS (Yet Another Bench Script), which we use to automate the analysis of various performance aspects of the server – including network speed, disk performance, and processor performance. Using Geekbench, we measure both the Single-Core Value and the Multi-Core Value, which are then incorporated into our performance evaluation of the VPS.
What CPU Benchmarks on VPS Hosting Tell Us – and What They Don't
Benchmark results provide valuable guidance on the CPU performance of a VPS hosting, but should always be interpreted in the context of your own workload.
A high Multi-Core Score, for example, is only relevant if the applications being used actually generate parallelized computational load. Similarly, a strong Single-Core Performance in benchmarks can be misleading if it only reflects short-term burst performance that collapses under sustained load due to thermal or virtual limitations.
Especially in virtualized environments, external factors such as the load from neighbours on the host system or the lack of CPU pinning should be considered, as they can influence the results. Benchmarks therefore demonstrate the potential of a system, not necessarily its consistent performance in everyday use.
What Values are Good for CPU Performance?
The following benchmarks for Single-Core and Multi-Core CPU Performance are considered good, fair, or poor:
The measurement for Single Core CPU Value must be in the range of over 1250 to be classified as good. Values between 1250 and 1000 are considered fair. Any values below 1000 are deemed poor.
The measurement for Multi Core CPU Value must be in the range of over 2000 to be classified as good. Values between 2000 and 1500 are considered fair. Any values below 1500 are deemed poor.
Discover which VPS hosting performs best in our CPU performance test:
The fastest providers from our vServer test
Provider ↕ | Single Core ↕ | Multi Core ↕ | Read Write ↕ | IOPS ↕ | Overall Score ↕ |
---|
Optimisation: Maximising Performance from the Virtual Private Server
The measured CPU performance of a VPS hosting can not only be documented but also improved strategically – both through selecting the right provider and plan, as well as through software optimisations. It is important to note that simply increasing the number of assigned vCPUs does not necessarily equate to better performance. Many VPS offerings are based on shared hosting principles, where virtual CPUs are allocated computationally but not provided exclusively on a physical level. Those in need of more performance must therefore delve deeper into the tariff structure and technical conditions.
- Choosing the Right Plan: More vCPUs ≠ Better Performance
A common misconception is that upgrading to a plan with more vCPUs automatically leads to a noticeable performance boost. In reality, the performance effect heavily depends on the virtualisation concept, the host system's workload, and the provider's prioritisation. In some cases, smaller plans with more dedicated CPU access deliver more consistent performance than highly equipped packages with significant overcommitment.
- Provider Selection: CPU Allocation Policies and Overcommitment Strategies
Not all hosts manage CPU resources in the same way. While some providers guarantee "fair usage" and throttle in case of overuse, others explicitly offer vCPUs with dedicated clock speeds or even reserved cores. Overcommitment is also critical – the ratio between physically available and virtually allocated CPU resources. Those in need of maximum stability and performance should specifically look for plans with little or no overcommitment or prefer providers with dedicated CPU guarantees.
- Workload-Specific Optimisations: Process Prioritisation and Parallelisation
At the operating system level, advantages can be gained through targeted process prioritisation (nice, ionice) or by adjusting the number of processes. Programs that work in parallel should be configured to efficiently utilise the available threads – neither underutilising nor overloading them. Workloads that can be parallelised also benefit from tools like taskset or numactl to control CPU usage effectively.
- Kernel and Software Optimisation: Compiler Flags and Architecture Alignment
When compiling your own software on the Virtual Private Server, you can maximise performance from the underlying architecture by using optimised compiler flags (-march=native, -O2, -pipe). Additionally, choosing a kernel suitable for the virtualisation setup (such as with an optimised I/O scheduler or lower latency) can measurably improve performance in specific cases. For data-intensive applications, fine-tuning caches, thread pools, and query planners can also be beneficial.
- Containerisation instead of traditional VPS?
For certain use cases, transitioning to container-based environments like Docker or LXC can be advantageous. Containers are more resource-efficient than fully virtualised systems and provide the ability to isolate and optimise individual processes. When providers host containers directly on bare-metal systems, more performance per CPU cycle can often be achieved. Simultaneously, containerisation allows for finer tuning and better resource control during operation.
Efficiently utilising the available CPU performance on a VPS hosting is not just about raw hardware power, but requires a combination of provider choice, system configuration, and application-specific fine-tuning. Considering these factors can help create a stable and high-performing environment even with limited resources.
Conclusion: Realistically Assessing CPU Performance on VPS Hosting
CPU performance is a crucial factor for virtual server performance – and simultaneously one of the most challenging to evaluate. Unlike with dedicated hardware, virtualisation technology, resource allocation, and neighbour load can significantly impact the actual computing power available. Therefore, it is essential to consider both single-core and multi-core performance separately, as different applications have different requirements.
System-level tools like htop, vmstat, or dstat, as well as benchmark programs like Geekbench, are suitable for measurement and provide representative comparison values. Remember: benchmarks demonstrate the theoretical performance potential, not necessarily the consistent everyday usability of a system.
For a thorough evaluation, the measurement results should always be interpreted in the context of your own workload. To avoid performance issues, it is advisable to choose providers with transparent CPU allocation policies and prefer plans with low overcommitment. In addition, workload-specific optimizations, custom process management, or even the use of containers can help to maximise the performance of the VPS hosting.
Only those who understand, measure, and optimise the available CPU resources can reliably and efficiently operate virtual servers.
Our article is based on our own experiences and research, as well as information from external sources.
Sources & further links on the topic:
https://www.geekbench.com/ (cross-platform benchmark software)
Image credit:
kp yamu Jayanath on Pixabay
The fastest providers from our vServer test
Provider ↕ | Single Core ↕ | Multi Core ↕ | Read Write ↕ | IOPS ↕ | Overall Score ↕ |
---|
Write a comment
- VServer
Tags for this article
More web hosts
More interesting articles
Buy or Rent VPS Hosting?
Do you really need to buy your own VPS Hosting or is renting a system the better solution? These and other questions wil...