Skip to content

Commit

Permalink
ARM SoC guessing: Snapdragon 7c
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasKaiser committed Jun 7, 2023
1 parent 4e75855 commit 33d1b3e
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 7 deletions.
8 changes: 5 additions & 3 deletions results/ARMv8-Crypto-Extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ All of this **only** applies to ARM SoCs with _ARMv8 Crypto Extensions_ licensed

### Numbers the aforementioned conclusions are based on

Crawling through [sbc-bench results collection](../Results.md) comparing +30 different SoCs/CPUs from various vendors at various clockspeeds using OpenSSL versions 1.1.0f (25 May 2017) through 3.0.2 (15 Mar 2022) shows always the same relation between openssl score and clockspeed for those four core families (right column is OpenSSL's aes-256-cbc score divided through clockspeed in MHz):
Crawling through [sbc-bench results collection](../Results.md) comparing +70 different SoCs/CPUs from various vendors at various clockspeeds using OpenSSL versions 1.1.0f (25 May 2017) through 3.0.9 (30 May 2023) shows always the same relation between openssl score and clockspeed for those four core families (right column is OpenSSL's aes-256-cbc score divided through clockspeed in MHz):

| ARM core | MHz | aes-256-cbc | score/mhz |
| :----: | ----: | :----: | :----: |
Expand Down Expand Up @@ -98,17 +98,18 @@ Crawling through [sbc-bench results collection](../Results.md) comparing +30 dif
| Cortex-A55 | | | |
| [RK3588](http://ix.io/3XzI) | 915 | 427750 | 467 |
| [RK3566](http://ix.io/45X1) | 1750 | 818550 | 467 |
| [Snapdragon 845](http://ix.io/4dJV) | 1760 | 824640 | 469 |
| [RK3588s](http://ix.io/3XTA) | 1780 | 830640 | 467 |
| [QRB5165](http://ix.io/49kx) | 1790 | 837220 | 468 |
| [Snapdragon 7c](http://ix.io/4xEW) | 1800 | 840140 | 467 |
| [RK3566](http://ix.io/3rUb) | 1810 | 845490 | 469 |
| [RK3588s](http://ix.io/3XYo) | 1815 | 846760 | 467 |
| [Snapdragon 835](http://ix.io/4fdD) | 1900 | 883330 | 465 |
| [S905X3](http://ix.io/3Vdt) | 1908 | 890730 | 466 |
| [RK3568](http://ix.io/3Ug9) | 1930 | 898610 | 465 |
| [RK3568](http://ix.io/3UXa) | 1950 | 911730 | 467 |
| [S905X3](http://ix.io/2kaS) | 2010 | 941590 | 468 |
| [S905X3](http://ix.io/3TQ2) | 2100 | 981940 | 467 |
| [Snapdragon 835](http://ix.io/4fdD) | 1900 | 883330 | 465 |
| [Snapdragon 845](http://ix.io/4dJV) | 1760 | 824640 | 469 |
| Cortex-A72 | | | |
| [RK3399](http://ix.io/1iWU) | 1800 | 1023600 | 568 |
| [LX2160A](http://ix.io/1ET3) | 1900 | 1079480 | 568 |
Expand All @@ -124,6 +125,7 @@ Crawling through [sbc-bench results collection](../Results.md) comparing +30 dif
| Cortex-A76 | | | |
| [RK3588](http://ix.io/3XzI) | 985 | 560200 | 569 |
| [RK3588s](http://ix.io/3XYo) | 2330 | 1325370 | 569 |
| [Snapdragon 7c](http://ix.io/4xEW) | 2550 | 1454480 | 570 |
| Cortex-A77 | | | |
| [QRB5165](http://ix.io/49kx) | 2410 | 1348440 | 560 |
| [QRB5165](http://ix.io/49kx) | 2840 | 1598490 | 563 |
Expand Down
71 changes: 71 additions & 0 deletions results/cpuinfo/Qualcomm-Snapdragon-7c-6.3.6.cpuinfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
processor : 0
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xd
CPU part : 0x805
CPU revision : 14

processor : 1
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xd
CPU part : 0x805
CPU revision : 14

processor : 2
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xd
CPU part : 0x805
CPU revision : 14

processor : 3
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xd
CPU part : 0x805
CPU revision : 14

processor : 4
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xd
CPU part : 0x805
CPU revision : 14

processor : 5
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xd
CPU part : 0x805
CPU revision : 14

processor : 6
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xf
CPU part : 0x804
CPU revision : 15

processor : 7
BogoMIPS : 38.40
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x51
CPU architecture: 8
CPU variant : 0xf
CPU part : 0x804
CPU revision : 15
14 changes: 10 additions & 4 deletions sbc-bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4350,8 +4350,9 @@ ValidateResults() {
esac
else
# Throttling on all other systems?
if [ "${ThrottlingWarning}" = "" ]; then
# only report 'no throttling' when not running inside a VM/container
if [ "${ThrottlingWarning}" = "" -a -f /sys/devices/system/cpu/cpufreq/policy0/stats/time_in_state ]; then
# only report 'No throttling' when cpufreq statistics are available and not
# running inside a VM/container
[ "X${VirtWhat}" = "X" -o "X${VirtWhat}" = "Xnone" ] && echo -e "${LGREEN}No throttling${NC}"
else
# we need to check whether we're running in Geekbench or PTS mode since the
Expand Down Expand Up @@ -4834,7 +4835,8 @@ GuessARMSoC() {
# Qualcomm Krait / r2p1: Qualcomm MSM8974PRO (Snapdragon 801)
# Qualcomm Kryo / r1p2: Qualcomm MSM8996 (Snapdragon 820)
# Qualcomm Kryo / r2p1: Qualcomm MSM8996pro (Snapdragon 821)
# Qualcomm Kryo / r13p14: Qualcomm QRB5165 (Snapdragon 865)
# Qualcomm Kryo / r13p14: Qualcomm Snapdragon 7c, Qualcomm QRB5165 (Snapdragon 865)
# Qualcomm Kryo / r15p15: Qualcomm Snapdragon 7c
# Qualcomm Kryo V2 / r10p4: Qualcomm SDM662 (Snapdragon 622), Qualcomm MSM8998 (Snapdragon 835)
# ThunderX 88XX / r1p1: ThunderX CN8890
# ThunderX2 99xx / r0p1: Cavium ThunderX2 CN9980
Expand Down Expand Up @@ -4886,7 +4888,7 @@ GuessARMSoC() {
# soc soc0: Amlogic Meson GXL (S805X) Revision 21:d (34:2) Detected <-- Libre Computer AML-S805X-AC / Amlogic Meson GXL (S905X) P212 Development Board
# soc soc0: Amlogic Meson GXL (S905X) Revision 21:d (84:2) Detected <-- Khadas VIM / Libre Computer AML-S905X-CC / ZTE B860H / Fiberhome HG680P / Amlogic Meson GXL (S905X) P212 Development Board
# soc soc0: Amlogic Meson GXL (S905X) Revision 21:d (85:2) Detected <-- Libre Computer AML-S905X-CC
# soc soc0: Amlogic Meson GXL (S905X) Revision 21:e (85:2) Detected <-- Vermax UHD 300X / Amlogic Meson GXL (S905X) P212 Development Board
# soc soc0: Amlogic Meson GXL (S905X) Revision 21:e (85:2) Detected <-- Khadas VIM, Vermax UHD 300X / Amlogic Meson GXL (S905X) P212 Development Board
# soc soc0: Amlogic Meson GXL (S905W) Revision 21:d (a4:2) Detected <-- Tanix TX3 Mini / Amlogic Meson GXL (S905X) P212 Development Board / Amlogic Meson GXL (S905W) P281 Development Board
# soc soc0: Amlogic Meson GXL (Unknown) Revision 21:d (a4:2) Detected <-- Khadas VIM / Tanix TX3 Mini / JetHome JetHub J80 / Amlogic Meson GXL (S905X) P212 Development Board / Amlogic Meson GXL (S905W) P281 Development Board
# soc soc0: Amlogic Meson GXL (S905L) Revision 21:d (c4:2) Detected <-- X96 mini, Amlogic Meson GXL (S905X) P212 Development Board
Expand Down Expand Up @@ -5756,6 +5758,10 @@ GuessSoCbySignature() {
# Qualcomm MSM8996pro: 2 x Kryo r2p1 + 2 x Kryo r2p1 / fp asimd evtstrm aes pmull sha1 sha2 crc32
echo "Qualcomm MSM8996pro"
;;
00Qualcomm4XXSilver00Qualcomm4XXSilver00Qualcomm4XXSilver00Qualcomm4XXSilver00Qualcomm4XXSilver00Qualcomm4XXSilver06Qualcomm4XXGold06Qualcomm4XXGold)
# Qualcomm Snapdragon 7c (SC7180): 6 x Kryo 468 Silver / r13p14 + 2 x Kryo 468 Gold / r15p15 / fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp asimdrdm lrcpc dcpop asimddp
echo "Qualcomm Snapdragon 7c"
;;
*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4*A53r0p4)
# Socionext SC2A11: 24 x Cortex-A53 / r0p4 / fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
echo "Socionext SC2A11"
Expand Down

0 comments on commit 33d1b3e

Please sign in to comment.