|
【Hardware】
Performance issues/questions
Posted at 5/21/2018 03:04:07
View:4392
|
Replies:2
Print
Only Author
[Copy Link]
1#
Last edited by ArkadiuszRaj In 5/22/2018 02:27 Editor
Hi,
Recently I have received parcel with this tiny beast. Well, after downloading regular ubuntu image I have immediately run into testing using sysbench. Why? I wanted to compare it with Rock64 device.
Both running default images build on top of Ubuntu 16.04, added only sysbech & iperf packages.
CPU prime number test, 1-thread: 4.43s (roc-rk3328-cc) vs 4.71s (Rock64)
Memory transfer using 1M blocks: 2465 MBps vs 2388 MBps
Memory transfer using 1k blocks: 558 MBps vs 762 MBps
Context switching (1 thread 1000000 iterations) : 0.93s vs 0.49s
Context switching (128 threads 10s or 10000 iterations) : 10000 iterations vs 8852 iterations
Mutext test (5 million times): 6.27s vs 6.67s
As you see there is something with memory handling when it comes to small chunks. Context switching with 1-thread is almost two times slower! Same goes when testing memory bandwidth with 1K blocks. Disaster...
One thing this device is shining is Ethernet, it achieves 937 Mbps while Rock64 tops 554 only.
Rock64 has slower CPU clock (1.3 vs 1.4 GHz) and uses slower RAM (LPDDR3 1600MHz vs DDR4 2133MHz). I expected better results of ROC-RK3328-CC but, to my surprise difference is almost not noticeable in real application.
Why better specs on paper does not translate to real life? Why in spec I can see clock up to 1.5GHz while Linux is reporting max 1392?
So.. For ROC-RK3328-CC I need to pay two times more (Rock64 4GB costs 45$ while for ROC-RK3328-CC I have to pay 80$) yet not getting any performance improvement in my application (slightly better CPU perf is consumed by worser memory transfers).
What is wrong? I am comparing Rock64 with 4GB with ROC-RK3328-CC with 1GB
Appreciate any comments on that matter.
|
|