OpenSolaris

Discussions Communities Projects Download Source Browser

Home » OpenSolaris Forums » crypto » discuss

Thread: [Fwd: 5x speedup for AES using SSE5?]

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Last Post: Aug 28, 2008 11:11 AM by: sprack Threads: [ Previous | Next ]
darrenm

Posts: 3,871
From: GB

Registered: 3/9/05
[Fwd: 5x speedup for AES using SSE5?]
Posted: Aug 26, 2008 8:01 AM

  Click to reply to this thread Reply

An interesting thread to follow on cryptography@ ...

-------- Original Message --------
Subject: 5x speedup for AES using SSE5?
Date: Sat, 23 Aug 2008 14:00:44 +0100
From: Paul Crowley <paul at ciphergoth dot org>
To: cryptography at metzdowd dot com

http://www.ddj.com/hpc-high-performance-computing/201803067

In the above Dr Dobb's article from a little over a year ago, AMD Senior
Fellow Leendert vanDoorn states "the Advanced Encryption Standard (AES)
algorithm gets a factor of 5 performance improvement by using the new
SSE5 extension". However, glancing through the SSE5 specification, I
can't see at all how such a dramatic speedup might be achieved. Does
anyone know any more, or can anyone see more than I can in the spec?

http://developer.amd.com/cpu/SSE5/Pages/default.aspx
--
__
\/ o\ Paul Crowley
/\__/ www.ciphergoth.org

---------------------------------------------------------------------
The Cryptography Mailing List
Unsubscribe by sending "unsubscribe cryptography" to majordomo at metzdowd dot com

--
Darren J Moffat
_______________________________________________
crypto-discuss mailing list
crypto-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/crypto-discuss


ferencr

Posts: 24
From: HU

Registered: 8/7/08
Re: [Fwd: 5x speedup for AES using SSE5?]
Posted: Aug 28, 2008 8:51 AM   in response to: darrenm

  Click to reply to this thread Reply

The packed integer shift can help a lot, although
I would not believe getting 5x out of just that
can be achieved. I don't know if they also
have a 128-bit AND instruction (or a similar packed AND),
but if they do, a combination of that with this new
packed shift would go a long way.

Ferenc

On 08/26/08 17:01, Darren J Moffat wrote:
> An interesting thread to follow on cryptography@ ...
>
> -------- Original Message --------
> Subject: 5x speedup for AES using SSE5?
> Date: Sat, 23 Aug 2008 14:00:44 +0100
> From: Paul Crowley <paul at ciphergoth dot org>
> To: cryptography at metzdowd dot com
>
> http://www.ddj.com/hpc-high-performance-computing/201803067
>
> In the above Dr Dobb's article from a little over a year ago, AMD Senior
> Fellow Leendert vanDoorn states "the Advanced Encryption Standard (AES)
> algorithm gets a factor of 5 performance improvement by using the new
> SSE5 extension". However, glancing through the SSE5 specification, I
> can't see at all how such a dramatic speedup might be achieved. Does
> anyone know any more, or can anyone see more than I can in the spec?
>
> http://developer.amd.com/cpu/SSE5/Pages/default.aspx
_______________________________________________
crypto-discuss mailing list
crypto-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/crypto-discuss


sprack

Posts: 8
From:

Registered: 3/9/05
Re: [Fwd: 5x speedup for AES using SSE5?]
Posted: Aug 28, 2008 11:11 AM   in response to: ferencr

  Click to reply to this thread Reply

On 08/28/08 08:51 AM, Ferenc Rakoczi wrote:
<pre wrap="">The packed integer shift can help a lot, although I would not believe getting 5x out of just that can be achieved. </pre>

Depends on baseline :-)

But seriously, I would agree. For something like AES-CBC its difficult to get 5X over an optimized implementation even using the Intel AES-NI instructions (for ECB, or CTR the gains are likely much bigger).

-Lawrence

<pre wrap="">I don't know if they also have a 128-bit AND instruction (or a similar packed AND), but if they do, a combination of that with this new packed shift would go a long way. Ferenc On 08/26/08 17:01, Darren J Moffat wrote: </pre>
<pre wrap="">An interesting thread to follow on cryptography@ ... -------- Original Message -------- Subject: 5x speedup for AES using SSE5? Date: Sat, 23 Aug 2008 14:00:44 +0100 From: Paul Crowley <paul at ciphergoth dot org> To: cryptography at metzdowd dot com http://www.ddj.com/hpc-high-performance-computing/201803067 In the above Dr Dobb's article from a little over a year ago, AMD Senior Fellow Leendert vanDoorn states "the Advanced Encryption Standard (AES) algorithm gets a factor of 5 performance improvement by using the new SSE5 extension". However, glancing through the SSE5 specification, I can't see at all how such a dramatic speedup might be achieved. Does anyone know any more, or can anyone see more than I can in the spec? http://developer.amd.com/cpu/SSE5/Pages/default.aspx </pre>
<pre wrap=""><!---->_______________________________________________ crypto-discuss mailing list crypto-discuss at opensolaris dot org http://mail.opensolaris.org/mailman/listinfo/crypto-discuss </pre>


<pre class="moz-signature" cols="72">-- Lawrence Spracklen Architecture Technology Group http://blogs.sun.com/sprack </pre>
_______________________________________________ crypto-discuss mailing list crypto-discuss at opensolaris dot org http://mail.opensolaris.org/mailman/listinfo/crypto-discuss





Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2010, Oracle Corporation and/or its affiliates

Oracle