Return-Path: Delivered-To: apmail-uima-user-archive@www.apache.org Received: (qmail 96195 invoked from network); 26 May 2010 18:49:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 May 2010 18:49:21 -0000 Received: (qmail 29261 invoked by uid 500); 26 May 2010 18:49:21 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 29219 invoked by uid 500); 26 May 2010 18:49:20 -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 29201 invoked by uid 99); 26 May 2010 18:49:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 18:49:20 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eaepstein@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-wy0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 18:49:12 +0000 Received: by wya21 with SMTP id 21so887304wya.6 for ; Wed, 26 May 2010 11:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=lY1TcL4IO9rrMxLdBnE/7Rbzp6PuUOxcwVKEdZ95GWo=; b=FaQ0HZM34Z+LkkFHLrWAdLVHoBteKCokdOkzrtee00ESBWKY+yc9IZrOQGf/F/9GJ7 Htegc8R3cEuWQH6eFrHf5IyJNtP41Kvdt7BbHN6Q7ACbBbwinYj0pfIBMUCJYECz1lf3 aDVa5hAqcWF3/amhAtRgPm4uAR7nPN2dFll78= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=TgcyHhsMOIwjQOuIZKgaFPsbv2PrqlIsWBr/Mt85zPB+alfkg4lQUH4aHgrMq/de7i 1Uo88Zc66gSvFEyTBZVEjRtc6K8J4LBlgLZeAaTjEA9JuAwx136QqiPs9CoB8a9aDoa3 /6V7YScbqw+jw8BVwtGFuExX5eWCfRgYyvrLM= MIME-Version: 1.0 Received: by 10.227.144.141 with SMTP id z13mr8914937wbu.154.1274899299762; Wed, 26 May 2010 11:41:39 -0700 (PDT) Received: by 10.216.186.71 with HTTP; Wed, 26 May 2010 11:41:39 -0700 (PDT) In-Reply-To: References: Date: Wed, 26 May 2010 14:41:39 -0400 Message-ID: Subject: Re: Improve the performance of multiplier as high as possible in the version 2.2.2 of UIMAAS From: Eddie Epstein To: user@uima.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org First of all, version 2.2.2 does not reliably support scaled out remote CasMultipliers, but the current version 2.3.0 does. Please move to the new version. > I dont't konw the relationship between CASpool and casMultiplier poolSiz= e. > The tutorial says,the actual CAS pool size is the value in the deployment > descriptor, plus the value in custom CM code, minus 1.That assumes there = is 1 > instance.What about 5 instances? I don't believe any adjustment is made for the number of CM instances. As of now the user will have to calculate the right size to set the CasPool= . Also note that an aggregate with a remote CasMultiplier delegate requires configuration of a "ShadowCasPool". The shadow CasPool size is the number that will be distributed by the aggregate. If you would share the block diagram of your intended configuration, either on this list or privately, we would be in a better position to help. Eddie On Tue, May 25, 2010 at 11:25 PM, feixiang wrote: > > =C2=A0I test my program and find that the multiplier is the bottleneck.I = find > the multiplier's idle time is always 0.So I want to improve the performan= ce > =C2=A0by speeding up the multiplier. The tutorial says,Only one remote ca= n be a > remote CAS Multiplier,In version 2.2.2, and that remote can only have one > instance.I still deploy the multiplier 5 instances in 1 node.The performa= nce > improves, 2 times faster than 1 instance,not 5 times.What does the result= tell > to me? > =C2=A0I dont't konw the relationship between CASpool and casMultiplier po= olSize. > The tutorial says,the actual CAS pool size is the value in the deployment > descriptor, plus the value in custom CM code, minus 1.That assumes there = is 1 > instance.What about 5 instances? > =C2=A0So in the version 2.2.2,how can I improve the performance of multip= lier as > =C2=A0high as possible?Eddie Epstein said,"getEmptyCas() will block until= a free CAS > =C2=A0is available in the CasPool." > =C2=A0So how can I avoid the "getEmptyCas()" is blocked?If I deloly 5 ins= tances of > multiplier,How do I assign the size of CASpool and casMultiplier poolSize= ? > =C2=A0I=E3=80=80am very grateful if you help me. > > >