[Voyage-linux] geode-aes not being used by OpenSSL?
Kim-man 'Punky' TSE
(spam-protected)
Tue Jun 2 09:40:46 HKT 2009
Hi Hans,
Try "modprobe cryptosoft" as well, it makes the difference.
- Punky
Hans Johnson wrote:
> 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 <mailto: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 <mailto:hans.johnson at gmail.com>)
> B.ASc, Computer Engineering
> Simon Fraser University
>
> ... Si hoc legere scis numium eruditionis habes. -- Anonymous
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
--
Regards,
Punky
Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
- Network Engineering, Development Platform and Consultation
More information about the Voyage-linux
mailing list