看板 FB_stable 關於我們 聯絡資訊
--RaRnhf7ZScGdjRjl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 17, 2010 at 02:18:50PM -0500, Mike Tancsa wrote: > On 11/17/2010 11:35 AM, Kostik Belousov wrote: > > Meantime, the similar change may be beneficial for padlock(4) too. > > f you are going to test it, please note that most likely, openssl padlo= ck > > engine does not use padlock(4), I do not know for sure. > >=20 > > diff --git a/sys/crypto/via/padlock.c b/sys/crypto/via/padlock.c > > index 77e059b..ba63093 100644 > > --- a/sys/crypto/via/padlock.c > > +++ b/sys/crypto/via/padlock.c >=20 > Patch applied cleanly >=20 >=20 > Full results at the bottom of > http://www.tancsa.com/fpu.html >=20 > On large blocks, version 1 vs the above patch show no significant > difference. This is with openssl using the cryptodev engine. I also > compared to the openssl padlock engine which gave interesting results! >=20 >=20 >=20 > 0(via)# cat version1.txt | sed -e 's/k//g' | awk '{print $6}' > 1 > 0(via)# cat version2.txt | sed -e 's/k//g' | awk '{print $6}' > 2 > 0(via)# ministat 1 2 > x 1 > + 2 > N Min Max Median Avg Stdd= ev > x 30 2591851.6 6645345.1 4326340.6 4227917.6 1083181= ..2 > + 30 2574883.9 8830282.8 4033610.4 4241195.6 1519334= ..8 > No difference proven at 95.0% confidence >=20 > 0(via)# cat version1.txt | sed -e 's/k//g' | awk '{print $5}' > 1 > 0(via)# cat version2.txt | sed -e 's/k//g' | awk '{print $5}' > 2 > 0(via)# ministat 1 2 > N Min Max Median Avg Stdd= ev > x 30 1124673.3 2320883.7 1527677.1 1550631.9 295165= ..4 > + 30 1069788.2 2508865.7 1594506.2 1588193.2 389414.= 33 > No difference proven at 95.0% confidence > 0(via)# >=20 Thank you once more. If nothing new pops up, I will commit the MFC tomorrow. Unfortunately, no suspend/resume testers appeared, so be it. --RaRnhf7ZScGdjRjl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAkzkMpAACgkQC3+MBN1Mb4iFkACg8v1h1PSWe7Wav42kBe9qjU6X 8ygAn0pnKGWM+eVt2mQLi1vxT6EL98H7 =SUCo -----END PGP SIGNATURE----- --RaRnhf7ZScGdjRjl--