From owner-freebsd-questions@FreeBSD.ORG Tue Jan 5 13:43:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45E1A106568B for ; Tue, 5 Jan 2010 13:43:41 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51106.mail.re2.yahoo.com (web51106.mail.re2.yahoo.com [206.190.38.148]) by mx1.freebsd.org (Postfix) with SMTP id EFFA48FC0C for ; Tue, 5 Jan 2010 13:43:40 +0000 (UTC) Received: (qmail 57807 invoked by uid 60001); 5 Jan 2010 13:43:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1262699018; bh=wXRZ9oIGfcqQGAwmJt08UF/ap8kb0MwXZU/wV191XmU=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=3dmNz++9/IO8dfkA4y41k+yhg/VpZfd+YZuViu5zTYDKTHMnATNl0AaM2h/X/VS1tzGlmi21AhMrnylvWfmCKnFeaFDFCZ0b4a+vzOSMMpVyVVLFdboivhz5SrrHbJDjuW5BvmAS8z+sK9RMgbQNW/zw5xvQYy4B+IBWOBt5xPA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=TAd2+Kzmz02sHFOy0LnS2tdQPdSX4/8vhH+sFYLUAFmFr8ogjliCHeQQwLBZh1MLm67gDak6ORzpgdLyaVUcLyJoOyKinXC99SlxkbH6ebPYX2Ct87xI3SEg+A4EW88Wf3YUmIQC55F1w8vYpbZcyvYPs02fR0lxEC7HuZDaqAI=; Message-ID: <682606.57767.qm@web51106.mail.re2.yahoo.com> X-YMail-OSG: JrP5bt8VM1mJqeBGiFG3TYczvOWgvxSEU4MgjlfO1KcnePNbfmrfe7dyW.4WgqmyojQqhfUa55sr4MnyFDATZF.FsCkWJsmXXR9Ob__BqaiEW8fva4Vyg3iWiL2_NzBt6jbmyutH1e35Fyp2UpzjcIS1MbsB91C3_Wo4CQE4lxReXEl_kSnh3RwMQPrAfKGxYBhnOMTk0GfviK08mmCs8EctwubKr9WjN8ysdSurLMszohC07GmRG8WTzLzwus9p2pBHorGD8Bgw7YqOqt6zYyqY2pKEXv75ystI.lKy7MPRLcO5V0DQyzoJJHfkICr8sxnTRzSjmg_hYZt6187ut2SCEEBPcn3LLkCbnKLUeLDcpkaOukNnb3VR87ULqALFaUbAUTorvK2JULs9sGJMg23njEcLS.7gXd6b3BJBRdjQ6flCGdQkC0KUTdI6ODTxERQCsfVT2FAt7egkajN6WXeWwF18regdyZIT4KBv2_BccoZdnak14_L.7QbN8NEdo8wFR.lMRfaqtmrDSOXGKMwVq76.Kl7ih9Fv32L3d.BMLyQqA7vi8w-- Received: from [167.202.201.4] by web51106.mail.re2.yahoo.com via HTTP; Tue, 05 Jan 2010 05:43:38 PST X-Mailer: YahooMailClassic/9.0.20 YahooMailWebService/0.8.100.260964 Date: Tue, 5 Jan 2010 05:43:38 -0800 (PST) From: Dino Vliet To: Greg Lewis In-Reply-To: <20100104222849.GA17741@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: simon@olofsson.de, glewis@freebsd.org, freebsd-questions@freebsd.org Subject: Re: tweak FreeBSD 8 for optimal java/weka performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 13:43:41 -0000 --- On Mon, 1/4/10, Greg Lewis wrote: From: Greg Lewis Subject: Re: tweak FreeBSD 8 for optimal java/weka performance To: "Dino Vliet" Cc: freebsd-questions@freebsd.org, glewis@freebsd.org, simon@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.=A0 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.=A0 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. --=20 Greg Lewis=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Email=A0=A0= =A0: glewis@eyesbeyond.com Eyes Beyond=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0=A0Web=A0 =A0= =A0=A0: http://www.eyesbeyond.com Information Technology=A0 =A0 =A0 =A0 =A0 =A0 =A0 FreeBSD : glewis@FreeBSD.= org Thanks for the advice, but isn't=A0weka depandent on=A0diablo-jdk-1.6.0.07.= 02_7, so I guess I'll have to=A0do something (change makefile to what?) bef= ore I install weka?=A0 =A0 Thanks Dino=0A=0A=0A