UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    ut-sysbench-qt-gui: Compare CPU performance of different devices

    Scheduled Pinned Locked Moved App Development
    testingbenchmarkcomparesysbenchdevices
    48 Posts 19 Posters 18.2k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ikozI Offline
      ikoz @johndoe
      last edited by

      Updated benchmarks for Nord 2 on 20.04
      sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
      2492 events per second

      sysbench --test=cpu --num-threads=8 --cpu-max-prime=20000 run
      4681 events per second

      sysbench --test=memory --num-threads=4 run
      Total operations: 104857600 (13066576.75 per second)
      102400.00 MiB transferred (12760.33 MiB/sec)

      sysbench --test=mutex --num-threads=64 run
      total time: 2.6850s

      The noteworthy changes were that memory bandwidth has increased 4x, while mutex test decreased 2x, no significant change in cpu benchmarks.

      However, because there is always room for improvement, I changed the governor, ajusted niceness and increased threads (although the phone has 8 cores sysbench didn't seem to use them all), and these were the results:
      2643 for 2 threads,
      4833 for 8 threads,
      5634 for 12 threads,
      and.... 6172 for 16 threads

      Maybe the latter benchmarks are not considered valid. I also have to note that benchmarks varied a little (Β±100) with these changes.

      May the source be with you

      1 Reply Last reply Reply Quote 1
      • DJacD Offline
        DJac
        last edited by

        Result for a
        Sony Xperia X f5121
        Ubuntu 16.04 (ota-25)
        Use the buttons bellow to start a benchmark
        (the results will be displayed after the benchmark
        finished, this can take some time!).
        Please do not turn off your device or switch to
        other apps, when running the benchmark,
        this will make the results of a benchmark useless.

        The results of a new benchmark will be displayed
        under the results of performed benchmarks.

        Example results for the CPU Benchmark of a Nexus 4:
        sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
        57 events per second

        Use the buttons below to get results
        that can be used to compare
        your device with other devices.

        sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
        1059 events per second

        sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
        909 events per second

        sysbench --test=cpu --num-threads=8 --cpu-max-prime=20000 run
        2684 events per second

        sysbench --test=memory --num-threads=4 run
        Operations performed: 104857600 (894135.77 ops/sec)
        102400.00 MB transferred (873.18 MB/sec)

        sysbench --test=mutex --num-threads=64 run
        total time: 1.5173s

        S 1 Reply Last reply Reply Quote 1
        • S Offline
          stefan_hdb @DJac
          last edited by

          I used the test for 3 devices, here are the results:

          1. Device BQ Aquaris M10 FHD, Ubuntu 16.04

          sysbench --test=cpu --num-threads=2 --Cpu-max-prime=20000 run 59 events per second

          sysbench --test=cpu --num-threads=8 --Cpu-max-prime=20000 run 113 events per second

          sysbench --test=memory --num-threads=4 run Operations performed: 0 ( 0.00 ops/sec) 0.00 MB transferred (0.00 MB/sec)

          sysbench --test=mutex --num-threads=64 run total time: 0.9229s

          1. Device xperia X ubuntu-sdk-20.04

          sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run 1385 events per second

          sysbench --test=cpu --num-threads=8 --cpu-max-prime=20000 run 2465 events per second

          sysbench --test=memory --num-threads=4 run Total operations: 25487419 (2546616.80 per second) 24890.06 MiB transferred (2486.93 MiB/sec)

          sysbench --test=mutex --num-threads=64 run total time: 9.2790s

          1. Device: pinetab2, ubuntu-sdk-20.04

          sysbench -test=cpu -num-threads=2 -cpu-max-prime=20000 run 678 events per second

          sysbench -test=cpu -num-threads=8 -cpu-max-prime=20000 run 1263 events per second

          sysbench -testzmemory -num-threads=4 run Total operations: 50881276 (5086734.72 per second) 4968.75 MIB transferred (4967.51 MiB/sec)

          sysbench -test=mutex -num-threads=64 run total time: 15.9498s

          This result is quite in line with my observations when using these devices: Xperia X performance is quite good after the update to the new release.

          Kind regards, Stefan

          Stefan
          happy to run Ubuntu Touch on Sony Xperia X, Lenovo TBX306-FA

          1 Reply Last reply Reply Quote 1
          • J Offline
            johndoe @dioginfo
            last edited by

            @dioginfo @ikoz @DJac @stefan_hdb
            Thank you for the data. I will use it for the next update. πŸ‘ But it could maybe take until next month for me to have time for it. ⏳

            1 Reply Last reply Reply Quote 0
            • S Offline
              sven
              last edited by

              I ran the benchmarks on a Gigaset GS5 Pro with Ubuntu 20.04 OTA-4:

              sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run 1650 events per second

              sysbench --test=cpu --num-threads=8 --cpu-max-prime=20000 run 3735 events per second

              sysbench --test=memory --num-threads=4 run Total Operations: 60181714 ( 6017004 per second) 58771.21 MiB transferred

              sysbench --test=mutex --num-threads=64 run total time: 5.0982s

              VollaPhone22 (dual-boot of VollaOS and UT 20.04 OTA-9), Pocophone F1 (pmOS, edge), FLX1 (Debian)

              1 Reply Last reply Reply Quote 2
              • S Offline
                StephPTi
                last edited by

                Here is my Poco X3 NFC on 20.04 dev

                screenshot20240204_001406079.png

                Languages: πŸ‡΅πŸ‡ΉπŸ‡ΊπŸ‡ΈπŸ‡«πŸ‡·
                Phones: POCO X3 NFC (Focal 20.04 dev)

                1 Reply Last reply Reply Quote 1
                • A Offline
                  ancientsounds
                  last edited by

                  OnePlus 6T:

                  ubuntu-sdk-20.04

                  sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
                  1095 events per second

                  sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
                  1089 events per second

                  sysbench --test=cpu --num-threads=8 --cpu-max-prime=20000 run
                  3063 events per second

                  sysbench --test=memory --num-threads=4 run
                  Total operations: 25124442 (2511263.68 per second)
                  24535.59 MiB transferred (2452.41 MiB/sec)

                  sysbench --test=mutex --num-threads=64 run
                  total time: 6.2309s

                  C 1 Reply Last reply Reply Quote 2
                  • C Offline
                    Charly @ancientsounds
                    last edited by

                    Volla X23:

                    ubuntu-sdk-20.04

                    sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
                    1924 events per second

                    sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
                    1927 events per second

                    sysbench --test=cpu --num-threads=8 --cpu-max-prime=20000 run
                    4222 events per second

                    sysbench --test=memory --num-threads=4 run
                    Total operations: 69640008 (696072.68 per second)
                    68007.82 MiB transferred (6799.51 MiB/sec)

                    sysbench --test=mutex --num-threads=64 run
                    total time: 4.2907s

                    Greetings
                    Charly

                    UT 24.04 on Volla X23

                    1 Reply Last reply Reply Quote 2
                    • CaedemC Offline
                      Caedem
                      last edited by

                      Fairphone 4 on Noble:

                      ubuntu-touch-24.04-1.x

                      sysbench --test=cpu --num-threads=2 --cpu-max-prime=20000 run
                      1930 events per second

                      sysbench --test=cpu --num-threads=8 --cpu-max-prime=20000 run
                      3894 events per second

                      sysbench --test=memory --num-threads=4 run
                      Total operations: 45369963 (4536233.77 per second)
                      44306.60 MiB transferred (4429.92 MiB/sec)

                      sysbench --test=mutex --num-threads=64 run
                      total time: 4.4556s

                      Enthousiast. Previously used Redmi note 7, now on Fairphone 4. Still fiddling with Redmi Note 7

                      J 1 Reply Last reply Reply Quote 1
                      • J Offline
                        johndoe @Caedem
                        last edited by

                        @Caedem Thank you very much.πŸ‘ I added most of this results to the app.
                        Unfortunately there were inconsistencies in the previous version with β€œ--num-threads = 2”. With the new version (1.2.1), the tests were slightly changed and should be more consistent now.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better πŸ’—

                        Register Login
                        • First post
                          Last post