Benchmark

Benchmark #

Geekbench #

IDNamePlatformArchitectureSingle-core ScoreMulti-core Score
3372100Dell Inc. OptiPlex 5050Intel Core i7-7700 4200 MHz (4 cores)Linuxx6414544021
3372092Dell Inc. OptiPlex 3040Intel Core i7-6700 4000 MHz (4 cores)Linuxx6410974000
3372086ASUS System Product NameIntel Core i9-13900K 5500 MHz (24 cores)Linuxx64323716332
8686267SiFive HiFive Premier P550rv64imafdch_zicntr_zicsr_zifencei_zihpm_zba_zbb_sscofpmf 1400 MHz (1 cores)LinuxRISC-V146422
5004506Sophgo Mangorv64imafdcv 0 MHz (1 cores)LinuxRISC-V1461266
3371242T-HEAD Light Lichee Pi 4A configuration for 16GB DDR boardrv64imafdcvsu 1848 MHz (1 cores)LinuxRISC-V127372
8693289Raspberry Pi 5 Model B Rev 1.0ARM ARMv8 2400 MHz (1 cores)LinuxAArch647701650
5004690MacBook Pro (14-inch, 2021)Apple M1 Max 3219 MHz (10 cores)macOSAArch64234112236
3372116Mac mini (Late 2020)Apple M1 3196 MHz (8 cores)macOSAArch6423858780

AM - Benchmark #

How to run:

git clone https://github.com/NJU-ProjectN/abstract-machine

git clone https://github.com/NJU-ProjectN/am-kernels

# doc: 
#   - https://github.com/NJU-ProjectN/am-kernels/tree/master/benchmarks/microbench
#   - https://github.com/Kingfish404/ysyx-workbench
riscv64 - P550 - 1.8 GHz (Milk-V Megrez):
    MicroBench:  27463 Marks
    CoreMark:    29509 Marks
    Dhrystone:   22587 Marks

riscv64 - P550 - 1.4 GHz (HiFive Premier P550):
    MicroBench: 20931 Marks
    CoreMark:   25626 Marks
    Dhrystone:  20486 Marks

riscv64 - c910 - 1.5 GHz (Lichee Console 4A):
    MicroBench:  6985 Marks
    CoreMark:    7917 Marks
    Dhrystone:   6383 Marks

riscv64 - c910 - 1.85GHz (Lichee PI 4A):
    MicroBench: 13895 Marks
    CoreMark:   15877 Marks
    Dhrystone:  13552 Marks

aarch64 - M1 Max colima:
    MicroBench: 91817 Marks
    CoreMark:   91293 Marks
    Dhrystone: 176180 Marks

aarch64 - Cortex-A76:
    MicroBench: 50076 Marks
    CoreMark:   51252 Marks
    Dhrystone:  55056 Marks

aarch64 - Kunpeng-920:
    MicroBench: 48123 Marks
    CoreMark:   54100 Marks
    Dhrystone:  35236 Marks

x86-64  - Baseline:
    MicroBench: 100000 Marks (i9-9900K @ 3.60GHz)
    CoreMark:   100000 Marks (i7-7700K @ 4.20GHz)
    Dhrystone:  100000 Marks (i7-7700K @ 4.20GHz)
Click to expand `uname -r` & `lscpu`

Detail #

riscv #

Linux lpi4a16f2 5.10.113-sipeed-20240312+ #10 SMP PREEMPT Tue Mar 12 14:33:06 HKT 2024 riscv64 GNU/Linux
Architecture:          riscv64
  Byte Order:          Little Endian
CPU(s):                4
  On-line CPU(s) list: 0-3
         _,met$$$$$gg.           jinyu@lpi4a16f2
      ,g$$$$$$$$$$$$$$$P.        OS: Debian 12 bookworm
    ,g$$P""       """Y$$.".      Kernel: riscv64 Linux 5.10.113-sipeed-20240312+
   ,$$P'              `$$$.      Uptime: 54m
  ',$$P       ,ggs.     `$$b:    Packages: 1890
  `d$$'     ,$P"'   .    $$$     Shell: zsh 5.9
   $$P      d$'     ,    $$P     Disk: 13G / 119G (11%)
   $$:      $$.   -    ,d$$'     CPU: Unknown1.848Ghz @ 4x 1.5GHz
   $$\;      Y$b._   _,d$P'      GPU: 
   Y$$.    `.`"Y$$$$P"'          RAM: 823MiB / 15721MiB
   `$$b      "-.__              
    `Y$$                        
     `Y$$.                      
       `$$b.                    
         `Y$$b.                 
            `"Y$b._             
                `""""           
                                
               total        used        free      shared  buff/cache   available
Mem:            15Gi       819Mi        12Gi        51Mi       2.7Gi        14Gi
Swap:          4.0Gi          0B       4.0Gi

MicroBench PASS        13895 Marks
CoreMark PASS       15877 Marks
Dhrystone PASS         13552 Marks

aarch64 #

using M1 Max #

$ uname -a
Linux colima 6.5.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan  9 22:39:36 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
$ lscpu
lscpu
Architecture:            aarch64
  CPU op-mode(s):        64-bit
  Byte Order:            Little Endian
CPU(s):                  2
  On-line CPU(s) list:   0,1
Vendor ID:               Apple                                                                                                                                                                                                                                              
  Model name:            -                                                                                                                                                                                                                                                  
    Model:               0
    Thread(s) per core:  1
    Core(s) per cluster: 2
    Socket(s):           -
    Cluster(s):          1
    Stepping:            0x0
    BogoMIPS:            48.00
    Flags:               fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint
...

am-kernels/benchmarks/* $ make ARCH=native run
MicroBench PASS        91817 Marks
CoreMark PASS       91293 Marks
Dhrystone PASS         176180 Marks

using Kunpeng-920 #

$ uname -a
Linux kunpeng920 5.15.0-102-generic #112-Ubuntu SMP Tue Mar 5 16:49:56 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

$ lscpu
Architecture:           aarch64
  CPU op-mode(s):       64-bit
  Byte Order:           Little Endian
CPU(s):                 64
  On-line CPU(s) list:  0-63
Vendor ID:              HiSilicon
  Model name:           Kunpeng-920
    Model:              0
    Thread(s) per core: 1
    Core(s) per socket: 32
    Socket(s):          2
    Stepping:           0x1
    Frequency boost:    disabled
    CPU max MHz:        2600.0000
    CPU min MHz:        200.0000
    BogoMIPS:           200.00
    Flags:              fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm
...

am-kernels/benchmarks/* $ make ARCH=native run
MicroBench PASS        48123 Marks
CoreMark PASS       54100 Marks
Dhrystone PASS         35236 Marks