2008/6/22 Patrick Lamaizière <[EMAIL PROTECTED]>: > openssl speed -evp aes-128-cbc -elapsed -engine cryptodev
I see the "-evp" parameter makes the difference in "openssl speed": > openssl speed -engine cryptodev -elapsed -evp aes-128-cbc aes-128-cbc engine "cryptodev" set. You have chosen to measure elapsed time instead of user CPU time. To get the most accurate results, try to run this program when this computer is idle. Doing aes-128 cbc for 3s on 16 size blocks: 1005992 aes-128 cbc's in 3.00s Doing aes-128 cbc for 3s on 64 size blocks: 262256 aes-128 cbc's in 3.01s Doing aes-128 cbc for 3s on 256 size blocks: 66470 aes-128 cbc's in 3.01s Doing aes-128 cbc for 3s on 1024 size blocks: 16575 aes-128 cbc's in 3.01s Doing aes-128 cbc for 3s on 8192 size blocks: 2087 aes-128 cbc's in 3.01s Doing aes-128-cbc for 3s on 16 size blocks: 74195 aes-128-cbc's in 3.01s Doing aes-128-cbc for 3s on 64 size blocks: 69208 aes-128-cbc's in 3.01s Doing aes-128-cbc for 3s on 256 size blocks: 64154 aes-128-cbc's in 3.01s Doing aes-128-cbc for 3s on 1024 size blocks: 44369 aes-128-cbc's in 3.01s Doing aes-128-cbc for 3s on 8192 size blocks: 9512 aes-128-cbc's in 3.01s OpenSSL 0.9.8e 23 Feb 2007 built on: Tue Apr 15 19:40:37 CEST 2008 options:bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) aes(partial) blowfish(idx) compiler: cc available timing options: USE_TOD HZ=128 [sysconf value] timing function used: gettimeofday The 'numbers' are in 1000s of bytes per second processed. type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes aes-128 cbc 5359.57k 5577.49k 5654.53k 5639.81k 5679.65k aes-128-cbc 394.62k 1471.97k 5457.89k 15097.21k 25895.72k
_______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"