Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2001 07:48:16 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Dima Dorfman <dima@unixfreak.org>
Cc:        tlambert2@mindspring.com, arch@FreeBSD.ORG
Subject:   Re: Getting rid of libgmp
Message-ID:  <20010714074816.A3942@troutmask.apl.washington.edu>
In-Reply-To: <20010714085317.13FCB3E2F@bazooka.unixfreak.org>; from dima@unixfreak.org on Sat, Jul 14, 2001 at 01:53:16AM -0700
References:  <3B4F4062.1B661B6D@mindspring.com> <20010714085317.13FCB3E2F@bazooka.unixfreak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 14, 2001 at 01:53:16AM -0700, Dima Dorfman wrote:
> Terry Lambert <tlambert2@mindspring.com> writes:
> > 
> > Benchmarks, proving that you increased, or at least did not
> > injure performance with this change?
> 
> My wrapper around OpenSSL's BIGNUM library doesn't introduce any
> performance penalties beyond one or two more 'call' instructions.  If
> OpenSSL's BIGNUM library is slower than libgmp (and it probably is),
> then someone just needs to fix that.  The fact that I decided to write
> a wrapper around BIGNUM instead of converting all the programs which
> use libmp to use BIGNUM is better from a performance point of view; at
> least this way it's easier to change to another BIGNUM implementation
> (you'd only have to change this library instead of all those
> programs).
> 
> Besides, as has been discussed before, all the applications this is
> used for in FreeBSD are not performance-critical.
> 

The version of libgmp in the base system isn't that fast (see
ChangeLog for libgmp verssion 3.1.1).  If you want a better performance
MP library, you'll install libgmp from the ports collection.  

-- 
Steve

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010714074816.A3942>