Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-06-02 Thread Sebastian Siewior
* Herbert Xu | 2008-05-26 21:05:08 [+1000]: Sebastian, if you're still seeing worse results on powerpc could you post the actual numbers with/without this patch? le32: ~ |testing speed of rmd128 |test 0 ( 16 byte blocks, 16 bytes per update, 1 updates):105 cycles/operation,6

Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-29 Thread Sebastian Siewior
* Herbert Xu | 2008-05-26 21:05:08 [+1000]: Sebastian, if you're still seeing worse results on powerpc could you post the actual numbers with/without this patch? Sure. I test it around Monday. Thanks, Sebastian -- To unsubscribe from this list: send the line unsubscribe linux-crypto in the body

Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-27 Thread David Miller
From: Herbert Xu [EMAIL PROTECTED] Date: Mon, 26 May 2008 21:05:08 +1000 On Tue, May 20, 2008 at 07:47:23PM -0700, David Miller wrote: before patch [452862.338505] testing speed of rmd128 [452862.354441] test 0 ( 16 byte blocks, 16 bytes

Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-27 Thread Herbert Xu
On Tue, May 20, 2008 at 07:47:23PM -0700, David Miller wrote: before patch [452862.338505] testing speed of rmd128 [452862.354441] test 0 ( 16 byte blocks, 16 bytes per update, 1 updates): 6064 cycles/operation, 379 cycles/byte

Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-21 Thread David Miller
From: Sebastian Siewior [EMAIL PROTECTED] Date: Wed, 21 May 2008 09:09:54 +0200 That was, what I expected as well but the numbers were different. I checked the assembly code and I had the le loads but more code. I will check with different compiler maybe it will get better here as well. Your

Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-21 Thread Sebastian Siewior
* David Miller | 2008-05-21 00:11:42 [-0700]: From: Sebastian Siewior [EMAIL PROTECTED] Date: Wed, 21 May 2008 09:09:54 +0200 That was, what I expected as well but the numbers were different. I checked the assembly code and I had the le loads but more code. I will check with different

Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-20 Thread David Miller
From: Herbert Xu [EMAIL PROTECTED] Date: Sat, 17 May 2008 17:56:25 +0800 If you pull my cryptodev-2.6 tree then you'll be able to run the above test. Performance is significantly increased on Niagara2 by using the little-endian loads inside of the transformation loop, as expected. The

[PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-17 Thread Sebastian Siewior
Not everybody counts 10 as 01. Signed-off-by: Sebastian Siewior [EMAIL PROTECTED] --- Changelog: v2: state is now cpu endian and converted on final. This saves a few cycles :) v1: quick make it work crypto/rmd128.c | 288 ++- 1 files

Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-17 Thread David Miller
From: Sebastian Siewior [EMAIL PROTECTED] Date: Sat, 17 May 2008 10:10:03 +0200 + ROUND(aa, bb, cc, dd, F1, K1, le32_to_cpu(in[ 0]), 11); Not to nitpick, but if you use le32_to_cpup() this will allow the use of little-endian load instructions on powerpc and sparc. -- To unsubscribe from

Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-17 Thread Sebastian Siewior
* David Miller | 2008-05-17 01:22:35 [-0700]: From: Sebastian Siewior [EMAIL PROTECTED] Date: Sat, 17 May 2008 10:10:03 +0200 +ROUND(aa, bb, cc, dd, F1, K1, le32_to_cpu(in[ 0]), 11); Not to nitpick, but if you use le32_to_cpup() this will allow the use of little-endian load instructions

Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-17 Thread Herbert Xu
On Sat, May 17, 2008 at 10:27:54AM +0200, Sebastian Siewior wrote: I know that. Please see my follow up mail with some tiny numbers. gcc-4.1.1 was used on a mpc8544. But what do the numbers look like on other architectures? In particular, x86-* and sparc64? Cheers, -- Visit Openswan at

Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-17 Thread Sebastian Siewior
* Herbert Xu | 2008-05-17 16:37:38 [+0800]: On Sat, May 17, 2008 at 10:27:54AM +0200, Sebastian Siewior wrote: I know that. Please see my follow up mail with some tiny numbers. gcc-4.1.1 was used on a mpc8544. But what do the numbers look like on other architectures? In particular, x86-* and

Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-17 Thread Sebastian Siewior
* David Miller | 2008-05-17 02:01:22 [-0700]: From: Sebastian Siewior [EMAIL PROTECTED] Date: Sat, 17 May 2008 10:47:35 +0200 David: would you please be so kind to run a test on sparc machine? How do I run the test? modprobe tcrypt mode=314 do you need / want the three patches or do you

Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-17 Thread David Miller
From: Sebastian Siewior [EMAIL PROTECTED] Date: Sat, 17 May 2008 10:47:35 +0200 David: would you please be so kind to run a test on sparc machine? How do I run the test? -- To unsubscribe from this list: send the line unsubscribe linux-crypto in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH v2] crypto: rmd128: make it work on my prefered architecture

2008-05-17 Thread Herbert Xu
On Sat, May 17, 2008 at 11:14:51AM +0200, Sebastian Siewior wrote: modprobe tcrypt mode=314 do you need / want the three patches or do you convert them yourself? If you pull my cryptodev-2.6 tree then you'll be able to run the above test. Cheers, -- Visit Openswan at