Community discussions

MikroTik App
 
JaneCheng
just joined
Topic Author
Posts: 3
Joined: Wed Aug 01, 2012 7:27 pm

IPSec VPN hardware encryption performance-cant get 820Mbps

Wed Aug 01, 2012 7:51 pm

I have two RB1100AHx2(OS 5.8), named MT06, MT01

Two laptops
laptop1: IntelCore i7-2720QM@2.2Ghz, 8GB memory, linux kernel 3.*, iperf 3.*
laptop2: IntelCore i7-2637M@1.7Ghz, 8GB memory, linux kernel 2.6, ipef 2.0.4

MT06/eth11---MT01/eth11

laptop1--MT06/eth7
laptop2--MT01/eth7

IPSec VPN is set up between MT06 and MT01(sha1, AES-128)

I followed all the instructions of "Hardware encryption"(http://wiki.mikrotik.com/wiki/Manual:IP ... encryption)

The maximum throughput I get is 460Mbps, not as stated as 820Mbps

Any idea how can I get 820Mbps?

BTW, I can get 930Mbps when connected two laptops to the same MikroTik switch group(MT06/eth3, eth4), without VPN and routing settings
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: IPSec VPN hardware encryption performance-cant get 820Mb

Thu Aug 02, 2012 11:41 am

First you need to install latest RouterOS version.

Then it depends on packet size and on protocol. It was UDP or TCP?
 
JaneCheng
just joined
Topic Author
Posts: 3
Joined: Wed Aug 01, 2012 7:27 pm

Re: IPSec VPN hardware encryption performance-cant get 820Mb

Thu Aug 02, 2012 5:36 pm

First you need to install latest RouterOS version----upgraded to 5.19, the same result

Then it depends on packet size and on protocol. It was UDP or TCP?---packet size 1448byte, TCP

Tried with aes-256, the same result.

laptop1
#iperf -c 10.50.112.100 -P 30

laptop2
#iperf -s
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7053
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: IPSec VPN hardware encryption performance-cant get 820Mb

Fri Aug 03, 2012 1:26 pm

Ofcourse TCP will be much slower, you will never get 800Mbps with TCP. 460Mbps TCP is good result.
 
psamsig
Member Candidate
Member Candidate
Posts: 161
Joined: Sun Dec 06, 2009 1:36 pm
Location: Denmark

Re: IPSec VPN hardware encryption performance-cant get 820Mb

Fri Aug 03, 2012 11:17 pm

Out of curiosity, and in case you still have the test setup running, how does it perform with MD5 instead SHA1?

On earlier occasions, tests have shown that RouterOS gets surprisingly high differences between MD5 and SHA1 (not so surprisingly in the favor of MD5)
 
JaneCheng
just joined
Topic Author
Posts: 3
Joined: Wed Aug 01, 2012 7:27 pm

Re: IPSec VPN hardware encryption performance-cant get 820Mb

Sat Aug 04, 2012 12:11 am

test shows no big difference between sha1 and md5

Who is online

Users browsing this forum: Amazon [Bot], daliad100, DimoSK and 97 guests