[Voyage-linux] geode-aes not being used by OpenSSL?

Hans Johnson (spam-protected)
Tue Jun 2 05:47:13 HKT 2009


Hi All,

I'm just attempting to get the geode-aes up and running on my ALIX, and am
running into some issues.

I have the cryptodev modules loaded, along with ocf, geode_aes, and
cryptosoft.

I can verfy that the geode_aes is loaded, as if I run the cryptotest program
from the OCF folks, it will do 309mbps of AES-128 with the geode_aes module
loaded, and about 40mbps without.

I also have the ocf versions of openssl and libssl (0.9.8g-15ocf) from the
voyage archives installed, and get no errors when I run

openssl speed -engine cryptodev -evp aes-128-cbc

And, in fact, openssl seems to report significantly lower performance when
geode_aes is enabled, compared to when it is not, which doesn't make much
sense to me.

Also, I tried sending 100MB of /dev/zero through an ssh link back to my main
server, and was averaging only 3.9MB/s, which is about what you would expect
without the hardware crypto.  (The command here is:

ssh -c aes128-cbc root at 10.0.0.1 dd if=/dev/zero count=102400 bs=1024 >
/dev/null

and there is no difference in performance between having geode_aes loaded or
not.

I have to admit, I'm a bit puzzled as to what's going on here.

Thanks,

Hans
-- 
---------------------------------------------
Hans Johnson (hans.johnson at gmail.com)
B.ASc, Computer Engineering
Simon Fraser University

... Si hoc legere scis numium eruditionis habes. -- Anonymous
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20090601/cebfaef1/attachment-0002.html>


More information about the Voyage-linux mailing list