Re: [PATCH] write-tree performance problems
- From
- David S. Miller <davem@davemloft.net>
- Date
- Apr 20, 2005, 18:07 UTC
- Message-ID
- <20050420110720.0ff887b4.davem@davemloft.net>
- In-Reply-To
- <Pine.LNX.4.58.0504200957030.6467@ppc970.osdl.org>
On Wed, 20 Apr 2005 10:06:15 -0700 (PDT) Linus Torvalds <torvalds@osdl.org> wrote:
Show 6 quoted lines
> I bet your SHA1 implementation is done with hand-optimized and scheduled > x86 MMX code or something, while my poor G5 is probably using some slow > generic routine. As a result, it only improved by 33% for me since the > compression was just part of the picture, but with your cheap SHA1 the > compression costs really dominated, and so it's almost four times faster > for you.
The openssl tree has a i586 optimized SHA1 implementation. A quick scan of the 0.9.7e tree I happen to have lying around shows there aren't optimized for other cpus in there, just i586.