Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2010 14:18:50 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        Kostik Belousov <kostikbel@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: Call for testers: FPU changes
Message-ID:  <4CE42A9A.5030001@sentex.net>
In-Reply-To: <20101117163541.GR2392@deviant.kiev.zoral.com.ua>
References:  <20101115211350.GE2392@deviant.kiev.zoral.com.ua> <4CE1FDBA.9030403@sentex.net> <20101116094330.GH2392@deviant.kiev.zoral.com.ua> <4CE300DE.8010304@sentex.net> <20101116221926.GN2392@deviant.kiev.zoral.com.ua> <4CE333EF.10406@sentex.net> <20101117163541.GR2392@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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 padlock
> engine does not use padlock(4), I do not know for sure.
> 
> 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

Patch applied cleanly


Full results at the bottom of
http://www.tancsa.com/fpu.html

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!



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        Stddev
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

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        Stddev
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)#







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CE42A9A.5030001>