Test OpenSSL / VPN1411

  • Test sur un gros fichier :
$ sysctl -a kern.usercrypto
kern.usercrypto=1
$ time openssl enc -des3 -in bigfile -k none -out /dev/null
    0m5.48s real     0m1.00s user     0m2.78s system
$ sysctl -w kern.usercrypto=0
kern.usercrypto: 1 -> 0
$ time openssl enc -des3 -in bigfile -k none -out /dev/null
    0m24.38s real     0m22.95s user     0m0.85s system
  • Test du nombre d’octets/blocs traités en 3 secondes :
$ sysctl -a kern.usercrypto
kern.usercrypto=1
$ openssl speed -evp des3
[...]
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
des-ede3-cbc      1548.16k     4392.03k    34393.29k    79582.55k   566493.18k
$ sysctl -w kern.usercrypto=0
kern.usercrypto: 1 -> 0
$ openssl speed -evp des3
[...]
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
des-ede3-cbc       665.34k      724.26k      745.67k      747.90k      750.97k
 
test_openssl_vpn1411.txt · Dernière modification: 2006/09/03 17:25
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki