So I've repeated running my standard Phoronix Test Suite benchmarks on several of the latest mini PCs each running the latest updated Ubuntu 18.04.2 software with the same Ubuntu 4.15.0-54 kernel.
Specifically the mini PCs I've used are as follows:
- Intel NUC NUC7CJYSAL (Celeron J4005 Gemini Lake)
- Pepper JobsGLK-UC2X (Celeron N4100 Gemini Lake)
- Beelink Gemini X X45 (Celeron J4105 Gemini Lake)
- Beelink Gemini X X55 (Pentium Silver J5005 Gemini Lake) with updated BIOS
- Intel NUC NUC7PJYH (Pentium Silver J5005 Gemini Lake)
- Beelink L55 (i3-5005U Broadwell)
Where possible I've used the same pair of 4GB SAMSUNG M471A5244BB0-CRC 2400 MT/s DDR4 RAM modules and an Intel SSDSCKJF180A5 SATA 180GB 2280 M.2, either natively attached or housed through an adaptor in a 2.5" SSD enclosure, so that the SOCs maybe more equally compared.
Phoronix Test Suite
Phoronix Test Suite is a testing and benchmarking platform written in PHP5 language. Whilst many tests are available I've only considered tests that focus on server performance to evaluate CPU, RAM and I/O performance:
- CacheBench – Memory and cache bandwidth performance benchmark.
- CLOMP – C version of the Livermore OpenMP benchmark developed to measure OpenMP overheads and other performance impacts due to threading.
- 7-Zip compression – Uses p7zip integrated benchmark feature.
- dcraw – This test measures the time it takes to convert several high-resolution RAW NEF image files to PPM image format using dcraw.
- LAME MP3 encoding – This test measures the time required to encode a WAV file to MP3 format.
- FFmpeg – Audio/video encoding performance benchmark.
- OpenSSL – Measures RSA 4096-bit performance of OpenSSL.
- PHPBench – Benchmark suite for PHP.
- PyBench – Python benchmark suite.
- SQLite – This test measures the time to perform a pre-defined number of insertions on an indexed database
- Stream – This benchmark tests the system memory (RAM) performance.
- TSCP – Performance benchmark built-in Tom Kerrigan’s Simple Chess Program.
- Unpacking the Linux kernel – This test measures the time it takes to extract the .tar.bz2 Linux kernel package.
- GMPbench – Test of the GMP 5.0.3 math library
- IOzone – Tests the hard disk drive / file-system performance.
so the following bar chart maybe easier to understand:
The results clearly show some anomalies. The Beelink X45 and X55 devices show much lower read performance in the IOzone test and this impacts the performance in the SQLite tests. Interestingly the DDR3 memory of the L55 device shows best performance for CacheBench and CLOMP tests. The NUC7CJYSAL's dual-core without hyper-threading impacts the performance for 7-Zip compression, LAME MP3 encoding and FFmpeg encoding. CPU throttling occurred on the X55 as evidenced on the 'dmesg' impacting some of the results:
[ 6667.805628] CPU3: Core temperature above threshold, cpu clock throttled (total events = 1)
[ 6667.805630] CPU2: Core temperature above threshold, cpu clock throttled (total events = 1)
[ 6667.805631] CPU0: Core temperature above threshold, cpu clock throttled (total events = 1)
[ 6667.805633] CPU1: Core temperature above threshold, cpu clock throttled (total events = 1)
[ 6667.805637] CPU2: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 6667.805638] CPU0: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 6667.805639] CPU1: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 6667.805647] CPU3: Package temperature above threshold, cpu clock throttled (total events = 1)
[ 6667.806608] CPU1: Core temperature/speed normal
[ 6667.806609] CPU0: Core temperature/speed normal
[ 6667.806612] CPU0: Package temperature/speed normal
[ 6667.806612] CPU1: Package temperature/speed normal
[ 6667.806630] CPU3: Core temperature/speed normal
[ 6667.806632] CPU2: Core temperature/speed normal
[ 6667.806634] CPU2: Package temperature/speed normal
[ 6667.806635] CPU3: Package temperature/speed normal
Similarly this benchmark also focuses on server performance and uses the following tools:
- tinymembench – Checks for both memory bandwidth and latency in a lot of variations.
- cpuminer – Checks for appropriate heat dissipation and instabilities under load.
- 7-zip – Represents 'server workloads in general'.
- OpenSSL – Solely focuses on AES performance.
glmark2
This OpenGL (ES) 2.0 benchmark suite was run using 1920×1080 resolution.
Compile Linux
The following packages were first installed: git build-essential flex bison kernel-package fakeroot libncurses5-dev libssl-dev kernel-wedge libelf-dev devscripts rsync gawk. The kernel source code was then downloaded with the command 'git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git -b v5.2'. Then after making the default config the kernel was timed compiling with the command 'time LOCALVERSION= fakeroot make-kpkg -j$(nproc --all) --initrd kernel_image kernel_headers'.
zip Linux
The kernel source code (downloaded with 'git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git') was timed for zipping with the command 'time zip -r linux.zip linux'.
unzip Linux
The previously zipped kernel source was timed unzipping with the command 'time unzip linux.zip'.
iozone
The iozone command was run with the command 'sudo iozone -e -I -a -s 1G -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2' and the read and write results for 16384k recorded in the table below.
octane
Chrome was installed and Octane 2 was run from 'https://chromium.github.io/octane/'.
A summary of the results from each of the above benchmark tests is as follows:
Each benchmark was run when the average load was less than 0.1. For each of the sbc-bench runs the full results uploaded to http://ix.io were checked for throttling and noted in the table. Slight throttling occurred on the X45 and NUC7PJYH whereas the X55 CPU got the hottest and suffered the most throttling as a consequence. The I/O read speeds for the Beelink X45 and X55 devices were nearly half that of the other devices which was also highlighted by the Phoronix IOzone test. The memory benchmark results were lower for the X45 as a result of only having 4GB of RAM and the consequence of this can be seen reflected in other test results.
Overall the results show that a greater number of CPU cores and higher CPU clock speeds do improve performance. However the gains are somewhat marginal and vary between the tasks being performed so the cost associated with 'better' CPUs should equally be considered when choosing a mini PC. The effectiveness of thermal management should also be noted especially if the CPU load is expected to be high as it can significantly affect the performance whilst executing such tasks.
5 comments:
A new speculative vulnerability has been found: SWAPGS. Phoronix are reporting an expected performance hit of 1% or less based on the mitigated linux-image-unsigned-5.3.0-999-generic_5.3.0-999.201908062206_amd64.deb kernel ... see https://www.phoronix.com/scan.php?page=article&item=swapgs-spectre-impact&num=4
Hi, are the phoronix results available on openbenchmarking.org site so I can easily compare it with my mini pc?
No as I didn't upload them to openbenchmarking.org.
Thanks for doing all this work must of took some time. All most a year ago I got a mini type PC. Not sure of it's name but if you look up "core i9 aliexpress mini pc" my find it. It's been working real good. Got it bar with no RAM or Hard drive and had to buy them. Got Ubuntu Linux 18.04.2 server in it. Linux 4.15.0-72-generic on x86_64 Intel(R) Core(TM) i7-6785R CPU @ 3.30GHz, 8 cores it's been working real good. Is there a way on this server to run some test like you to see what score it would get?
sbc-bench can be downloaded from https://github.com/ThomasKaiser/sbc-bench and all of the tests can be run using the commands in the text above.
Post a Comment
All comments now moderated so that spam can be deleted.