On Fri, Jun 06, 2003 at 05:32:19PM +0200, Gwendolyn van der Linden wrote: > > Has anyone ever heard why the JVMs out there always lose to their > > Windows counterparts in performance figures? The latest study at > > this site shows all the Linux JVMs failing the number of > > concurrent connections test miserably, except for the Blackdown > > 1.3.1 JVM which otherwise sucks in terms of performance. > > I haven't heard, but I guess that Windows JVMs take advantage of > Windows native threads and the efficient use of CriticalSection (which > is quite fast), while most Linux JVMs use multiple processes. Just do > a 'ps aux' after you started some big app like Borland Enterpise > Server... Linux is supposed to have much better threading in 2.6, and > hopefully app's will start taking advantage of that. > > Gwendolyn.
Actually, those are native threads, unless you have an old JVM. Linux lists all threads in the output of ps aux. The only way I know to tell when they are actually threads in the same process is that a lot of the stats reported (memory size, resident memory, etc.) are identical. I haven't looked carefully at the ps man page in a while, though. - richard -- Richard Kilgore [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list