From owner-freebsd-arch Sat Jul 14 7:48:25 2001 Delivered-To: freebsd-arch@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id F106237B406 for ; Sat, 14 Jul 2001 07:48:22 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.11.3/8.11.3) id f6EEmG503995; Sat, 14 Jul 2001 07:48:16 -0700 (PDT) (envelope-from sgk) Date: Sat, 14 Jul 2001 07:48:16 -0700 From: Steve Kargl To: Dima Dorfman Cc: tlambert2@mindspring.com, arch@FreeBSD.ORG Subject: Re: Getting rid of libgmp Message-ID: <20010714074816.A3942@troutmask.apl.washington.edu> References: <3B4F4062.1B661B6D@mindspring.com> <20010714085317.13FCB3E2F@bazooka.unixfreak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010714085317.13FCB3E2F@bazooka.unixfreak.org>; from dima@unixfreak.org on Sat, Jul 14, 2001 at 01:53:16AM -0700 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Jul 14, 2001 at 01:53:16AM -0700, Dima Dorfman wrote: > Terry Lambert 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