Skip to contentSkip to conversation

crypto benchmark results with 2.6.0-test6

DISCUSSION Fruhwirth Clemens 3 participants 3 messages Oct 4, 2003 – Oct 5, 2003

lore
Share & tools
lore
#1 lore raw

Sorry, took me a while to retest.

Quoted 5 lines · Fruhwirth Clemens

Hi,

would you like to benchmark

http://clemens.endorphin.org/patches/aes-i586-asm-2.6.0-test5.diff

yes, i did so, results on:

http://www.nerdbynature.de/bench/prinz/

Quoted 5 lines

and

http://clemens.endorphin.org/twofish-i586/ (experimential)

too? :)

uh, i guess this masm/windoze/elf32 stuff is too much for me, i could try, but don't have time to dig into this. but you could try my script, and run benchmarks on your machine too.
but: how is this twofish optimization supposed to go into mainline anyway? one had to use a special compiling environment to compile a kernel?

i set up these benchmarks for me too, because i needed to know what cipher is fast enough for my own use. usually i sticked to serpent, now aes-i586 looks quite good on this PC. i wonder if it will compile and so something on ppc32 too, but probably not. which is a pity, because my primary use of the cryptoloop is a ppc :-(

Thank you,
Christian.

Signature · 3 lines
BOFH excuse #349:

Stray Alpha Particles from memory packaging caused Hard Memory Error on Server.
#2 lore raw
Quoted 1 line · Christian Kujau

Sorry, took me a while to retest.

Thanks :)

Quoted 6 lines
Quoted 2 lines · Fruhwirth Clemens

would you like to benchmark
http://clemens.endorphin.org/patches/aes-i586-asm-2.6.0-test5.diff

yes, i did so, results on:
http://www.nerdbynature.de/bench/prinz/

Looks promising. But it's not going to be merged because of objections by the cryptoapi maintainer.

Quoted 7 lines
Quoted 1 line

http://clemens.endorphin.org/twofish-i586/ (experimential)

uh, i guess this masm/windoze/elf32 stuff is too much for me, i could try, but don't have time to dig into this. but you could try my script, and run benchmarks on your machine too.
but: how is this twofish optimization supposed to go into mainline anyway? one had to use a special compiling environment to compile a kernel?

It's not a patch, it's an add-on. I'm working on a gas version of the assembler code so it can be merged, but it's far from being complete (although it works).

Quoted 5 lines

i set up these benchmarks for me too, because i needed to know what cipher is fast enough for my own use. usually i sticked to serpent, now aes-i586 looks quite good on this PC. i wonder if it will compile and so something on ppc32 too, but probably not. which is a pity, because my primary use of the cryptoloop is a ppc :-(

Well that's the cost of an assembler implementation ;) it's not portable. Probably you can one of IBM's compilers to compile the cipher of your choice. http://www-3.ibm.com/software/awdtools/ccompilers/ ... Rumours say they're fast than gcc.

Regards, Clemens