Date: Sun, 22 Jun 2008 20:20:41 +0200 From: Patrick =?ISO-8859-15?Q?Lamaizi=E8re?= <patfbsd@davenulle.org> To: Ivan Voras <ivoras@freebsd.org> Cc: freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org Subject: Re: AMD Geode LX crypto accelerator (glxsb) Message-ID: <20080622202041.07f85145@baby-jane-lamaiziere-net.local> In-Reply-To: <g3m2po$bf1$1@ger.gmane.org> References: <20080606234135.46144207@baby-jane-lamaiziere-net.local> <20080622170507.5ac469d2@baby-jane-lamaiziere-net.local> <g3m20f$99a$1@ger.gmane.org> <g3m2po$bf1$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Le Sun, 22 Jun 2008 19:40:04 +0200, Ivan Voras <ivoras@freebsd.org> a écrit : > Ivan Voras wrote: > > > The results are practically the same. > > On the other hand: > > ursaminor:~/admin/glxsb> dd if=/dev/zero bs=4k count=100000 | openssl > enc -aes-128-cbc -e -out /dev/null -nosalt -k abcdefhij > 100000+0 records in > 100000+0 records out > 409600000 bytes transferred in 77.653939 secs (5274684 bytes/sec) > > ursaminor:~/admin/glxsb> dd if=/dev/zero bs=4k count=100000 | openssl > enc -aes-128-cbc -e -out /dev/null -nosalt -k abcdefhij -engine > cryptodev engine "cryptodev" set. > 100000+0 records in > 100000+0 records out > 409600000 bytes transferred in 21.486846 secs (19062826 bytes/sec) > > So I guess it works. Any idea why "openssl speed" doesn't show it? On FreeBSD 7, OpenSSL does not use the cryptodev engine by default. This is a known problem. See http://unix.derkeiler.com/Mailing-Lists/FreeBSD/hackers/2008-06/msg00076.html openssl speed -evp aes-128-cbc -elapsed -engine cryptodev
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080622202041.07f85145>