-SNIP-
I haven't taken the time to fully understand the tests you've done etc. 
[And it does seem you are not some neophyte blindly hacking your way through 
this...]

However, I will tell you that it's *very* common for people to do things that 
appear very similarly as you describe, and find the IPSec throughput is vastly 
better then OpenVPN. [That's always been my experience in any benchmarking I've 
done - and I've done some.]  Each time I've seen it discussed - I've seen 
repeated threads all pointing to the kernel vs user space arguments.

And all my own testing also shows that to be the case. 

IIRC, in the platforms I've tested, OVPN isn't CPU constrained - the connection 
will max out throughput far earlier than CPU exhaustion. IPSec will scale more 
or less directly with CPU performance - and at max throughput the CPU handling 
encryption will max out. (I suppose this might not be true in a system with 
in-hardware AES or other encryption off-loading - and the ethernet interface 
will become the bottleneck, not the CPU - but where I've run tests, that was 
never the case. It's, admittedly, been a while since I've done any real 
throughput tests on a test-bed setup.)

TK> Again, keep in mind that full wire speed is realized with no vpn, and
TK> with IPSec. 
TK> So, to reason this through a little:

1) TK> - No vpn = fast.
2) TK> - IPSec = fast.
3) - OVPN->>OVPN = even faster
4) - OVPN->>OVPN->routing/hardware = slow, down to about 200Mbps from 1+Gbps.


I may certainly be wrong, but I'd be *really* skeptical about #3. I've *never* 
seen a case where the performance of OpenVPN is better than IPSec on the same 
platform.

And if #3 is wrong, your "tinkering" with #4 will never yield something useful.
Obviously, I'd want to be pretty sure the straight OVPN <-> OVPN tests are 
accurate before trying to solve #4.

-Greg
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to