From: Felipe Alfaro Solana <felipe_alfaro@linuxmail.org>
To: Fruhwirth Clemens <clemens-dated-1085312570.422b@endorphin.org>
Cc: Andrew Morton <akpm@osdl.org>,
Kernel Mailinglist <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] AES i586 optimized (oops)
Date: Thu, 13 May 2004 21:27:42 +0200 [thread overview]
Message-ID: <1084476462.1793.13.camel@teapot.felipe-alfaro.com> (raw)
In-Reply-To: <1084462173.2554.3.camel@teapot.felipe-alfaro.com>
On Thu, 2004-05-13 at 17:29, Felipe Alfaro Solana wrote:
> On Thu, 2004-05-13 at 16:05, Felipe Alfaro Solana wrote:
> > On Thu, 2004-05-13 at 13:42, Fruhwirth Clemens wrote:
> > > >
> > > > Some benchmark figures would be useful. Cache-cold and cache-hot.
> > >
> > > I posted this patch for the first time about 3/4 year ago. The first
> > > response has been the same. Please have a look at
> >
> > I'll give this a spin, since I'm very interested in AES. Currently, I'm
> > using IPSec with AES ESP all over my 100Mbps LAN. I'll apply this one to
> > 2.6.6-mm2 and will compare with vanillas 2.6.6 and 2.6.6-mm2.
>
> I got an oops on 2.6.6-mm2 plus i586 AES patch when invoking setkey to
> setup my SPD database with preshared keys entries. Attached dmesg and
> config.
As pointed before, it was the CONFIG_REGPARM config option. Reverting
the force-config_regparm-to-y.patch and setting CONFIG_REGPARM to no
solves the problems.
Having tried the new i586-optimized AES, I must say that throughput
increases from ~7MB/s with vanilla AES to more than ~9.4MB/s with the
i586-optimized AES (when FTPing a large file over the AES/ESP encrypted
link).
That's like saying that I'm getting more than 80% of the maximum
sustained, unencrypted throughput for my network link (which is at
~11MB/s). That's really impressive, since that's a Security Association
between a 700Mhz PIII and a 2GHz P4.
Nice work, indeed.
next prev parent reply other threads:[~2004-05-13 19:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-13 11:01 [PATCH] AES i586 optimized Fruhwirth Clemens
2004-05-13 11:07 ` Andrew Morton
2004-05-13 11:42 ` Fruhwirth Clemens
2004-05-13 14:05 ` Felipe Alfaro Solana
2004-05-13 15:29 ` [PATCH] AES i586 optimized (oops) Felipe Alfaro Solana
2004-05-13 19:27 ` Felipe Alfaro Solana [this message]
2004-05-13 12:34 ` [PATCH] AES i586 optimized Fruhwirth Clemens
2004-05-13 11:13 ` Christoph Hellwig
2004-05-13 11:25 ` Fruhwirth Clemens
2004-05-13 12:18 ` Christoph Hellwig
2004-05-13 12:37 ` Dave Jones
2004-05-13 13:24 ` Christophe Saout
2004-05-13 15:09 ` James Morris
2004-05-13 15:23 ` James Morris
2004-05-13 22:23 ` Felipe Alfaro Solana
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1084476462.1793.13.camel@teapot.felipe-alfaro.com \
--to=felipe_alfaro@linuxmail.org \
--cc=akpm@osdl.org \
--cc=clemens-dated-1085312570.422b@endorphin.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®