Performance

Andreas Hasenack andreas@conectiva.com.br
Tue Nov 20 15:09:02 2001


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.