I got roughly the same performance results when I use the openssl speed
test with and without a hifn 7956 cryto card
Here's what I did:
After the card is plugged in, kldload hifn; kldload cryptodev;
I got the message:
hifn0 mem 0xfc8f0000-0xfc8f7ffff, 0xfc8f0000-0xfc8f7ffff,
0xfc8f0000-0xfc8f7ffff irg 28 at device 3.0 on pci1
hifn0: Hifn 7956, rev 0, 32KB dram, pll=3D0x800<pci clk, 4x mult>
Then I ran:
Openssl speed des-cbc
And got the following result:
16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
43251.97k 44919.41k 45342.43k 45506.13k 45579.98k
Then I did kldunload hifn; kldunload cryptodev and ran the same test
again, and got
16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
43108.10k 44917.96k 45460.88k 45532.15k 45566.26k
Version of FreeBSD is 5.3-RELEASE. I believe both crypto and cryptodev
drivers are supported since v5.0.
=20
My understanding is that openssl will detect the presence of an
accelerator card and use it (via \dev\crypto) instead of the crypto
library.
Did I miss something here?
TIA,
Winston
_______________________________________________
freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"