patch to improve AES-NI performance

John-Mark Gurney jmg at funkthat.com
Wed Aug 28 01:26:33 UTC 2013


Outback Dingo wrote this message on Tue, Aug 27, 2013 at 19:01 -0400:
> On Sun, Aug 25, 2013 at 10:19 AM, Ollivier Robert <roberto at keltia.freenix.fr
> > wrote:
> 
> > According to Ollivier Robert:
> > > You are right, I wanted to say r226837 which is the "code" one.
> >
> > FYI I've finally merged r226837,r226839 as r254856 in stable/9 as it is a
> > prerequesite to apply jmg's patch.  I've asked re@ whether they would
> > consider this for 9.2.  It is very late in the 9.2 release circle but that
> > patch has been in 10 for more than a year now...
> >
> >
> So this patch can now be applied to STABLE/9 for testing on a local system
> since these 3 revisions are now in??

I've compile tested the patch, but not run tested it:
https://people.freebsd.org/~jmg/aesni.9stable.patch

Note that 9stable uses gcc by default and this patch required clang, so
make sure you set WITH_CLANG=YES WITH_CLANG_IS_CC=YES, otherwise it won't
compile...

This patch only required minor changes from my original patch to apply..

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-current mailing list