sparc32 & gnupg speed problems?

Remi Guyomarch rguyom@mail.dotcom.fr
Thu, 13 Jan 2000 21:42:45 +0100


On Thu, Jan 13, 2000 at 09:15:35AM -0600, Chris Ruffin wrote:

>
> Hello, I'm using gnupg on both sparc32 and linux platforms. I've
> noticed a tremendous speed difference between the two platforms, and
> was wondering if there was something I was doing wrong. Signing an
> e-mail message with gnupg on a sparc workstation (ultra 1) takes about
> 20 seconds, while my trusty 486/50 MHz Linux machine signs the same
> message (using the same key) in about a second flat. I compiled gnupg
> for sparc myself using:
>
> ./configure --disable-nls --disable-dev-random --prefix=$HOME
GnuPG doesn't know how to distinguish between the various architectures. So it choose v7 by default. Edit mpi/config.links and rename to "sparc*-*-*)" the sparc case corresponding to your architecture level. For example, on my SS10 (supersparc), I patched mpi/config.links this way : Index: config.links =================================================================== RCS file: /home/koch/cvs/gnupg/mpi/config.links,v retrieving revision 1.22.2.2 diff -u -r1.22.2.2 config.links --- config.links 1999/12/16 09:10:39 1.22.2.2 +++ config.links 2000/01/13 20:35:27 @@ -87,14 +87,9 @@ echo '/* configured for sparc8 */' >>./mpi/asm-syntax.h path="sparc32v8 sparc32" ;; - supersparc*-*-*) + sparc*-*-*) echo '/* configured for supersparc */' >>./mpi/asm-syntax.h path="supersparc sparc32v8 sparc32" - mpi_extra_modules="udiv" - ;; - sparc*-*-*) - echo '/* configured for sparc */' >>./mpi/asm-syntax.h - path="sparc32" mpi_extra_modules="udiv" ;; mips[34]*-*-* | mips*-*-irix6*)