Re: tweak FreeBSD 8 for optimal java/weka performance
On Mon, 2010-01-04 at 14:28 -0800, Greg Lewis wrote: On Mon, Jan 04, 2010 at 06:54:22AM -0800, Dino Vliet wrote: Are there any other tweaks I should think of to get as much RAM for my java programs? IIRC there is an option to tell the JVM to use as much RAM as possible, but I don't recall it off the top of my head. There should be some docs on this on the main Java site at Sun and they will be equally relevant to FreeBSD as they are to any other OS. http://java.sun.com/javase/technologies/performance.jsp is a good starting point. There are many articles and books available for maximizing Java performance. Maybe the weka people also have some advice. Regards Simon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: tweak FreeBSD 8 for optimal java/weka performance
--- On Mon, 1/4/10, Greg Lewis gle...@eyesbeyond.com wrote: From: Greg Lewis gle...@eyesbeyond.com Subject: Re: tweak FreeBSD 8 for optimal java/weka performance To: Dino Vliet dino_vl...@yahoo.com Cc: freebsd-questions@freebsd.org, gle...@freebsd.org, si...@olofsson.de Date: Monday, January 4, 2010, 11:28 PM On Mon, Jan 04, 2010 at 06:54:22AM -0800, Dino Vliet wrote: Dear freebsd people, ? in a few days I will install freebsd 8.0 amd64 on my 8GB RAM dual core machine and use the system as a application server. I will install the /usr/ports/textproc/weka toolkit, a program written in java. I will use the diablo jdk port in /usr/ports/java. ? Due to the nature of the research I will be doing I will need to max out my machine for optimal java performance. For example, I will use the?-Xmx7g flag frequently to set?the maximun java heap size?to 7GB. ? Are there any other tweaks I should think of to get as much RAM for my java programs? Like building custom and small kernel, in order to minimize te size of the kernel? ? I'd recommend using openjdk6 instead of Diablo if you want to maximise performance. Diablo is getting old and isn't available natively for 8.x (its runs as a compatible binary with the compat7x port installed). IIRC there is an option to tell the JVM to use as much RAM as possible, but I don't recall it off the top of my head. There should be some docs on this on the main Java site at Sun and they will be equally relevant to FreeBSD as they are to any other OS. -- Greg Lewis Email : gle...@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : gle...@freebsd.org Thanks for the advice, but isn't weka depandent on diablo-jdk-1.6.0.07.02_7, so I guess I'll have to do something (change makefile to what?) before I install weka? Thanks Dino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
tweak FreeBSD 8 for optimal java/weka performance
Dear freebsd people, in a few days I will install freebsd 8.0 amd64 on my 8GB RAM dual core machine and use the system as a application server. I will install the /usr/ports/textproc/weka toolkit, a program written in java. I will use the diablo jdk port in /usr/ports/java. Due to the nature of the research I will be doing I will need to max out my machine for optimal java performance. For example, I will use the -Xmx7g flag frequently to set the maximun java heap size to 7GB. Are there any other tweaks I should think of to get as much RAM for my java programs? Like building custom and small kernel, in order to minimize te size of the kernel? Let me know, thanks in advanced, Dino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: tweak FreeBSD 8 for optimal java/weka performance
On Mon, Jan 04, 2010 at 06:54:22AM -0800, Dino Vliet wrote: Dear freebsd people, ? in a few days I will install freebsd 8.0 amd64 on my 8GB RAM dual core machine and use the system as a application server. I will install the /usr/ports/textproc/weka toolkit, a program written in java. I will use the diablo jdk port in /usr/ports/java. ? Due to the nature of the research I will be doing I will need to max out my machine for optimal java performance. For example, I will use the?-Xmx7g flag frequently to set?the maximun java heap size?to 7GB. ? Are there any other tweaks I should think of to get as much RAM for my java programs? Like building custom and small kernel, in order to minimize te size of the kernel? ? I'd recommend using openjdk6 instead of Diablo if you want to maximise performance. Diablo is getting old and isn't available natively for 8.x (its runs as a compatible binary with the compat7x port installed). IIRC there is an option to tell the JVM to use as much RAM as possible, but I don't recall it off the top of my head. There should be some docs on this on the main Java site at Sun and they will be equally relevant to FreeBSD as they are to any other OS. -- Greg Lewis Email : gle...@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : gle...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org