From owner-freebsd-java@FreeBSD.ORG Sat Feb 23 03:46:23 2013 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4E884557 for ; Sat, 23 Feb 2013 03:46:23 +0000 (UTC) (envelope-from jurij.kovacic@ocpea.com) Received: from out-1.mail.amis.net (out-1.mail.amis.net [IPv6:2001:15c0:ffff:f::4]) by mx1.freebsd.org (Postfix) with ESMTP id D9D239F0 for ; Sat, 23 Feb 2013 03:46:22 +0000 (UTC) Received: from in-1.mail.amis.net (in-1.mail.amis.net [212.18.32.15]) by out-1.mail.amis.net (Postfix) with ESMTP id 5CD1F46152 for ; Sat, 23 Feb 2013 04:46:14 +0100 (CET) Received: from in-1.mail.amis.net (localhost [127.0.0.1]) by in-1.mail.amis.net (Postfix) with ESMTP id 58EEE14E751 for ; Sat, 23 Feb 2013 04:46:14 +0100 (CET) X-Virus-Scanned: amavisd-new at amis.net X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 required=5 tests=[ALL_TRUSTED=-1] autolearn=disabled Received: from in-1.mail.amis.net ([127.0.0.1]) by in-1.mail.amis.net (in-1.mail.amis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LFtzORyVrb4a for ; Sat, 23 Feb 2013 04:46:13 +0100 (CET) Received: from smtp1.amis.net (smtp1.amis.net [IPv6:2001:15c0:ffff:f::41]) by in-1.mail.amis.net (Postfix) with ESMTP id 1BEFE14E73E for ; Sat, 23 Feb 2013 04:46:13 +0100 (CET) Received: from [192.168.86.128] (cpe-85-10-21-193.static.amis.net [85.10.21.193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp1.amis.net (Postfix) with ESMTPSA id 03578C2DCE for ; Sat, 23 Feb 2013 04:46:12 +0100 (CET) Message-ID: <51283B84.5050709@ocpea.com> Date: Sat, 23 Feb 2013 04:46:12 +0100 From: "Jurij Kovacic, OCPEA d.o.o." User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: freebsd-java@FreeBSD.org Subject: Java threads on multiple processor cores Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2013 03:46:23 -0000 Hi, I am running JBoss application server inside a jail on FreeBSD 8.3. Since the server has a quad-core processor, it would be efficient if the java process (and its threads) could utilize more than 1 CPU core at a time, which is not currently the case. Is it possible to acomplish this (perhaps with the use of a proper threading library) or am I barking up the wrong tree? Thank you for your reply, Jurij