OpenWrt Forum Archive

Topic: RB450 versus RB450G CPU performance

The content of this topic has been archived on 12 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

i'm using Routerboard 450 (RB450) with OpenWRT in several situations for almost a year now. I probably have 30 RB450s running by now

some months ago we got the new and improved RB450 board, the RB450G, which features 680MHz CPU instead of 300MHz. It features 256Mb RAM and 512Mb NAND storage (RB450 is 32Mb RAM and 64Mb storage). It also has 5 Gigabit ethernet ports (with OpenWRT you'll get 2 real interfaces, 1 attached to 1 port and the other attached to 4 remaining ports, but you can setup VLANs to use 5 unique ports). RB450 had 100Mbit interfaces.

i've just bought a RB450G board. OpenWRT support for it seems not complete as i'm writing this. Networking support is not OK because of the gigabit switch. But that will be solved in some days i'm pretty sure.

what i found interesting, and the information may be useful for other people, is the 'openssl speed' on both boards. This information is really useful for those who are interested on using these boards as VPN endpoints.

tests were made using OpenWRT trunk r18181 which features:
kernel 2.6.30.9
openssl 0.9.8k

i have built an image and netbooted on RB450 and RB450G. ALL network services were disabled on this image, so there's absolutely nothing running but openssl and the shell. I'm acessing it through serial cable, there's not even SSH involved. Both boards were netbooted with the very same image i built. Results are:


RB450 results for 'openssl speed'

OpenSSL 0.9.8k 25 Mar 2009
built on: Mon Oct 26 13:55:50 BRST 2009
options:bn(64,32) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) blowfish(ptr) 
compiler: mips-openwrt-linux-uclibc-gcc -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -I/home/solutti/openwrt3/trunk/staging_dir/target-mips_uClibc-0.9.30.1l
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   2048 bytes
md4               1089.45k     3855.85k    11416.58k    22382.93k    26651.99k
md5                840.67k     2944.73k     8517.46k    16160.43k    19006.12k
hmac(md5)         1322.07k     4296.66k    11019.01k    18119.34k    20299.78k
sha1               702.42k     1940.59k     4007.08k     5467.14k     5821.10k
rc4              13099.37k    14729.69k    15202.30k    15325.53k    15346.35k
des cbc           2184.96k     2262.42k     2282.58k     2287.62k     2288.98k
des ede3           813.53k      825.47k      828.50k      829.44k      829.44k
rc2 cbc           2371.10k     2462.51k     2486.44k     2492.76k     2493.78k
blowfish cbc      5121.50k     5567.64k     5691.90k     5723.82k     5729.62k
cast cbc          4541.85k     4940.71k     5051.48k     5080.06k     5085.18k
aes-128 cbc       3440.39k     3744.13k     3827.97k     3849.56k     3853.65k
aes-192 cbc       3036.80k     3264.66k     3328.34k     3344.73k     3347.80k
aes-256 cbc       2708.74k     2893.42k     2943.66k     2956.63k     2958.68k
sha256             755.57k     1753.64k     3107.84k     3850.58k     3997.34k
sha512             210.37k      841.86k     1224.53k     1684.14k     1796.78k
aes-128 ige       3524.46k     4036.97k     4187.31k     4226.05k     4232.53k
aes-192 ige       3095.85k     3485.46k     3596.63k     3625.30k     3630.42k
aes-256 ige       2756.91k     3066.03k     3152.04k     3174.06k     3177.81k
                  sign    verify    sign/s verify/s
rsa  512 bits 0.010881s 0.000913s     91.9   1094.8
rsa 1024 bits 0.055611s 0.002722s     18.0    367.4
rsa 2048 bits 0.334333s 0.009217s      3.0    108.5
rsa 4096 bits 2.222000s 0.032745s      0.5     30.5
                  sign    verify    sign/s verify/s
dsa  512 bits 0.009149s 0.010416s    109.3     96.0
dsa 1024 bits 0.026935s 0.032395s     37.1     30.9
dsa 2048 bits 0.090541s 0.109239s     11.0      9.2

RB450G results for 'openssl speed'

OpenSSL 0.9.8k 25 Mar 2009
built on: Mon Oct 26 13:55:50 BRST 2009
options:bn(64,32) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) blowfish(ptr) 
compiler: mips-openwrt-linux-uclibc-gcc -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -I/home/solutti/openwrt3/trunk/staging_dir/target-mips_uClibc-0.9.30.1l
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   2048 bytes
md4               2464.18k     8723.63k    25854.29k    50737.49k    60439.89k
md5               1903.19k     6664.13k    19280.30k    36628.82k    43092.65k
hmac(md5)         3004.96k     9764.91k    25047.47k    41145.34k    46078.63k
sha1              1589.99k     4394.50k     9081.09k    12397.23k    13200.73k
rc4              29710.58k    33407.79k    34480.04k    34759.34k    34806.44k
des cbc           4935.41k     5114.24k     5160.87k     5169.15k     5171.88k
des ede3          1844.79k     1872.04k     1879.04k     1881.09k     1881.43k
rc2 cbc           5373.95k     5583.74k     5639.34k     5653.16k     5655.89k
blowfish cbc     11603.64k    12626.56k    12909.82k    12982.95k    12995.24k
cast cbc         10268.65k    11196.37k    11454.72k    11521.37k    11532.97k
aes-128 cbc       7771.99k     8476.69k     8677.89k     8730.28k     8739.50k
aes-192 cbc       6864.73k     7401.92k     7546.97k     7584.77k     7591.94k
aes-256 cbc       6124.95k     6561.73k     6675.97k     6704.47k     6709.93k
sha256            1714.81k     3978.41k     7048.28k     8732.67k     9095.17k
sha512             477.32k     1910.17k     2777.34k     3819.86k     4074.84k
aes-128 ige       7926.05k     9133.87k     9490.94k     9584.64k     9600.34k
aes-192 ige       7000.29k     7895.08k     8098.39k     8207.36k     8225.45k
aes-256 ige       6251.32k     6947.31k     7147.18k     7197.01k     7182.29k
                  sign    verify    sign/s verify/s
rsa  512 bits 0.004792s 0.000400s    208.7   2497.1
rsa 1024 bits 0.024499s 0.001200s     40.8    833.3
rsa 2048 bits 0.147794s 0.004057s      6.8    246.5
rsa 4096 bits 0.979091s 0.014444s      1.0     69.2
                  sign    verify    sign/s verify/s
dsa  512 bits 0.004036s 0.004651s    247.8    215.0
dsa 1024 bits 0.011902s 0.014219s     84.0     70.3
dsa 2048 bits 0.040000s 0.047847s     25.0     20.9

well .... hope this will be useful for anyone smile

(Last edited by leonardogyn on 27 Oct 2009, 20:01)

interesting ... on RB450G the RouterBOOT allows to overclock the 680MHz processor to 800MHz. Here are the numbers having the RB450G overclocked to 800MHz

RB450 has no overclock option, the max CPU frequency is 300MHz


OpenSSL 0.9.8k 25 Mar 2009
built on: Mon Oct 26 13:55:50 BRST 2009
options:bn(64,32) rc4(ptr,char) des(idx,cisc,16,long) aes(partial) blowfish(ptr) 
compiler: mips-openwrt-linux-uclibc-gcc -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -I/home/solutti/openwrt3/trunk/staging_dir/target-mips_uClibc-0.9.30.1l
available timing options: TIMES TIMEB HZ=100 [sysconf value]
timing function used: times
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   2048 bytes
md4               2910.50k    10303.57k    30500.52k    59767.13k    71157.76k
md5               2247.48k     7865.64k    22738.69k    43144.19k    50735.79k
hmac(md5)         3527.98k    11463.98k    29400.06k    48344.75k    54162.09k
sha1              1877.35k     5181.91k    10697.39k    14592.68k    15534.76k
rc4              34955.46k    39305.00k    40566.78k    40895.49k    40951.13k
des cbc           5829.69k     6036.22k     6089.98k     6103.72k     6106.45k
des ede3          2166.44k     2198.17k     2206.21k     2208.43k     2209.11k
rc2 cbc           6327.24k     6571.07k     6634.92k     6651.22k     6653.95k
blowfish cbc     13642.71k    14851.61k    15187.80k    15274.67k    15289.00k
cast cbc         12120.37k    13184.09k    13479.85k    13556.05k    13569.37k
aes-128 cbc       9174.20k     9988.93k    10214.06k    10272.09k    10281.64k
aes-192 cbc       8085.43k     8708.84k     8880.90k     8924.84k     8932.01k
aes-256 cbc       7232.26k     7721.26k     7854.85k     7889.24k     7895.04k
sha256            2016.40k     4681.11k     8293.72k    10274.82k    10700.80k
sha512             561.42k     2246.66k     3267.41k     4493.99k     4793.69k
aes-128 ige       9404.76k    10771.31k    11172.52k    11277.65k    11295.40k
aes-192 ige       8251.83k     9298.35k     9596.84k     9674.07k     9687.04k
aes-256 ige       7358.13k     8180.86k     8410.71k     8469.85k     8479.40k
                  sign    verify    sign/s verify/s
rsa  512 bits 0.004078s 0.000341s    245.2   2930.7
rsa 1024 bits 0.020833s 0.001019s     48.0    981.2
rsa 2048 bits 0.125500s 0.003448s      8.0    290.0
rsa 4096 bits 0.832308s 0.012282s      1.2     81.4
                  sign    verify    sign/s verify/s
dsa  512 bits 0.003427s 0.003940s    291.8    253.8
dsa 1024 bits 0.010101s 0.012376s     99.0     80.8
dsa 2048 bits 0.034000s 0.040363s     29.4     24.8

(Last edited by leonardogyn on 27 Oct 2009, 20:00)

Very linear performance, nice!

And thanks a lot for this post. This is exactly why i'm ordering rb450Gs

The discussion might have continued from here.