On Thu, Nov 22, 2001 at 08:53:40PM +0100, Thomas Bonk wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> 
> I tried to run Jetty (http://jetty.mortbay.org) under the 
> Blackdown JDK 1.3.1 in a User Mode Linux VM.

I think yours my be the first ever posting about this. I'm sure I'm not
the only one who'd never heard of User Mode Linux (UML) before.

There's no obvious reason the JDK should be a pig under UML - it's just
another native app. It is a heavy user of threads, unlike most Linux
apps, so it might be worth seeing if other multi-threaded apps show
similar behavior.

Nathan


> It works fine (i.e. it does what it is supposed to) but: Java 
> consumes around 25% CPU on the real hardware. When I run Jetty 
> under the Blackdown JDK 1.3.1 on the real hardware it doesn't 
> consume any CPU when idle.
> 
> I wrote a Hello World style Program that listens on a port (see 
> attachment) and ran it in the UML VM and on the real hardware.
> On the real hardware it doesn't consume any CPU (as expected). 
> But when I run it in teh User Mode Linux VM, it consumes about 
> 20% CPU.
> 
> Does anybody have an idea whether it is the Java VM that 
> misbehaves or whether it is the User Mode Linux Kernel?
> 
> Thanks in advance.
> Yours, Thomas
> - -- 
> Don't steal! The government hates competition.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE7/VfE1vMNiE716RgRAs8VAJ9K9TOEPGEPcY6RIV2fHQ6K+h9a+ACeJS4n
> 7jGA6BEkme2Rs1nl2BSzdxE=
> =An09
> -----END PGP SIGNATURE-----



-- 


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to