DragonFly BSD
DragonFly bugs List (threaded) for 2011-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[DragonFlyBSD - Bug #1638] (Feedback) OpenSSL cryptodev patch


From: Alex Hornung via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Nov 2011 23:11:54 -0800

Issue #1638 has been updated by Alex Hornung.

Description updated
Status changed from New to Feedback

Does the hifn(4) unloading/loading issue still happen after Matt's changes to contigmalloc? If so, does it persist even after bumping the amount that is reserved for contigmalloc after finishing boot?

Cheers,
Alex
----------------------------------------
Bug #1638: OpenSSL cryptodev patch
http://bugs.dragonflybsd.org/issues/1638

Author: Jan Lentfer
Status: Feedback
Priority: Normal
Assignee: Alex Hornung
Category: 
Target version: 


Attached is a patch to enable cryptodev engine support in OpenSSL on 
Dragonfly.

I have tested this to some extend on a System with VIA C7 and padlock 
with these results:

bash-4.0# openssl speed -elapsed -evp AES-128-CBC
[...]
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 
bytes
aes-128-cbc       2212.74k     9283.28k    14203.47k    81418.80k 
551087.35k

openssl speed -elapsed -evp AES-128-CBC -engine padlock
[...]
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 
bytes
aes-128-cbc      34066.30k   115907.26k   294967.28k   483761.44k 
567358.91k

[padlock.ko loaded]
openssl speed -elapsed -evp AES-128-CBC -engine cryptodev
[...]
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 
bytes
aes-128-cbc       2357.93k     8318.06k    36483.88k   124004.00k 
620408.51k

[padlock.ko unloaded]
openssl speed -elapsed -evp AES-128-CBC -engine cryptodev
[...]
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 
bytes
aes-128-cbc       4413.40k     4146.96k     3727.17k     4627.12k 
4654.53k


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]