Набор инструментов

Набор инструментов

Различный инструментарий для тестирования производительности

Тестирование с использованием OpenSSL

openssl speed -evp aes-128-cbc && openssl version
openssl speed -multi $(cat /proc/cpuinfo | grep processor | wc -l) -evp aes-128-cbc && openssl version

openssl speed -multi 4 -evp aes-128-cbc

CPU

Потоки

OpenSSL

16 bytes

64 bytes

256 bytes

1024 bytes

8192 bytes

16384 bytes

BCM4708A0

BCM4708A0

BCM4708C0

1

1.1.1k

27 036.45k

32 313.77k

33 260.41k

35 435.55k

34 203.65k

34 968.92k

BCM4708C0

2

1.1.1k

51 134.23k

63 632.79k

65 875.71k

68 457.47k

68 269.40k

68 588.89k

BCM4709A0

1

1.0.2u

28 931.00k

32 759.05k

34 683.98k

35 453.08k

35 107.39k

BCM4709A0

2

1.0.2u

57 095.65k

65 446.81k

69 226.67k

70 207.15k

70 470.31k

BCM4709C0

1

39 186.70k

44 360.10k

47 871.64k

49 455.98k

48 667.68k

BCM4709C0

2

76 224.09k

77 332.82k

84 680.73k

87 255.38k

88 932.35k

BCM4906

1

179 593.41k

503 895.73k

920 798.87k

1 185 339.59k

1 291 094.82k

BCM4906

2

354 462.27k

977 308.79k

1 818 916.31k

2 345 368.27k

2 547 029.67k

BCM4906

1

1.1.1k

79 093.67k

270 060.50k

672 600.53k

1 087 933.78k

1 335 647.48k

1 332 567.16k

BCM4906

2

1.1.1k

156 427.64k

533 029.05k

1 324 354.79k

2 147 212.18k

2 600 897.31k

2 658 807.06k

BCM4908

1

182 161.03k

509 975.81k

920 121.60k

1 181 396.31k

1 289 176.96k

BCM4908

4

698 415.97k

1 985 374.85k

3 578 451.63k

4 606 712.83k

4 969 483.39k

BCM4908

1

1.1.1k

78 127.83k

266 854.85k

665 363.20k

1 082 592.94k

1 323 504.98k

1 337 032.38k

BCM4908

4

1.1.1k

310 438.68k

1 061 794.43k

2 648 697.26k

4 312 769.19k

5 162 163.92k

5 336 629.25k

BCM49408

1

1.1.1k

79 208.75k

269 962.58k

671 496.31k

1 085 385.05k

1 323 291.99k

1 340 992.17k

BCM49408

4

1.1.1k

315 741.05k

1 062 804.37k

2 649 513.86k

4 203 394.56k

5 243 783.85k

5 285 096.11k

BCM4912

1

1.1.1k

244 757.75k

309 706.35k

336 177.07k

342 501.03k

343 162.88k

342 338.22k

BCM4912

4

1.1.1k

300 415.99k

1 063 613.46k

2 743 855.79k

4 627 524.61k

5 777 369.77k

5 868 060.67k

BCM6750

1

31 196.92k

35 944.15k

37 340.71k

37 840.42k

37 865.24k

BCM6750

3

59 623.94k

68 955.68k

71 636.55k

72 527.57k

72 714.92k

BCM6750

1

1.1.1k

28 290.19k

35 262.38k

37 873.87k

38 547.46k

38 907.89k

38 770.01k

BCM6750

3

1.1.1k

83 126.74k

103 317.03k

111 478.10k

111 467.86k

112 967.95k

112 306.86k

BCM6755

1

1.1.1k

28 232.66k

35 324.13k

37 786.03k

38 584.94k

38 697.58k

38 700.33k

BCM6755

4

1.1.1k

83 233.68k

103 826.46k

111 243.62k

110 815.30k

114 576.04k

114 765.06k

BCM6756

1

1.1.1n

39 124.11k

42 279.52k

43 579.36k

43 582.58k

43 812.35k

43 825.45k

BCM6756

4

1.1.1n

94 626.86k

117 451.59k

125 590.16k

128 223.56k

129 601.23k

129 953.89k

MT7620

MT7620

MT7620A

MT7620A

MT7621AT

1

1.1.1k

9 869.97k

12 108.91k

13 393.95k

13 447.49k

13 430.50k

13 332.62k

MT7621AT

4

1.1.1k

19 248.52k

24 207.89k

25 397.50k

24 570.20k

25 362.43k

25 853.95k

MT7621A

MT7621A

4

21 916.12k

22 852.87k

23 262.38k

23 263.85k

23 328.09k

MT7621S

MT7621S

4

10 891.69k

11 434.13k

11 575.65k

11 624.11k

11 643.56k

MT7622B

1

1.1.1k

49 750.79k

54 139.65k

55 576.91k

56 061.25k

55 925.52k

56 161.93k

MT7622B

2

1.1.1k

IPQ4018

1

1.0.2u

16 092.93k

17 855.55k

18 416.86k

18 727.98k

18 780.60k

IPQ4018

4

1.0.2u

58 431.93k

66 383.19k

64 325.12k

71 997.10k

71 497.05k

IPQ8074

1

1.1.1k

156 572.21k

486 076.26k

1 008 680.01k

1 362 852.01k

1 601 660.47k

1 594 705.61k

IPQ8074

4

1.1.1k

599 442.10k

1 923 583.53k

3 867 264.34k

5 410 689.02k

6 039 038.63k

6 169 400.66k

###

BCM4708C0 1 ГГц
$ openssl speed -evp aes-128-cbc
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
total 27036.45k 32313.77k 33260.41k 35435.55k 34203.65k 34968.92k (01.11.2021)
$ openssl speed -multi 2 -evp aes-128-cbc
total 51134.23k 63632.79k 65875.71k 68457.47k 68269.40k 68588.89k (01.11.2021)

BCM4709
$ openssl speed -evp aes-128-cbc
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
total 39186.70k 44360.10k 47871.64k 49455.98k 48667.68k
$ openssl speed -multi 2 -evp aes-128-cbc
total 76224.09k 77332.82k 84680.73k 87255.38k 88932.35k

BCM4709A0 1 ГГц
$ openssl speed -evp aes-128-cbc
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
total 28931.00k 32759.05k 34683.98k 35453.08k 35107.39k (02.11.2021) OpenSSL 1.0.2u
$ openssl speed -multi 2 -evp aes-128-cbc
total 57095.65k 65446.81k 69226.67k 70207.15k 70470.31k (02.11.2021) OpenSSL 1.0.2u
BCM4906 $ openssl speed -evp aes-128-cbc type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes total 179593.41k 503895.73k 920798.87k 1185339.59k 1291094.82k
total 79093.67k 270060.50k 672600.53k 1087933.78k 1335647.48k 1332567.16k (02.11.2021) OpenSSL 1.1.1g $ openssl speed -multi 2 -evp aes-128-cbc total 354462.27k 977308.79k 1818916.31k 2345368.27k 2547029.67k
total 154427.64k 502029.05k 1203354.79k 1495212.18k 2037897.31k 2151807.06k (02.11.2021) OpenSSL 1.1.1g BCM4908 $ openssl speed -evp aes-128-cbc type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes total 182161.03k 509975.81k 920121.60k 1181396.31k 1289176.96k total 77887.23k 267115.94k 665252.34k 1083251.93k 1323051.84k 1338495.83k (01.11.2021) total 78127.83k 266854.85k 665363.20k 1082592.94k 1323504.98k 1337032.38k (02.11.2021) OpenSSL 1.1.1k
$ openssl speed -multi 4 -evp aes-128-cbc total 698415.97k 1985374.85k 3578451.63k 4606712.83k 4969483.39k total 307834.27k 1029518.29k 2611195.73k 4218584.41k 5156760.23k 5262103.89k (01.11.2021)
total 310438.68k 1061794.43k 2648697.26k 4312769.19k 5162163.92k 5336629.25k (02.11.2021) OpenSSL 1.1.1k

BCM49408
$ openssl speed -evp aes-128-cbc
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
total 79208.75k 269962.58k 671496.31k 1085385.05k 1323291.99k 1340992.17k (16.11.2021) OpenSSL 1.1.1k
$ openssl speed -multi 4 -evp aes-128-cbc
total 315741.05k 1062804.37k 2649513.86k 4203394.56k 5243783.85k 5285096.11k (16.11.2021) OpenSSL 1.1.1k

BCM4912
$ openssl speed -evp aes-128-cbc
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
total 244757.75k 309706.35k 336177.07k 342501.03k 343162.88k 342338.22k (23.11.2021) OpenSSL 1.1.1k
$ openssl
speed -multi 4 -evp aes-128-cbc
total 300415.99k 1063613.46k 2743855.79k 4627524.61k 5777369.77k 5868060.67k (23.11.2021) OpenSSL 1.1.1k


BCM6750 $ openssl speed -evp aes-128-cbc type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes total 31196.92k 35944.15k 37340.71k 37840.42k 37865.24k
total 28290.19k 35262.38k 37873.87k 38547.46k 38907.89k 38770.01k (09.11.2021) OpenSSL 1.1.1k
$ openssl speed -multi 3 -evp aes-128-cbc total 59623.94k 68955.68k 71636.55k 72527.57k 72714.92k
total 83126.74k 103317.03k 111478.10k 111467.86k 112967.95k 112306.86k (09.11.2021) OpenSSL 1.1.1k BCM6755 $ openssl speed -evp aes-128-cbc type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes total 31428.76k 36732.74k 38107.58k 38392.69k 38805.81k
total 28232.66k 35324.13k 37786.03k 38584.94k 38697.58k 38700.33k (05.11.2021) OpenSSL 1.1.1k $ openssl speed -multi 4 -evp aes-128-cbc total 93044.69k 101851.38k 111167.72k 110942.21k 111395.67k
total 83233.68k 103826.46k 111243.62k 110815.30k 114576.04k 114765.06k (05.11.2021) OpenSSL 1.1.1k

IPQ4018
$ openssl speed -evp aes-128-cbc
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
total 16092.93k 17855.55k 18416.86k 18727.98k 18780.60k (04.11.2021)
$ openssl speed -multi 4 -evp aes-128-cbc
total 58431.93k 66383.19k 64325.12k 71997.10k 71497.05k (04.11.2021)

IPQ8074
$ openssl speed -evp aes-128-cbc
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
total 208706.70k 610714.57k 1117243.88k 1502108.18k 1570997.43k
total 153537.38k 485103.97k 1007893.13k 1380918.68k 1587746.13k 1571821.38k (01.11.2021)
$ openssl speed -multi 4 -evp aes-128-cbc total 819570.61k 2397660.03k 4395745.28k 5685928.62k 6203588.61k
total 596418.85k 1925251.39k 3932606.04k 5408402.09k 6087461.55k 6146140.84k (01.11.2021)

MT7621AT 880 МГц
$ openssl speed -evp aes-128-cbc
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
total 9869.97k 12108.91k 13393.95k 13447.49k 13430.50k 13332.62k (02.11.2021) OpenSSL 1.1.1k
$ openssl speed -multi 4 -evp aes-128-cbc
total 19248.52k 24207.89k 25397.50k 24570.20k 25362.43k 25853.95k (02.11.2021) OpenSSL 1.1.1k

MT7621AT 900 МГц
$ openssl speed -evp aes-128-cbc
OpenSSL 1.1.1k 25 Mar 2021
type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes 16384 bytes
total 9245.06k 10676.54k 12020.05k 12216.66k 12288.00k 11594.41k (02.11.2021) OpenSSL 1.1.1k
$ openssl speed -multi 4 -evp aes-128-cbc
total 19496.80k 23302.55k 24568.92k 24907.78k 24950.10k 24952.83k (02.11.2021) OpenSSL 1.1.1k


MediaTek MT7620
total 8 042 680
MediaTek MT7620A
total 8 049 200
MediaTek MT7620N
total 7 733 730
MediaTek MT7621
total 11 891 710
Broadcom BCM4709A0
total 32 805 670
Broadcom BCM4708A0
total 27 129 170

###

DMIPS: Dhrystone Million Instructions executed Per Second

Используется для измерения вычислительной способности целых чисел

###

wget https://urouter.ru/binary/dhrystone/dhrystone_arm && chmod +x dhrystone_arm && ./dhrystone_arm

wget https://urouter.ru/binary/dhrystone/dhrystone_hnd && chmod +x dhrystone_hnd && ./dhrystone_hnd

Результаты простых тестов
RT-AC3200 (BCM4709A0) Общий DMIPS:2292.64 (02.11.2021)
RT-AC5300 (BCM4709) Общий DMIPS: 3170.17
TUF-AX3000 (BCM6750) Общий DMIPS: 7473.12
TUF-AX3000 V2 (BCM6756) Общий DMIPS: 11144.59 (01.05.2022)
RT-AX58U (BCM6750) Общий DMIPS: 7507.81 (09.11.2021)
RT-AX58U V2 (BCM6756) Общий DMIPS: 11153.51 (01.05.2022)
RT-AX55 (BCM6755) Общий DMIPS:9805.70 (05.11.2021)
ZenWiFi XT8 (BCM6755) Общий DMIPS: 9926.89

RT-AC86U (BCM4906) Общий DMIPS: 6428.51 (01.11.2021)
GT-AC5300 (BCM4908) Общий DMIPS: 12532.31
GT-AX11000 (BCM4908) Общий DMIPS:13014.56 (02.11.2021)
RT-AX88U (BCM49408) Общий DMIPS: 12871.15
RT-AX88U (BCM49408) Общий DMIPS: 13010.65 (16.11.2021)
GT-AX6000 (BCM4912) Общий DMIPS: 14381.54 (23.11.2021)

RT-AC58U (IPQ4018) Общий DMIPS:2236.20 (04.11.2021)
RT-AX89X (IPQ8074) Общий DMIPS: 7908.24 RT-AX89X (IPQ8074) Общий DMIPS: 8132.05 (01.11.2021)


###

OpenVPN теоретическая производительность

###

As for comparing OpenVPN performance, I have started using this benchmark:

openvpn --genkey --secret /tmp/secret
time openvpn --test-crypto --secret /tmp/secret --verb 0 --tun-mtu 20000 --cipher aes-256-cbc


Then to give the execution time in seconds a real-world meaning:
( 3200 / execution_time_seconds ) = Projected Maximum OpenVPN Performance in Mbps


For example (tested using Linux 3.2.x)…
PC Engines APU2 Quad Core AMD GX-412TC:
Execution time: 77.3 secs.
Maximum OpenVPN: 41 Mbps

Jetway NF9HG-2930 Quad Core Celeron N2930:
Execution time: 42.4 secs.
Maximum OpenVPN: 75 Mbps

###

https://openwrt.org/docs/guide-user/perf_and_log/benchmark.openssl

 

Полезные команды

ifconfig 

используемые интерфейсы

запуск диагностики кабеля на порту eth3

ethctl eth3 cable-diag run