From owner-freebsd-stable Fri Feb 15 11:50:38 2002 Delivered-To: freebsd-stable@freebsd.org Received: from vimfuego.saarinen.org (saarinen.org [203.79.82.14]) by hub.freebsd.org (Postfix) with ESMTP id E74A737B41E for ; Fri, 15 Feb 2002 11:50:16 -0800 (PST) Received: from [192.168.1.10] (helo=den2) by vimfuego.saarinen.org with esmtp (Exim 3.33 #1 (Red Hack)) id 16boN5-0002yD-00 for ; Sat, 16 Feb 2002 08:50:15 +1300 Date: Sat, 16 Feb 2002 08:50:15 +1300 (New Zealand Daylight Time) From: Juha Saarinen To: freebsd-stable@freebsd.org Subject: Linux-JDK eating CPU Message-ID: X-Message-Flag: "Yummy... a Windows box! Hack! Hack! Hack!" X-X-Sender: juha@vimfuego.saarinen.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG For some reason, both Linux-JDK 1.3 and 1.4 seem to chew up CPU by the bucketload: last pid: 48254; load averages: 1.03, 1.00, 1.00 up 6+18:49:27 08:45:39 61 processes: 2 running, 59 sleeping CPU states: 11.7% user, 0.0% nice, 87.2% system, 1.2% interrupt, 0.0% idle Mem: 48M Active, 580M Inact, 87M Wired, 36M Cache, 86M Buf, 1740K Free Swap: 1028M Total, 12K Used, 1028M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 48218 root 64 0 234M 18476K RUN 1:10 97.53% 94.87% java 141 nobody 18 0 5688K 3496K lockf 1:10 0.00% 0.00% httpd 140 nobody 18 0 5580K 3412K lockf 1:10 0.00% 0.00% httpd # uname -a FreeBSD www.searchnow.co.nz 4.5-STABLE FreeBSD 4.5-STABLE #2: Sat Feb 9 13:31:53 NZDT 2002 root@www.searchnow.co.nz:/usr/obj/usr/src/sys/SEARCHNOW-XP i386 linux-jdk-1.4.0rc1 Sun's Java Developers Kit for Linux, version 1.4 linux_base-7.1_1 The base set of packages needed in Linux mode linuxthreads-2.2.3_3 POSIX pthreads implementation using rfork to generate kerne Saw the same with JDK 1.3. Upgrading the Linux emulator to 7.1 didn't make any difference. Surely this can't be normal...? -- Juha Take off every sig! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message