AltiVec in the kernel

Johannes Berg johannes at sipsolutions.net
Thu Jul 20 04:38:21 EST 2006


On Thu, 2006-07-20 at 04:19 +1000, Paul Mackerras wrote:
> Linas Vepstas writes:
> 
> > But perhaps, in principle, couldn't one run four independent streams 
> > in parallel?  Thus, for example, on an SSL-enabled web server, one 
> > could service multiple encryption/decryption threads at once. 
> 
> Generally that would work.  If one had 4 separate streams to compute a
> SHA1 of, one could do all 4 at once with altivec.  It would have to be
> 4 separate streams though, not 4 parts of a single stream.

I'd think it'd be pretty hard to get a real benefit from this because
the data is going to come from 4 totally different places, hence you
can't just load a single vector register and get data for all 4
streams...

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060719/c06b25bf/attachment.pgp>


More information about the Linuxppc-dev mailing list