Spacemit X60 (K1) SPECINT 2006 Benchmark
I ordered a BananaPi F3 last week and it arrived on May 6th. Using the opensbi and kernel compiled from armbian , replace the rootfs with archlinux.
Surprisely, I found this core has Zicond extension which was ratified in late 2023, then I also add this extension to compiler. And then benchmarked on LLVM 17 + GCC 14.
The result is shown below.
LLVM 17
GCC 14
For GCC 14, I tried different -march settings.
Note: b
is zba_zbb_zbc_zbs
. Only write b
here to simplify the isa string.
benchmark | gc | gcb | gcb_zicond | gcbv | gcbv_zicond |
---|---|---|---|---|---|
400.perlbench | 4.75 | 4.79 | 4.86 | 4.81 | 4.90 |
401.bzip2 | 2.91 | 3.02 | 3.05 | 2.95 | 2.90 |
403.gcc | 3.97 | 3.86 | 4.00 | 3.98 | 4.06 |
429.mcf | 1.78 | 1.76 | 1.81 | 1.75 | 1.88 |
445.gobmk | 5.71 | 5.94 | 5.91 | 5.93 | 5.92 |
456.hmmer | 3.69 | 4.84 | 4.86 | 6.77 | 6.82 |
458.sjeng | 5.01 | 5.12 | 5.12 | 5.08 | 5.04 |
462.libquantum | 17.10 | 17.00 | 17.80 | 17.10 | 18.10 |
464.h264ref | 6.96 | 7.01 | 7.00 | 7.39 | 7.48 |
471.omnetpp | 2.05 | 2.04 | 2.06 | 2.03 | 2.05 |
473.astar | 3.07 | 3.11 | 3.01 | 3.08 | 3.08 |
483.xalancbmk | 3.65 | 3.72 | 3.52 | 3.70 | 3.65 |
GEOMEAN | 4.18 | 4.31 | 4.33 | 4.44 | 4.50 |
Comments
As an in-order micro-architecture, the result is normal, as I expect. It’s not so good compared to some other cores, such as T-Head C910, but the ISA extension is good for developers. It is an excellent device to come in 2024 for the RISC-V ecosystem, especially for RISC-V Vector software development. I have used it to benchmark my chacha20 RVV patch for openssl, and it has been merged today.
Reference
LLVM 17 rv64gcbv_zicond: https://blog.cyyself.name/static/CINT2006.057.ref.html
GCC14 rv64gc: https://blog.cyyself.name/static/CINT2006.073.ref.html
GCC14 rv64gcb: https://blog.cyyself.name/static/CINT2006.072.ref.html
GCC14 rv64gcb_zicond: https://blog.cyyself.name/static/CINT2006.071.ref.html
GCC14 rv64gcbv: https://blog.cyyself.name/static/CINT2006.074.ref.html
GCC14 rv64gcbv_zicond: https://blog.cyyself.name/static/CINT2006.076.ref.html
CPU2006 config-llvm17: https://gist.github.com/cyyself/3e16b3a3e3e1839db18037c7e4822921
CPU2006 config-gcc14: https://gist.github.com/cyyself/30e2fa8c0466b9d756c4b3e126309ecc
请问下这里列出的数据,是用什么频率 (MHZ)的cpu 去测试的呀,能分享一下吗,感激
默认的1.6GHz