Hello,
I'm having trouble with the OpenSSL benchmark. It isn't able to load
cryptodev. Output attached.
Any pointers?
Thanks.
- Tom
$ openssl speed -engine cryptodev -elapsed -evp aes-128-cbc aes-128-cbc
invalid engine "cryptodev"
11286:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared
library:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/dso/dso_dlfcn.c:162:filename(/usr/lib/engines/libcryptodev.so):
Cannot open "/usr/lib/engines/libcryptodev.so"
11286:error:25070067:DSO support routines:DSO_load:could not load the shared
library:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/dso/dso_lib.c:244:
11286:error:260B6084:engine routines:DYNAMIC_LOAD:dso not
found:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_dyn.c:450:
11286:error:2606A074:engine routines:ENGINE_by_id:no such
engine:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_list.c:415:id=cryptodev
11286:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared
library:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/dso/dso_dlfcn.c:162:filename(libcryptodev.so):
Shared object "libcryptodev.so" not found, required by "openssl"
11286:error:25070067:DSO support routines:DSO_load:could not load the shared
library:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/dso/dso_lib.c:244:
11286:error:260B6084:engine routines:DYNAMIC_LOAD:dso not
found:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/engine/eng_dyn.c:450:
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: 981606 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 64 size blocks: 258602 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 256 size blocks: 65471 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 1024 size blocks: 16451 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 8192 size blocks: 2058 aes-128 cbc's in 3.00s
Doing aes-128-cbc for 3s on 16 size blocks: 913121 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 64 size blocks: 249883 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 256 size blocks: 64875 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 1024 size blocks: 16367 aes-128-cbc's in 3.00s
Doing aes-128-cbc for 3s on 8192 size blocks: 2058 aes-128-cbc's in 3.00s
OpenSSL 0.9.8e 23 Feb 2007
built on: Sun Feb 24 16:11:39 UTC 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 5234.72k 5516.54k 5586.44k 5614.71k 5617.06k
aes-128-cbc 4868.70k 5330.56k 5535.58k 5586.03k 5617.14k
$ uname -a
FreeBSD router.local 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18
07:33:20 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
$ openssl engine
(padlock) VIA PadLock (no-RNG, no-ACE)
(dynamic) Dynamic engine loading support
$ dmesg |grep glx
glxsb0: <AMD Geode LX Security Block (AES-128-CBC,RNG)> mem
0xefff4000-0xefff7fff irq 9 at device 1.2 on pci0
$ kldstat
Id Refs Address Size Name
1 6 0xc0400000 906578 kernel
2 1 0xc2553000 3000 pflog.ko
3 1 0xc2556000 33000 pf.ko
4 1 0xc2e07000 5000 glxsb.ko
5 1 0xc2e0c000 23000 crypto.ko
6 1 0xc2e2f000 a000 zlib.ko
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"