Changes between Version 7 and Version 8 of Gigabit_Networks_Linux


Ignore:
Timestamp:
05/02/11 12:23:47 (13 years ago)
Author:
JJK
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Gigabit_Networks_Linux

    v7 v8  
    5151Now an '''iperf''' result of '''307 Mbps''' is obtained.
    5252
    53 By playing with the '--tun-mtu' size we obtain
    54 ||=  MTU= ||= Blowfish =||= AES256 =||
    55 ||= 1500=|| 158 || 126 ||
    56 ||= 6000=|| 307 || 220 ||
    57 ||= 9000=|| 370 || 249 ||
    58 ||=12000=|| 416 || 252 ||
    59 ||=24000=|| 466 || 259 ||
    60 ||=36000=|| 470 || 244 ||
    61 ||=48000=|| 510 || 247 ||
    62 ||=60000=|| 488 || 221 ||
     53By playing with the '--tun-mtu' size we obtain (all speeds in Mbps)
     54|| MTU || Blowfish || AES256 ||
     55|| 1500|| 158 || 126 ||
     56|| 6000|| 307 || 220 ||
     57|| 9000|| 370 || 249 ||
     58||12000|| 416 || 252 ||
     59||24000|| 466 || 259 ||
     60||36000|| 470 || 244 ||
     61||48000|| 510 || 247 ||
     62||60000|| 488 || 221 ||
     63For the default Blowfish cipher the optimal value for the 'tun-mtu' paramters for a link between these two servers seems to be '''48000''' bytes.
    6364
     65By increasing the MTU size of the tun adapter '''and''' by disabling OpenVPN's internal fragmentation routines the throughput can be increased quite dramatically. The reason behind this is that by feeding larger packets to the OpenSSL encryption and decryption routines the performance will go up. The second advantage of not internally fragmenting packets is that this is left to the operating system and to the kernel network device drivers. For a LAN-based setup this can work, but when handling various types of remote users (road warriors, cable modem users, etc) this is not always a possibility.
    6466
    65