From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 03:06:00 2003 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 0AE8D16A4BF for ; Thu, 28 Aug 2003 03:06:00 -0700 (PDT) Received: from frost.ath.cx (BSN-95-242-77.dsl.siol.net [193.95.242.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AFBF43FF7 for ; Thu, 28 Aug 2003 03:05:58 -0700 (PDT) (envelope-from bfg@noviforum.si) Received: from noviforum.si (mordor.lucky.si [192.168.200.250]) by frost.ath.cx (ESMTP) with ESMTP id 9BCC278 for ; Thu, 28 Aug 2003 12:05:56 +0200 (CEST) Message-ID: <3F4DD228.20202@noviforum.si> Date: Thu, 28 Aug 2003 11:58:00 +0200 From: =?Big5?B?IkJyYW5rbyBGLiBHcmFjKG5hciI=?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> <20030828094833.GA82970@chihiro.leafy.idv.tw> In-Reply-To: <20030828094833.GA82970@chihiro.leafy.idv.tw> X-Enigmail-Version: 0.81.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 10:06:00 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 leafy wrote: | What is your sleep time settings? I can get to | leafy@chihiro:~/tmp$ java TestThreads 50000 10 | TestThreads: successfully fired 50000 threads | TestThreads: waited 10 milliseconds for all threads to complete | | But my box is a P4-1.8G with 256MB RAM, lengthing the sleeptime to 10,000 ms | also works, but drags my box down to nearly a halt. | $ time java TestThreads 50000 0 TestThreads: successfully fired 50000 threads TestThreads: waited 0 milliseconds for all threads to complete real 0m20.173s user 0m16.739s sys 0m1.909s ... which 2478,56 threads/second. $ time java TestThreads 50000 10 TestThreads: successfully fired 50000 threads TestThreads: waited 10 milliseconds for all threads to complete real 0m22.295s user 0m18.258s sys 0m2.816s 2242,65 threads/second This is a celeron 1700, 256 mb of ram, 5.1-p2. System is normaly respondable during java execution. I have 1.4.1 native jdk. Brane -----BEGIN PGP SIGNATURE----- iD8DBQE/TdIofiC/E+t8hPcRAi4YAJ9EwoX0n8JlFD3obCw/UeyQ750xzQCfVwNj X6Q7hfOhpeUzD0Wg4sdzueU= =sVOy -----END PGP SIGNATURE-----