logo       

Re: Re: Hardware acceleration using VIA Padlock (was Re: [Openvpn-users] a : msg#00470

network.openvpn.user

Subject: Re: Re: Hardware acceleration using VIA Padlock (was Re: [Openvpn-users] a couple of questions)

Hi James,

> Now on OpenVPN 1.6 or 2.0-beta6 (but not beta5) try a crypto loopback test:
>
> openvpn --genkey --secret tmp-key
> time openvpn --test-crypto --secret tmp-key --verb 0 --tun-mtu 10000 --cipher
> aes-128-cbc
>
> This test will generate 10000 random packets starting at a size of 1 byte and
> going up to 10000 bytes, and loop them back through the the encryption and
> decryption algorithms.

I got access to a 1GHz VIA C3 box and tried the command using OpenVPN 1.6
and patched OpenSSL library; here are the results:

Stock Patched
OpenVPN OpenVPN

real 1m13.084s 0m47.655s
user 1m12.570s 0m47.560s
sys 0m0.020s 0m0.010s

I see a 34% improvement with hardware acceleration enabled.

--eric


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise