pveperf

Simple host performance test.

(from man page)

USAGE

pveperf [PATH]

DESCRIPTION

Tries to gather some CPU/Hardisk performance data on the hardisk mounted at PATH (/ is used as default)

It dumps on the terminal:

  • CPU BOGOMIPS: bogomips sum of all CPUs
  • REGEX/SECOND: regular expressions per second (perl performance test), should be above 300000
  • HD SIZE: harddisk size
  • BUFFERED READS: simple HD read test. Modern HDs should reach at least 40 MB/sec
  • AVERAGE SEEK TIME: tests average seek time. Fast SCSI HDs reach values < 8 milliseconds. Common IDE/SATA disks get values from 15 to 20 ms.
  • FSYNCS/SECOND: value should be greater than 200 (you should enable “write back” cache mode on you RAID controller – needs a battery backed cache (BBWC)).
  • DNS EXT: average time to resolve an external DNS name
  • DNS INT: average time to resolve a local DNS name

Note: this command may require root privileges (or sudo) to run, otherwise you get an error after “HD SIZE” value, like: <<sh: /proc/sys/vm/drop_caches: Permission denied unable to open HD at /usr/bin/pveperf line 149.>>

Example output

CPU BOGOMIPS: 26341.80 REGEX/SECOND: 1554770 HD SIZE: 94.49 GB (/dev/mapper/pve-root) BUFFERED READS: 49.83 MB/sec AVERAGE SEEK TIME: 14.16 ms FSYNCS/SECOND: 1060.47 DNS EXT: 314.58 ms DNS INT: 236.94 ms (mypve.com)

Actual result from a AMD Athlon(tm) II Neo N36L Dual-Core Processor with 8GB RAM:

CPU BOGOMIPS: 44900.72
REGEX/SECOND: 1164380
HD SIZE: 94.49 GB (/dev/mapper/pve-root)
BUFFERED READS: 123.27 MB/sec
AVERAGE SEEK TIME: 10.03 ms
FSYNCS/SECOND: 1192.63
DNS EXT: 359.63 ms
DNS INT: 353.97 ms (local)
Actual result from  Intel(R) Core(TM) i7 CPU 930 @ 2.80GHz with 16GB RAM:
CPU BOGOMIPS: 5191.06
REGEX/SECOND: 522012
HD SIZE: 94.49 GB (/dev/mapper/pve-root)
BUFFERED READS: 114.34 MB/sec
AVERAGE SEEK TIME: 20.70 ms
FSYNCS/SECOND: 687.91
DNS EXT: 356.64 ms
DNS INT: 383.46 ms (local)

How to measure performance on a Proxmox host