From owner-freebsd-arch Mon Jul 16 8:36:44 2001 Delivered-To: freebsd-arch@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.39]) by hub.freebsd.org (Postfix) with SMTP id 2648937B406 for ; Mon, 16 Jul 2001 08:36:33 -0700 (PDT) (envelope-from roam@ringworld.nanolink.com) Received: (qmail 56918 invoked by uid 1000); 16 Jul 2001 15:40:45 -0000 Date: Mon, 16 Jul 2001 18:40:45 +0300 From: Peter Pentchev To: Terry Lambert Cc: Peter Wemm , Dima Dorfman , arch@FreeBSD.ORG Subject: Re: Getting rid of libgmp Message-ID: <20010716184045.D56285@ringworld.oblivion.bg> Mail-Followup-To: Terry Lambert , Peter Wemm , Dima Dorfman , arch@FreeBSD.ORG References: <20010714130715.6A27738FD@overcee.netplex.com.au> <3B530511.C8E861E1@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B530511.C8E861E1@mindspring.com>; from tlambert2@mindspring.com on Mon, Jul 16, 2001 at 08:15:29AM -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 Mon, Jul 16, 2001 at 08:15:29AM -0700, Terry Lambert wrote: > Peter Wemm wrote: > > > > Comments? Suggestions? > > > > > > Benchmarks, proving that you increased, or at least did not > > > injure performance with this change? > > > > This isn't really relevant. There are only a couple of things that use it. > > Namely the secure rpc key generators, the secure diffie hellman rpc key > > exchange, and telnet SRA key exchange at startup. None of these use it > > more than once (or once per connection). > > > > telnet is already linked against libcrypto. It should be using > > that for bignum support instead of libmp. > > > > libmp is dead. libcrypto is the interface of choice to use these days, > > or libgmp. Nothing in our tree uses libgmp. > > We currently can do 600 1024 bit SSL connections a second, and > expect to double that via interface changes. > > So performance _is_ relevent. I think Peter meant (and explained) that libmp's performance is not relevant for anything but secure RPC and telnet SRA. It is not relevant for SSL connections. As pointed out in previous messages in this thread, and as hinted in Peter's message, libmp is dead, and all the programs that used to use it are - or should be - linked against libcrypto. As pointed out in previous messages in this thread, and as hinted in Peter's message, libcrypto does not use libmp. So, performance is relevant in libcrypto. Performance is not relevant in libmp/libgmp. Replacing libmp/libgmp should not affect SSL performance in any way. G'luck, Peter -- This sentence every third, but it still comprehensible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message