How to use the command pveperf (with examples)
The pveperf
command is a benchmarking tool in Proxmox Server that allows users to gather CPU and hard disk performance data for a specified hard disk. It provides valuable information about the performance of the system, helping in performance optimization and troubleshooting.
Use case 1: Show CPU and hard disk performance data for the hard disk mounted at ‘/’
pveperf
Motivation:
The motivation behind using this example is to quickly obtain performance data for the hard disk mounted at the root /
directory. This information can be useful to identify any potential bottlenecks or performance issues that may be impacting the overall system performance.
Explanation:
The pveperf
command without any arguments gathers CPU and hard disk performance data for the specified hard disk. By default, it collects and reports various performance-related metrics including throughput, latency, and IOPS.
Example output:
CPU BOGOMIPS: 4007.96
CPU CACHE: 4096 KB
CPU CORES: 4
CPU FAMILY: 6
CPU FREQUENCY: 3192.525 MHz
CPU MODEL: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
CPU VENDOR_ID: GenuineIntel
HDD SIZE: 238.47 GB
HDD WRITE: Average: 222.65 MB/s, Maximum: 286.18 MB/s
HDD READ: Average: 268.78 MB/s, Maximum: 338.78 MB/s
In the example output above, the CPU-related information includes the CPU model, frequency, and number of cores. The hard disk performance data includes the size of the hard disk and the average and maximum read/write speeds. This information helps in analyzing the performance of the hard disk and identifying any potential issues or areas for improvement.
Conclusion:
The pveperf
command is a useful tool for benchmarking and gathering performance data for CPU and hard disk. By using the pveperf
command with the appropriate arguments, users can quickly obtain important insights into the performance of their system, allowing them to optimize and troubleshoot performance-related issues effectively.