From owner-freebsd-questions@FreeBSD.ORG Mon Jan 4 14:54:26 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 828041065672 for ; Mon, 4 Jan 2010 14:54:26 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from web51107.mail.re2.yahoo.com (web51107.mail.re2.yahoo.com [206.190.38.149]) by mx1.freebsd.org (Postfix) with SMTP id 2AA0E8FC14 for ; Mon, 4 Jan 2010 14:54:25 +0000 (UTC) Received: (qmail 19918 invoked by uid 60001); 4 Jan 2010 14:54:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1262616862; bh=uK5XqmgIYK6W52UGsOZZx2hiwFiaE2/Fa70KFU9c5b0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=yfJ2ZVVU+GR7YSt5etm6umtaddt0CVxJOd17OB2gkxP9aFeALnwvwYzKuMyXKgfwV/VVpfumDooVotcbrZbOt3pfpG1WBNkaGYnu6p/zWxtFpjecxMMu/ym1KpaekChsi/+lbgw867/l0EAZATPJS0WD6dVs5PILSVhvHJ8iPhc= 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:MIME-Version:Content-Type; b=vFYk5QoNQXcEx1TqZNQhgu2GxqdeYF1IDBJyQTBUTKr3qB1KOASZ+zZNv2UvrTtQ5AOEwTxO7m0pxOxvkVtSz9/Y2m7bHf26GWbyXZif7vLpzaieSG9SlHQeEIOhkUk8LHEngf39wOjwehV9O4u58i33g/yOuw/QUfJ+I1ZEh+g=; Message-ID: <775261.19437.qm@web51107.mail.re2.yahoo.com> X-YMail-OSG: Ux9dUjAVM1kw2MZrkIwqHAS6Bfcp352ThndH62BlbHJabOzLrDpQaQPModRlOSYjgFLqaDavjBVcXoiexccBuGYpU4NzGVCA5A438XKxWjunstYoL28CSY1PwKyEzkfw5QZGR1rIW_5lAuu3kMu7ma9gXcnPVRkO7TWEsxEA2GLlNTNfL_N7F9y9JojtijIGvmoCo8nWWu2fSCe6u77Nsa7J5Ch9qoQJ.uTqx_m59UMG0GDVeNaijnv8CMByjPYXDW6NpvQSF5BMXrw0MN86fxpZ.0eayrr.FUCvefxtGmWXZ5wkucz3wyLeHA-- Received: from [167.202.201.4] by web51107.mail.re2.yahoo.com via HTTP; Mon, 04 Jan 2010 06:54:22 PST X-Mailer: YahooMailClassic/9.0.20 YahooMailWebService/0.8.100.260964 Date: Mon, 4 Jan 2010 06:54:22 -0800 (PST) From: Dino Vliet To: freebsd-questions@freebsd.org 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 Subject: 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: Mon, 04 Jan 2010 14:54:26 -0000 Dear freebsd people, =A0 in a few days I will install freebsd 8.0 amd64 on my 8GB RAM dual core mach= ine and use the system as a application server. I will install the /usr/por= ts/textproc/weka toolkit, a program written in java. I will use the diablo = jdk port in /usr/ports/java. =A0 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=A0-Xmx7g= flag frequently to set=A0the maximun java heap size=A0to 7GB. =A0 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? =A0 Let me know, thanks in advanced, Dino=0A=0A=0A