ut-sysbench-qt-gui: Compare CPU performance of different devices
-
Works on Cosmo Communicator, copes with landscape view as well.
Result of 'multiple benchmarks' below:
-
@johndoe said in ut-sysbench-qt-gui: Compare CPU performance of different devices:
if some of you could share your device's name together with a screenshot of the result you get
A save (as plain text) button in the app would be great, so that people can post results for immediate processing via scripts or copy/paste.
-
Copy results to clipboard would definitely be great
Also, maybe use QtQuick components instead of QtWidgets so that the UI would be more touch-friendly
Lastly, this crashes on the Pinephone, actually it crashes Lomiri LOLHere's the results:
**Lenovo M10 Tab Plus (2nd gen)
Pixel 3a
Nexus5
bq E5
Xperia X
Meizu MX4
-
@moncon said in ut-sysbench-qt-gui: Compare CPU performance of different devices:
Works on Cosmo Communicator, copes with landscape view as well.
Same device, OTA-19: the two lower buttons are not visible for me. How did you manage to see them?
-
@sven That seems to be a bug, probably because the app uses Widgets that aren't really suitable for touch and not responsive enough. You can rotate the screen and it'll be fixed after that.
-
@domubpkm
Thank you really much.The memory test shows the RAM speed and it is good to see that it works on some devices. So it is maybe not a problem with Ubuntu Touch and I maybe need to change the parameters, so that we get results on all devices.
The mutex test shows the speed of mutual exclusions (less time is better). Sometimes multiple processes want access to the same files at the same time and this access permissions need to be managed. This management is done by mutexes.
-
This post is deleted! -
@sven said in ut-sysbench-qt-gui: Compare CPU performance of different devices:
@johndoe said in ut-sysbench-qt-gui: Compare CPU performance of different devices:
if some of you could share your device's name together with a screenshot of the result you get
A save (as plain text) button in the app would be great, so that people can post results for immediate processing via scripts or copy/paste.
I will work on it.
-
@cliffcoggin
@kugiigi
I will try to use QtQuick components instead of QtWidgets in a later version to prevent bugs, but I am no expert when it comes to Qt.
Restarting the app or turning the screen will maybe fix graphical bugs.
I don't know why the PinePhone crashes, maybe this will also be fixed with QtQuick components instead of QtWidgets .Thank you for testing the app.
-
@sven Restarting the app or rotating the screen will maybe fix graphical bugs. I will work on a solution.
@MonCon -
@sven
@johndoe
The only graphical tweak I could think of that I've done to mine is to reduce the 'launcher width' in UT Tweak Tool from 8 to 6 to get a couple more pinned shortcuts on the left hand side of the screen. I reset the value to 8 and rebooted and the buttons disappeared, set the value back to 6 and the buttons reappeared, see attached screenshots.
-
@kugiigi I made some suggested changes to the app (including 'QtQuick components instead of QtWidgets'). It would be nice if you could try to run it on the Pinephone again and try to performe "Multiple Benchmarks", but be aware, that it will maybe crash again.
-
@johndoe Yup it's working now on the Pinephone. Thanks
Here's the results. I'm surprised it has a lot better results than phones like Nexus 5
sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run 617 events per second sysbench --test=cpu --num-threads=8 --cpu-max-prime=20000 run 1190 events per second sysbench --test=memory --num-threads=4 run Operations performed: 104857600 (875326.88 ops/sec) 102400.00 MB transferred (854.81 MB/sec) sysbench --test=mutex --num-threads=64 run total time: 1.0368s
-
The new version works perfectly on the Cosmo Communicator.
-
@kugiigi Thank you. Yes, this is really interesting. I think the difference between older phones and newer phones is so big, because the older phones have 32bit ARM CPUs and maybe ARM made changes for their 64bit architecture, that allows the CPU to perform way better in the specific workload in the sysbench CPU test.
What is even more interesting to me, is that that some phones with Mediatek CPUs perform better than the Pixel 3a and that the Librem 5 has similar results to the PinePhone (and not better results with a CPU that costs way more than an Allwinner A64).
I don't think that represents the everyday performance and responsiveness of the phones and I will maybe add a disclaimer to the app, that the results only give a rough idea about the performance, that the sysbench results are not 100% perfect and also other tests should be looked at when comparing devices.Here are the results of the Librem5 with PureOS and results coming from a newer version of sysbench (maybe this could also explain why it did not perform better than the PinePhone, but I do not think so) :
sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
events per second: 595.77sysbench --test=cpu --num-threads=8 --cpu-max-prime=20000 run
events per second: 1190.77sysbench --test=memory --num-threads=4 run
5643286.07 ops per second
5511.02 MiB/secsysbench --test=mutex --num-threads=64 run
total time: 16.1842sSource: https://forums.puri.sm/t/performance-compare-librem-5-to-ubuntu-touch-devices/15425
-
@sven Nice. I would appreciate it, if you could also test the app on your OnePlus 3T and share the results of the benchmarks, if you have time for that.
-
@johndoe Unfortunately, I borrowed the OnePlus 3T to a colleague; so I cannot run any tests ... at the moment.
-
@sven Ok, no problem.
-
@johndoe
Xiaomi mi A2 results:sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
1717 events per secondsysbench --test=cpu --num-threads=8 --cpu-max-prime=20000 run
4915 events per secondsysbench --test=memory --num-threads=4 run
Operations performed: 104857600 (6280574.81 ops/sec)
102400.00 MB transferred (6133.37 MB/sec)sysbench --test=mutex --num-threads=64 run
total time: 1.1919ssysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
1706 events per secondsysbench --test=cpu --num-threads=8 --cpu-max-prime=20000 run
5307 events per secondsysbench --test=memory --num-threads=4 run
Operations performed: 104857600 (6196075.77 ops/sec)
102400.00 MB transferred (6050.86 MB/sec)sysbench --test=mutex --num-threads=64 run
total time: 1.1151ssysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
1705 events per secondsysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
1706 events per second -
@yoni thank you