Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 46FA1DDE1 for ; Thu, 8 Nov 2012 15:04:39 +0000 (UTC) Received: (qmail 22885 invoked by uid 500); 8 Nov 2012 15:04:39 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 22755 invoked by uid 500); 8 Nov 2012 15:04:39 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 22726 invoked by uid 99); 8 Nov 2012 15:04:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 15:04:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of uimaee@gmail.com designates 209.85.210.175 as permitted sender) Received: from [209.85.210.175] (HELO mail-ia0-f175.google.com) (209.85.210.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 15:04:33 +0000 Received: by mail-ia0-f175.google.com with SMTP id b35so2017368iac.6 for ; Thu, 08 Nov 2012 07:04:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=FC+ThXO/TI80hLdt2S6u8fZ4oKvj33agzz380byum+0=; b=u0JB2WBCmNJizxpHvbrQw7NjyQBpvf4m+jVOaBa/Bubhxgix9sMt6SFhlUgtYTcbWS 1OB0pGzpDr6skPd7G91saEvyRqfsWYwLaOTKSfKF9qeazdoiqINnOkyqrxJ03lDarXtc gKTZnzD0pbhwuVfPBuuzHwfel3W0YypZF1xFk4qjZ0esg94oSYtcVLpQneLjzn4VwY+6 Hhjbm7ZFtz2V1mSiVF7elEUsA4oYmQIfoVew7i8UeUEk3KszJZGS4KPxPPcUux1hrIpc 3kiq6848pjV/4y/SLEtFGd1npqQiUx/Tm2RIF6yx4tuNtm8dgu/gJ1+ZoRXQiSK6h2nt d06g== MIME-Version: 1.0 Received: by 10.50.0.193 with SMTP id 1mr8362560igg.0.1352387053123; Thu, 08 Nov 2012 07:04:13 -0800 (PST) Received: by 10.64.11.225 with HTTP; Thu, 8 Nov 2012 07:04:12 -0800 (PST) In-Reply-To: <509A87A7.4030902@informatik.uni-leipzig.de> References: <509A87A7.4030902@informatik.uni-leipzig.de> Date: Thu, 8 Nov 2012 10:04:12 -0500 Message-ID: Subject: Re: Multi Core Usage From: Jaroslaw Cwiklik To: user@uima.apache.org Content-Type: multipart/alternative; boundary=e89a8f502f8ee679fe04cdfd25d1 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f502f8ee679fe04cdfd25d1 Content-Type: text/plain; charset=ISO-8859-1 Not sure I fully understand your problem. In the CPE, the CR runs in its own thread supplying CASes to processing pipelines. Cas Consumer(s) run in a dedicated thread(s) as well. The processingUnitThreadCount property determines scaleout for your AEs if you set it to say 3, you get 3 processing threads (pipelines) and 3 instances of each AE. Take a look at this document: http://uima.apache.org/d/uimaj-2.3.1/tutorials_and_users_guides.pdf page 61. Can you explain this better: "...this does not work because it only adds the 3 "levels" reading, analyzing, writing to differnt threads." - Jerry On Wed, Nov 7, 2012 at 11:09 AM, Andreas Niekler < aniekler@informatik.uni-leipzig.de> wrote: > Hi there, > > i have a uima defininition including a Reader, The Analysis chain and a > consumer. I tried to scale out the whole application by adding the > parameters > and set them to higher values. This does not work because it only adds the > 3 "levels" reading, analyzing, writing to differnt threads. > > How can i scale out the analysis part. One important thing to mention is > that all the annotators in the chain must be linear. This means for one > document they have to run one after another. So the solution would be to > scale out the document processing and process each document concurrent but > in each thread with the whole chain. > > Is that possible? > > Thank you > > -- > Andreas Niekler, Dipl. Ing. (FH) > NLP Group | Department of Computer Science > University of Leipzig > Johannisgasse 26 | 04103 Leipzig > > mail: aniekler@informatik.uni-**leipzig.deg.de > --e89a8f502f8ee679fe04cdfd25d1--