Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51BB89D8B for ; Mon, 23 Jul 2012 05:53:24 +0000 (UTC) Received: (qmail 41380 invoked by uid 500); 23 Jul 2012 05:53:23 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 41168 invoked by uid 500); 23 Jul 2012 05:53:22 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 41156 invoked by uid 99); 23 Jul 2012 05:53:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2012 05:53:22 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of thomas.neidhart@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-wg0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2012 05:53:13 +0000 Received: by wgbez12 with SMTP id ez12so5161917wgb.6 for ; Sun, 22 Jul 2012 22:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=LcVXY5iR1wBsWNLhxR5Y1JYvEFVxGInh37G3wJzs19M=; b=CRocu+vElhEu49roPS/VtOBDErDE+6vBhO22m1BoADjibgYrBlOnFGWlQL2L3kMPIL yav1W9mlPwg0d6wqDGnA63rt1SpZ7HOJ5OmW4JdH9ngHzPaaeICwtZE3MpPicxEuksw9 RbWRRY7lIJPbH0O9ER90X5OezOessID/RwKlBS3QKCPvNQAs8Ec1+NZ/sUbEk6PPgRdy Q+oiwXL0wGRmrrLCvS/NMW/tIshnMj81n8GjPQkFnaLzPa5TdwDutkGlm4nQUhmoyFxV H0Z31FjqwFZnME3IGyOSppdtQWwM/VNGmIdDEnb363ICrzCjVMfiHCzbUOahB3isNAZh 2Y4A== Received: by 10.180.82.39 with SMTP id f7mr34453540wiy.2.1343022773009; Sun, 22 Jul 2012 22:52:53 -0700 (PDT) Received: from [192.168.1.2] (ip-83-134-93-50.dsl.scarlet.be. [83.134.93.50]) by mx.google.com with ESMTPS id w7sm15232578wiz.0.2012.07.22.22.52.52 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 22:52:52 -0700 (PDT) Message-ID: <500CE6B2.3040602@gmail.com> Date: Mon, 23 Jul 2012 07:52:50 +0200 From: Thomas Neidhart User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: dev@commons.apache.org Subject: Re: [Math] Little thought about multi-threading References: <20120721131752.GN25337@dusk.harfang.homelinux.org> <500C29E5.7070909@gmail.com> <500C617B.3080803@oliver-heger.de> <20120722212536.GZ25337@dusk.harfang.homelinux.org> In-Reply-To: <20120722212536.GZ25337@dusk.harfang.homelinux.org> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 07/22/2012 11:25 PM, Gilles Sadowski wrote: > >>> [...] >>> Threaded execution, on the other hand, can be very, very helpful for a >>> number of math algorithms and thread management inside commons math is a >>> very reasonable option in those cases. This would provide a performance >>> boost with very little complexity for the user of math. Managing these >>> threads is really pretty simple as well. >>> >>> >> How about the Fork-Join framework of Java 7 as an alternative? > > +1 I would also be interested in performance improvements of certain algorithms by taking advantage of the multi-core processors we have nowadays. The fork-join framework of java 7 looks clean and simple to use, so I guess it is somehow a logical target for a library as CM. +1 >> Well, you probably don't want to switch to Java 7 now, [...] > > Oh, yes, please! 8-P I would be in favor of this too, but we could also target it for the 4.0 release together with the parallelization stuff. Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org