Performance

Lee McKenna lee@lodgenet.com
Tue Nov 20 16:31:01 2001


Andreas Hasenack wrote:

>Em Tue, Nov 20, 2001 at 03:18:10PM +0100, Marc Mutz escreveu:
>
>>If you use gnupg from rpm's (or equivalent on FreeBSD), you could try 
>>recompiling gpg with --march=pentiumpro. This should speed things up a 
>>
>
>Quick test here on a 50Mb file (obtained via /dev/urandom):
>i386:
>$ time gpg -v -c --cipher-algo RIJNDAEL lala
>gpg: escrevendo para `lala.gpg'
>
>real    0m53.530s
>user    0m31.390s
>sys     0m2.140s
>
>i686:
>$ time gpg -v -c --cipher-algo RIJNDAEL lala
>gpg: escrevendo para `lala.gpg'
>
>real    0m43.035s
>user    0m30.280s
>sys     0m2.060s
>
>$ ls -l lala*   
>-rw-r--r--    1 andreas  andreas  52428800 Nov 20 11:51 lala
>-rw-r--r--    1 andreas  andreas  52457679 Nov 20 12:01 lala.gpg
>
>This on a PIII-600, kernel compiled for PIII, the rest is i386
>with the -mpentium flag.
>
Certainly a 20% improvement, but even with the recompile your tests are 
only showing throughput around 1MB/s.  I'm getting 5MB/s on a 3.3GB 
file...maybe I should not expect better performance, but I thought I 
would ask.  I'm getting lots of great suggestions!

I'll try the recompile to see if I can get the 20% improvement too.

Thanks,
--Lee