xref: /OK3568_Linux_fs/external/security/librkcrypto/perf_reports/RK3566_perf.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1console:/data # cat /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
2userspace
3console:/data # cat /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq
41800000
5console:/data # cat /sys/class/devfreq/dmc/governor
6userspace
7console:/data # cat /sys/class/devfreq/dmc/cur_freq
81056000000
9console:/data #
10console:/data #
11console:/data # cat /sys/kernel/debug/clk/clk_summary | grep crypto
12                clk_crypto_ns_rng       0        0        0   148500000          0     0  50000
13                hclk_crypto_ns        0        0        0   148500000          0     0  50000
14             clk_crypto_ns_core       0        0        0   198000000          0     0  50000
15                aclk_crypto_ns        0        0        0   198000000          0     0  50000
16             clk_crypto_ns_pka        0        0        0   297000000          0     0  50000
17console:/data #
18console:/data #
19console:/data # librkcrypto_test -t
20dma_fd: otpkey  [AES-256]       ECB     ENCRYPT 360MB/s.
21dma_fd: otpkey  [AES-256]       ECB     DECRYPT 360MB/s.
22dma_fd: otpkey  [AES-256]       CBC     ENCRYPT 164MB/s.
23dma_fd: otpkey  [AES-256]       CBC     DECRYPT 360MB/s.
24dma_fd: otpkey  [AES-256]       CTR     ENCRYPT 360MB/s.
25dma_fd: otpkey  [AES-256]       CTR     DECRYPT 360MB/s.
26dma_fd: otpkey  [SM4-128]       ECB     ENCRYPT 297MB/s.
27dma_fd: otpkey  [SM4-128]       ECB     DECRYPT 297MB/s.
28dma_fd: otpkey  [SM4-128]       CBC     ENCRYPT 84MB/s.
29dma_fd: otpkey  [SM4-128]       CBC     DECRYPT 297MB/s.
30dma_fd: otpkey  [SM4-128]       CTR     ENCRYPT 297MB/s.
31dma_fd: otpkey  [SM4-128]       CTR     DECRYPT 297MB/s.
32dma_fd: test otp_key throughput SUCCESS.
33
34virt:   otpkey  [AES-256]       ECB     ENCRYPT 203MB/s.
35virt:   otpkey  [AES-256]       ECB     DECRYPT 202MB/s.
36virt:   otpkey  [AES-256]       CBC     ENCRYPT 122MB/s.
37virt:   otpkey  [AES-256]       CBC     DECRYPT 196MB/s.
38virt:   otpkey  [AES-256]       CTR     ENCRYPT 191MB/s.
39virt:   otpkey  [AES-256]       CTR     DECRYPT 191MB/s.
40virt:   otpkey  [SM4-128]       ECB     ENCRYPT 173MB/s.
41virt:   otpkey  [SM4-128]       ECB     DECRYPT 172MB/s.
42virt:   otpkey  [SM4-128]       CBC     ENCRYPT 70MB/s.
43virt:   otpkey  [SM4-128]       CBC     DECRYPT 172MB/s.
44virt:   otpkey  [SM4-128]       CTR     ENCRYPT 172MB/s.
45virt:   otpkey  [SM4-128]       CTR     DECRYPT 171MB/s.
46virt:   test otp_key throughput SUCCESS.
47
48dma_fd: [DES-64]        ECB     ENCRYPT 299MB/s.
49dma_fd: [DES-64]        ECB     DECRYPT 299MB/s.
50dma_fd: [DES-64]        CBC     ENCRYPT 79MB/s.
51dma_fd: [DES-64]        CBC     DECRYPT 299MB/s.
52dma_fd: [TDES-192]      ECB     ENCRYPT 108MB/s.
53dma_fd: [TDES-192]      ECB     DECRYPT 108MB/s.
54dma_fd: [TDES-192]      CBC     ENCRYPT 28MB/s.
55dma_fd: [TDES-192]      CBC     DECRYPT 108MB/s.
56dma_fd: [AES-256]       ECB     ENCRYPT 457MB/s.
57dma_fd: [AES-256]       ECB     DECRYPT 457MB/s.
58dma_fd: [AES-256]       CBC     ENCRYPT 182MB/s.
59dma_fd: [AES-256]       CBC     DECRYPT 457MB/s.
60dma_fd: [AES-256]       CTS     N/A
61dma_fd: [AES-256]       CTS     N/A
62dma_fd: [AES-256]       CTR     ENCRYPT 404MB/s.
63dma_fd: [AES-256]       CTR     DECRYPT 404MB/s.
64dma_fd: [SM4-128]       ECB     ENCRYPT 332MB/s.
65dma_fd: [SM4-128]       ECB     DECRYPT 332MB/s.
66dma_fd: [SM4-128]       CBC     ENCRYPT 88MB/s.
67dma_fd: [SM4-128]       CBC     DECRYPT 332MB/s.
68dma_fd: [SM4-128]       CTS     N/A
69dma_fd: [SM4-128]       CTS     N/A
70dma_fd: [SM4-128]       CTR     ENCRYPT 303MB/s.
71dma_fd: [SM4-128]       CTR     DECRYPT 303MB/s.
72dma_fd: test cipher throughput SUCCESS.
73
74virt:   [DES-64]        ECB     ENCRYPT 281MB/s.
75virt:   [DES-64]        ECB     DECRYPT 282MB/s.
76virt:   [DES-64]        CBC     ENCRYPT 78MB/s.
77virt:   [DES-64]        CBC     DECRYPT 284MB/s.
78virt:   [TDES-192]      ECB     ENCRYPT 106MB/s.
79virt:   [TDES-192]      ECB     DECRYPT 106MB/s.
80virt:   [TDES-192]      CBC     ENCRYPT 28MB/s.
81virt:   [TDES-192]      CBC     DECRYPT 106MB/s.
82virt:   [AES-256]       ECB     ENCRYPT 422MB/s.
83virt:   [AES-256]       ECB     DECRYPT 422MB/s.
84virt:   [AES-256]       CBC     ENCRYPT 176MB/s.
85virt:   [AES-256]       CBC     DECRYPT 418MB/s.
86virt:   [AES-256]       CTS     N/A
87virt:   [AES-256]       CTS     N/A
88virt:   [AES-256]       CTR     ENCRYPT 376MB/s.
89virt:   [AES-256]       CTR     DECRYPT 376MB/s.
90virt:   [SM4-128]       ECB     ENCRYPT 313MB/s.
91virt:   [SM4-128]       ECB     DECRYPT 311MB/s.
92virt:   [SM4-128]       CBC     ENCRYPT 86MB/s.
93virt:   [SM4-128]       CBC     DECRYPT 310MB/s.
94virt:   [SM4-128]       CTS     N/A
95virt:   [SM4-128]       CTS     N/A
96virt:   [SM4-128]       CTR     ENCRYPT 285MB/s.
97virt:   [SM4-128]       CTR     DECRYPT 285MB/s.
98virt:   test cipher throughput SUCCESS.
99
100dma_fd: [AES-256]       GCM     ENCRYPT 181MB/s.
101dma_fd: [AES-256]       GCM     DECRYPT 181MB/s.
102dma_fd: [SM4-128]       GCM     ENCRYPT 87MB/s.
103dma_fd: [SM4-128]       GCM     DECRYPT 88MB/s.
104dma_fd: test aead throughput SUCCESS.
105
106virt:   [AES-256]       GCM     ENCRYPT 172MB/s.
107virt:   [AES-256]       GCM     DECRYPT 172MB/s.
108virt:   [SM4-128]       GCM     ENCRYPT 85MB/s.
109virt:   [SM4-128]       GCM     DECRYPT 85MB/s.
110virt:   test aead throughput SUCCESS.
111
112virt:   [         MD5]  179MB/s.
113virt:   [        SHA1]  145MB/s.
114virt:   [      SHA256]  179MB/s.
115virt:   [      SHA224]  179MB/s.
116virt:   [      SHA512]  280MB/s.
117virt:   [      SHA384]  278MB/s.
118virt:   [  SHA512_224]  N/A
119virt:   [  SHA512_256]  N/A
120virt:   [         SM3]  179MB/s.
121virt:   test hash throughput SUCCESS.
122
123dma_fd: [         MD5]  182MB/s.
124dma_fd: [        SHA1]  147MB/s.
125dma_fd: [      SHA256]  182MB/s.
126dma_fd: [      SHA224]  182MB/s.
127dma_fd: [      SHA512]  288MB/s.
128dma_fd: [      SHA384]  288MB/s.
129dma_fd: [  SHA512_224]  N/A
130dma_fd: [  SHA512_256]  N/A
131dma_fd: [         SM3]  182MB/s.
132dma_fd: test hash throughput SUCCESS.
133
134virt:   [    HMAC_MD5]  179MB/s.
135virt:   [   HMAC_SHA1]  145MB/s.
136virt:   [ HMAC_SHA256]  179MB/s.
137virt:   [ HMAC_SHA512]  280MB/s.
138virt:   [    HMAC_SM3]  179MB/s.
139virt:   test hmac throughput SUCCESS.
140
141dma_fd: [    HMAC_MD5]  182MB/s.
142dma_fd: [   HMAC_SHA1]  147MB/s.
143dma_fd: [ HMAC_SHA256]  182MB/s.
144dma_fd: [ HMAC_SHA512]  288MB/s.
145dma_fd: [    HMAC_SM3]  182MB/s.
146dma_fd: test hmac throughput SUCCESS.
147
148virt:   [RSA-1024]      PRIV    ENCRYPT 21ms.
149virt:   [RSA-1024]      PUB     DECRYPT 6ms.
150virt:   [RSA-2048]      PRIV    ENCRYPT 116ms.
151virt:   [RSA-2048]      PUB     DECRYPT 9ms.
152virt:   [RSA-3072]      PRIV    ENCRYPT 346ms.
153virt:   [RSA-3072]      PUB     DECRYPT 31ms.
154virt:   [RSA-4096]      PRIV    ENCRYPT 772ms.
155virt:   [RSA-4096]      PUB     DECRYPT 64ms.
156test rsa throughput SUCCESS.
157
158Test throughput SUCCESS.
159
160######## Test done ########
161console:/data #
162