Infrastructure & virtualisation

Proxmox Running Slow: CPU, RAM and Disk Checks

Isolate Proxmox performance problems across CPU, memory, disk and network layers. Measure performance and compare changes before adding resources.

If Proxmox is running slowly, locate the delay before increasing resources. Is the panel slow to load, is a single VM slow, or are all machines on the same storage affected? Comparing CPU, RAM and disk indicators over the same time period is more useful than randomly changing hardware settings.

The aim is to establish a diagnostic sequence based on measurements, without promising a specific speed increase. If you are planning to increase the number of VMs, you can proceed to the Proxmox capacity planning guide after this article.

Describe the slowdown precisely

Instead of “it hangs in the evenings”, record the time, the VM affected, the operation performed, and the approximate response time. For example, file copies and database queries create different workloads. A problem with one workload does not prove that all the virtual hardware is underpowered.

Try the same job again at an off-peak time. If the data, application, and number of concurrent jobs used in the test vary, do not directly compare the two results. Starting a large disk test in production may also impact other services; use existing monitoring data first.

Do not interpret CPU usage in isolation

Open the host's total CPU chart and the affected VM's chart together. A single process in the guest may be busy even when the host has spare capacity. A low total CPU percentage does not mean that a single-threaded application is not waiting.

Inside a Linux guest, the output of top helps you identify which process is using resources. If a process corresponds to the increase in workload, investigate the application as well. Allocating more vCPUs does not guarantee that the application will use those cores. Keep the change small and measure the same workload again under the original conditions.

Distinguish RAM usage from memory pressure

Linux can use free memory for file caching. Therefore, do not decide that the RAM is exhausted just by looking at the "used" value. Evaluate available memory, swap activity and application behavior together. Host and guest memory are separate layers. Record the output from each separately.

free -h
vmstat 1 5

Note which system you are running the commands on. The first line of vmstat output covers a different time period from subsequent samples. Do not infer sustained load from a single line. The use of swap may also reflect a past event. Watch swap activity during the slowdown for a more useful indication.

Investigate disk I/O waits

If multiple VMs are slowing down at the same time, check the activity on shared storage. Backups, replication, heavy writes or latency on network storage may coincide with the slowdown. Also examine the free space; capacity and access time are separate measurements.

ObservationRecord to compare
Slowdown during backupsBackup task start/end
Multiple VMs on the same storage are affectedStorage and connection status
Single application slowGuest process and application logs
Only external access is slowNetwork path, DNS and packet loss

Do not change the disk cache setting just for speed. When writes reach persistent storage, and what happens during a power failure, depend on the hardware. Evaluate the options in Proxmox's virtual disk documentation in the context of your own storage. A choice that reduces data integrity is not considered successful optimization.

Check VirtIO and guest drivers

Check the drivers used for the virtual network and disk devices. Proxmox's performance notes cover VirtIO. For Windows guests, appropriate drivers must be prepared separately. Changing the controller of the running system disk without installing the required driver can prevent it from booting.

So try it on the test VM first, save the last working configuration and prepare a rollback procedure. If you are considering changing the storage architecture, the ZFS, LVM-thin and Ceph comparison is a separate decision guide; it does not replace checking the drivers.

Measure the result by repeating the same process

Make a change, re-run the same workload and record the duration. Changing the CPU model, RAM, disk cache, and network device simultaneously leaves it unclear which change had an effect. Record occasional long waits as well as the average duration.

If the change didn't work, revert to the old setting and test another hypothesis. You can use the monitoring and incident management guide to establish ongoing monitoring. Determining service packages based on this data is a healthier business decision than trying to sell more resources at every slowdown.

Frequently asked questions

Would giving more RAM to each VM be a solution?

It may only help if the problem is lack of memory. Allocating more than the host can support may affect other machines.

Does the slowness of the Proxmox panel indicate that the VM is also slow?

No. Measure the management connection and the guest application response separately. Panel latency alone does not measure service performance.