From owner-freebsd-java@FreeBSD.ORG Wed Oct 27 09:25:46 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1013116A4CE for ; Wed, 27 Oct 2004 09:25:46 +0000 (GMT) Received: from smtp.cegetel.net (mf01.sitadelle.com [212.94.174.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8008443D55 for ; Wed, 27 Oct 2004 09:25:45 +0000 (GMT) (envelope-from a.bonte@netheos.net) Received: from speedball (80-124-167-39.dti.cegetel.net [80.124.167.39]) by smtp.cegetel.net (Postfix) with ESMTP id 1169437B82 for ; Wed, 27 Oct 2004 11:25:43 +0200 (CEST) From: Antonin Bonte Organization: Netheos To: freebsd-java@freebsd.org Date: Wed, 27 Oct 2004 11:25:42 +0200 User-Agent: KMail/1.7 References: <417ECD08.8010805@systemics.com> In-Reply-To: <417ECD08.8010805@systemics.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200410271125.42436.a.bonte@netheos.net> Subject: Re: Crypto takes 17 seconds to wind up for the throw... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: a.bonte@netheos.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 09:25:46 -0000 Le Mercredi 27 Octobre 2004 00:17, Ian Grigg a =E9crit=A0: > It seems that a call into javax.crypto.Cipher.getInstance() > takes about 17 seconds to come back with the trivial object > of a cipher. See follow-on test program and results. Hi, on my centrino 1.7ghz/1go freebsd 5.2.1-p9 java version "1.4.2-p6" Java(TM) 2 Runtime Environment, Standard Edition (build=20 1.4.2-p6-root_12_aug_2004_16_04) Java HotSpot(TM) Client VM (build 1.4.2-p6-root_12_aug_2004_16_04, mixed mo= de) =2E......................................default provider: SUN MessDig SHA-1: 408 =2E......................................default crypto provider: SunJCE Cipher DES: 439 What is your system ? =2D-=20 Antonin Bonte - Netheos http://www.netheos.net Email: a.bonte@netheos.net [ Someone is standing on the ethernet cable, causing a kink in the cable ]