Hetzner Servers Benchmarks

I wanted to quickly compare how different Hetzner servers are doing (especially in single-threaded), for CPU-intensive tasks.

I ran sysbench on three different machines:

  • Hetzner Cloud CPX21 (AMD EPYC Processor, 3vCPU, 4GB RAM) ~9EUR/mo
  • Hetzner Dedicated EX44 (i5-13500, 64GB RAM) ~40EUR/mo
  • Hetzner Server Auction (i7-8700 128GB RAM) ~ 40EUR/mo

Benchmark

Install

sudo apt-get install sysbench

Run

Each benchmark is run 3 times and the best result is taken.

sysbench cpu run
sysbench --threads="$(nproc)" cpu run

Results summary

Results - Single Thread

EX44 - Score: 4133.64

CPU speed:
    events per second:  4133.64

General statistics:
    total time:                          10.0001s
    total number of events:              41341

Latency (ms):
         min:                                    0.24
         avg:                                    0.24
         max:                                    1.38
         95th percentile:                        0.24
         sum:                                 9997.37

Threads fairness:
    events (avg/stddev):           41341.0000/0.00
    execution time (avg/stddev):   9.9974/0.00

CPX21 - Score: 1617.52

CPU speed:
    events per second:  1617.52

General statistics:
    total time:                          10.0004s
    total number of events:              16180

Latency (ms):
         min:                                    0.60
         avg:                                    0.62
         max:                                    1.61
         95th percentile:                        0.63
         sum:                                 9992.39

Threads fairness:
    events (avg/stddev):           16180.0000/0.00
    execution time (avg/stddev):   9.9924/0.00

Server Auction - Score: 1480.96

CPU speed:
    events per second:  1480.96

General statistics:
    total time:                          10.0004s
    total number of events:              14812

Latency (ms):
         min:                                    0.63
         avg:                                    0.67
         max:                                    5.08
         95th percentile:                        0.70
         sum:                                 9996.86

Threads fairness:
    events (avg/stddev):           14812.0000/0.00
    execution time (avg/stddev):   9.9969/0.00

Results multi-thread

EX44 - 20 Threads - Score: 50234.72

CPU speed:
    events per second: 50234.72

General statistics:
    total time:                          10.0004s
    total number of events:              502411

Latency (ms):
         min:                                    0.31
         avg:                                    0.40
         max:                                    2.83
         95th percentile:                        0.50
         sum:                               199942.86

Threads fairness:
    events (avg/stddev):           25120.5500/5829.86
    execution time (avg/stddev):   9.9971/0.00

CPX21 - 3 Threads - Score: 4835.93

CPU speed:
    events per second:  4835.93

General statistics:
    total time:                          10.0005s
    total number of events:              48367

Latency (ms):
         min:                                    0.59
         avg:                                    0.62
         max:                                    6.65
         95th percentile:                        0.63
         sum:                                29973.72

Threads fairness:
    events (avg/stddev):           16122.3333/13.82
    execution time (avg/stddev):   9.9912/0.00

Server Auction - 12 Threads - Score: 13043.05

CPU speed:
    events per second: 13043.05

General statistics:
    total time:                          10.0012s
    total number of events:              130462

Latency (ms):
         min:                                    0.79
         avg:                                    0.92
         max:                                   36.89
         95th percentile:                        0.92
         sum:                               119976.77

Threads fairness:
    events (avg/stddev):           10871.8333/179.77
    execution time (avg/stddev):   9.9981/0.00
â„šī¸
If you are new to Hetzner, you can use my referral link to get â‚Ŧ20 in cloud credits:
https://hetzner.cloud/?ref=UbRqvwvi1mfG

Conclusions

It seems like the EX44 has excellent value.

The EX44 server seems to have the best CPU performance, at a similar price with the older i7-8700 server. You might still want the auction server one if you need more RAM/storage (as it comes with 2x RAM and 2X storage for same price, but around 1/2 CPU performance).

The CPX21 server does reasonably well in single-core (matching an i7-8700), and it scales well on multicore (3x faster with 3 threads).

Going forward, I would likely focus more on the dedicated line with new AMD/Intel processors, as the single-core and multicore performance is drastically better than previous gen CPUs.

SPONSORED
CTA Image

Stop using multiple tools trying to understand your users.
Replace GA and Hotjar with a self-hosted platform!

Get unlimited access to:
* 📊Stats, đŸ”ĨHeatmaps, 📹Recordings
* 🌓A/B tests, 🌟Events, đŸŽ¯Goals
* đŸ‘ĨSegments, 🤖Ask AI, đŸĒ˛Error Tracking and more!

Install UXWizz on your server!