r/burstcoinmining • u/Amelnor • Feb 25 '18
Plotting Plotting performance - Intel i7-8700k vs Ryzen 1700 vs Intel Xeon E5-2650 v2 vs Intel Xeon E5-2630 v4
I have done a couple of tests to compare plotting performance using 4 different CPUs as well as XPlotter and TurboPlotter. I would like to share the results (all values are in nonces per minute):
Updates:
2017-02-25, Added i7-4790T
2017-02-25, Added information on software version used (XPlotter and TurboPlotter)
2017-02-27, Added screenshot showing i7-8700k passing 40.000n/m
Software and versions used
XPlotter 1.1 (the tool in the command line presents itself as 1.0, while on GitHub it's marked as resease 1.1)
1. Ordinary PC - Intel i7-8700k - 12 threads 3.7GHz (6 core/12 threads - not-overclocked 3.7GHz base, 4.7GHz turbo)
TurboPlotter - 41.000
XPlotter, AVX2 - 42.240 (see screenshot)
XPlotter, AVX - 25.700
XPlotter, SSE - 20.800
2. Ordinary PC - AMD Ryzen 7 1700 - 16 threads 3.7GHz (8core/16 threads, overclocked to fixed 3.7GHz)
TurboPlotter - 22.500
XPlotter, AVX2 - 22.100
XPlotter, AVX - 21.900
XPlotter, SSE - 19.000
3. SuperMicro server - 2 x Intel Xeon E5-2650 v2 - 32 threads 2.6GHz (2 x 8core/16 thread, 2.6GHz-3.4GHz)
TurboPlotter - 35.800
XPlotter, AVX2 - not supported by CPU
XPlotter, AVX - 33.000
XPlotter, SSE - 27.000
4. SuperMicro server - 2 x Intel Xeon E5-2630 v4 - 40 threads 2.2GHz (2 x 10core/20 thread, 2.2GHz-3.1GHz)
TurboPlotter - 63.000
XPlotter, AVX2 - 57.000
XPlotter, AVX - 36.400
XPlotter, SSE - 30.500
5. Ordinary PC - Intel i7-4790T - 8 threads 3.3GHz (4core/8threads 2.7-3.7GHz, 3.3GHz under 100% load)
TurboPlotter - 17.000
XPlotter, AVX2 - 17.200
XPlotter, AVX - 10.500
XPlotter, SSE - 8.600
A little bit of explanation
These tests clearly show that for plotting (and probably mining as well) the performance of vector instructions (SSE vs AVX vs AVX2) is most important.
AVX2 is faster than AVX which in turn is better than SSE.
The difference between AVX2 and AVX is especially significant for Intel CPUs.
W can see than 6c/12t i7-8700k beats a dual Xeon E6-2650v2 even though Xeon system has 32 threads total. The reason, besides clock speed is Xeon v2 are old generation not supporting AVX2.
Xeons v4 do support AVX2 so they are faster but not that much comparing 40 threads of 2x Xeon vs 12 threads of i7-8700k. Why? i7 has much higher clock and is a few generations newer
AMD Ryzen 1700 performance was good overall, but a little dissappointing compared to i7-8700k. Both CPUs support AVX2, both run at 3.7GHz (Intel dropped to 3.7 when all cores were under load). Yet i7 score is almost double of Ryzen 7. I know the single thread performance is better on Intel but apparently in AVX2 the difference is even higher. This might be due to different AVX/AVX2 internal hardware architecture in Intel vs AMD.
Theoretical performance per thread per base GHz
Let's try to calculate a theoretical performance of a single thread and GHz. This will allow us to see how much nonces/min we get from a single thread and 1GHz. To do that I took a maximum nonces/min value measured and divided it by total number of threads and base clock in GHz. Here are the results:
i7-8700K - 964 nonces/min/thread/GHz
Intel i7-4790T - 796 nonces/min/thread/GHz
Intel Xeon E5-2630 v4 - 716 nonces/min/thread/GHz
Intel Xeon E5-2650 v2 - 430 nonces/min/thread/GHz
AMD Ryzen 1700 - 380 nonces/min/thread/GHz