On Wed, Jan 19, 2000 at 02:36:30PM -0500, Daniel Stux wrote:
> Here is what I see with Linux. I am running on a freshly installed RedHat
> 6.1 machine. With either JDK, running in native threads is absolutely
> crippling. There seems to be a serparate JDK process ID for each running
> thread, or otherwise something is casuing it to fork 15 times.

On Linux, threads have separate entries in the process table.

The Inprise JDK you're getting from Sun has a better JIT, which could
explain your green-threads performance differences. As for native
threading, the Sun/Inprise version is known not to support native
threads reliably. The Blackdown version does, and whatever it is
you're experiencing - hammering the CPU - is not the normal behavior
(at least, not that anyone's reporting). Have you been able, using
(for example) -Xrunhprof, to identify threads that are sucking CPU?

Nathan


> Hi folks,
> 
> I've just installed two versions of the JDK1.2.2 for linux: Sun's RC2, and
> Blackdown's RC3. I am experiencing the wierdest behavior I have ever seen
> for a JDK.
> 
> Here is what I am *used* to seeing. We run Java all day long on Solaris
> Sparc and x86 and Windows NT. With green threads, things are slow as hell,
> and the processors are kept very busy, even when the program is idle. With
> native threads, everything zips along nicely.
> 
> Here is what I see with Linux. I am running on a freshly installed RedHat
> 6.1 machine. With either JDK, running in native threads is absolutely
> crippling. There seems to be a serparate JDK process ID for each running
> thread, or otherwise something is casuing it to fork 15 times. Of these
> threads four or five of them just hammer the CPU, leaving the whole
> machine at a crawl. Actual performance of our Java GUI isn't too bad, but
> it's no where near where it should be.
> 
> Switch to green threads. With Sun's JDK it's like lightning. Processor
> utilization is practically nill, and the GUI is extremely responsive. With
> Blackdown's JDK, processor utilization is also very low, but GUI
> responsiveness is very low as well.
> 
> I have looked through all the FAQs I could find, tried the various
> combinations of env variables.
> 
> Anyone else experienced this behavior? Really odd. Any fixes, work
> arounds, or do I just hope something miraculous happens between the
> release candidates and the release?
> 
> Thanks!
> 
> -Dan Stux
> 
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
[EMAIL PROTECTED]  Public Access User -- Not affiliated with Teleport
Public Access UNIX and Internet at (503) 220-1016 (2400-28800, N81)


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

Reply via email to