Re: [gentoo-user] Which java-sdk?
On Sat, Jun 14, 2003 at 11:43:37PM +0100, bryn wrote: > > >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 > > > > ps -ax --forest > > gives a tree for each process group > > - Bryn Sweet! Thanks! - richard -- Richard Kilgore [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Which java-sdk?
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 ps -ax --forest gives a tree for each process group - Bryn -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Which java-sdk?
Richard is correct here. The listings in Top are inter-process threads, not processes. The memory trick is a way to tell; or the knowledge that Java is threaded tells you all you need to know. On the question: I wonder if there is something going on with Volano's app. For instance, there are a number of changes in 1.4 that are not in 1.3 and require new code to take advantage of them. For instance, we have an app that we run that cannot run in 1.3 because we use the 1.4 SDK. It may be that there app is optimized for 1.3; there are some changes to the networking IO. But this is a stab in the dark. I do not know exactly why that is the case. Ben Ricker Wellinx.com On Fri, 2003-06-06 at 11:01, Richard Kilgore wrote: > 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 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Which java-sdk?
Back to the topic, I wanted to make it easier to switch between them because I could not decide either. I created a file named /etc/env.d/java/20symlink-usr-java that contains this: --- VERSION="Whatever /usr/java/jdk points to..." JAVA_HOME=/usr/java/jdk CLASSPATH=.:/usr/java/jdk/jre/lib:/usr/java/jdk/lib/tools.jar JDK_HOME=/usr/java/jdk JAVAC=${JAVA_HOME}/bin/javac ADDPATH="${JAVA_HOME}/bin:${JAVA_HOME}/jre/bin" ADDLDPATH="/usr/java/jdk/jre/lib/" ENV_VARS="JAVA_HOME CLASSPATH JDK_HOME JAVAC ADDPATH ADDLDPATH" --- Then, as root, I run this: java-config --set-system-vm=symlink-usr-java Now, I can create a symlink named /usr/java/jdk and point it anywhere. Larry >>> [EMAIL PROTECTED] 06/06/03 10:01 AM >>> 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 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Which java-sdk?
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
RE: [gentoo-user] Which java-sdk?
> 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. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Which java-sdk?
On Fri, Jun 06, 2003 at 09:13:12AM -0500, Ben Ricker wrote: > On Thu, 2003-06-05 at 11:32, Ing. Bernardo Lopez O. wrote: > > Its a kind of chat server (not ircd... but kind of) its for a server whit > > 1.4ghz 256ram > > Check out http://www.volano.com/benchmarks.html for benchmarks on > different platforms. > > Ben Ricker > Wellinx.com 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. - richard -- Richard Kilgore [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Which java-sdk?
Its a kind of chat server (not ircd... but kind of) its for a server whit 1.4ghz 256ram On Thursday 05 June 2003 15:35, Gwendolyn van der Linden wrote: > > Which java sdk should i use? > > What do you want to use it for? > > Gwendolyn. > > -- > [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Which java-sdk?
On Thu, 2003-06-05 at 11:32, Ing. Bernardo Lopez O. wrote: > Its a kind of chat server (not ircd... but kind of) its for a server whit > 1.4ghz 256ram Check out http://www.volano.com/benchmarks.html for benchmarks on different platforms. Ben Ricker Wellinx.com > On Thursday 05 June 2003 15:35, Gwendolyn van der Linden wrote: > > > Which java sdk should i use? > > > > What do you want to use it for? > > > > Gwendolyn. > > > > -- > > [EMAIL PROTECTED] mailing list > > > -- > [EMAIL PROTECTED] mailing list > > -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Which java-sdk?
On Thu, Jun 05, 2003 at 05:35:47PM +0200, Gwendolyn van der Linden wrote: > > Which java sdk should i use? > > What do you want to use it for? > > Gwendolyn. IBM's JVMs for Linux have always outperformed the Sun ones on Linux (and Blackdown, I think). They have provide both a 1.3.x and 1.4.x JVM, and both perform very well. Sun made drastic improvements to performance between 1.3.x and 1.4.x, which makes it popular. I think the blackdown 1.4.x JVM also performs well, and it is the only one with a plugin that you'll get to work in your browsers in Gentoo (there is some glibc version issue with all the others, last I checked). If you want to write code that runs everywhere right now, there are still lots of people stuck in 1.3.x land, so you might want to shy away from 1.4.x for a little longer. Some of the new library functionality in 1.4.x is available via libraries from jakarta (http://jakarta.apache.org), such as log4j, Regex, ORO (perl-like regex). - richard -- Richard Kilgore [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Which java-sdk?
I've found the sun j2sdk1.4.1_02 to be good. The 1.3 jdk doesn't include JSSE (aka SSL and HTTPS) so if you need that feature go with 1.4. IBM seems to have stopped with 1.3. I believe IBM was going for speed and did pretty good with that aspect (also check out jikes for compile speed). Can't speak to blackdown. -mark On Wed, 2003-06-04 at 17:53, Ing. Bernardo Lopez O. wrote: > Which java sdk should i use? > > blackdown, sun or ibm? > > Also I want the best performance and the less memory usage (for the jre) > > also version 1.2 1.3 1.4? > > Which is the most compatible today 1.3 or 1.4?? > > Could i use one jdk and a different jre? (like sun - ibm?) > > Thanks in advance!! > > -- > [EMAIL PROTECTED] mailing list -- -mdf [Mark D. Foster] http://mark.foster.cc/ signature.asc Description: This is a digitally signed message part
RE: [gentoo-user] Which java-sdk?
> Which java sdk should i use? What do you want to use it for? Gwendolyn. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Which java-sdk?
On Thu, 2003-06-05 at 01:53, Ing. Bernardo Lopez O. wrote: > Which java sdk should i use? emerge sun-jdk It's good with browsers and for compilation. -- [EMAIL PROTECTED] mailing list