Return-Path: Delivered-To: apmail-uima-user-archive@www.apache.org Received: (qmail 60633 invoked from network); 18 May 2010 13:35:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 May 2010 13:35:19 -0000 Received: (qmail 63267 invoked by uid 500); 18 May 2010 13:35:19 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 63237 invoked by uid 500); 18 May 2010 13:35:19 -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 63229 invoked by uid 99); 18 May 2010 13:35:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 13:35:19 +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.47 as permitted sender) Received: from [74.125.82.47] (HELO mail-ww0-f47.google.com) (74.125.82.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 May 2010 13:35:11 +0000 Received: by wwb28 with SMTP id 28so854756wwb.6 for ; Tue, 18 May 2010 06:34:50 -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=rKiueyfNEhBkovrYOhV1WlMq/fh9yvJ2z5IDXAeRCmc=; b=a4fJJA+A283UnnB/H1A0iyoyDp/ZFcApToNcYP5tN4Gf9oCo7fpcSPwg4VNePsMn3a ebGBbZ+n54PO+S8N4Nqxl6LBdP7tLz8vgY6qXrQUcDtd3Wa5qH/DvOz6yNiiN2/xkdUN A0DYJJcPw53SlTcoC5ku5XaYOSsuBxwCXu4HM= 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=JrMPB0f2XQc0B1oazOz0UEBLA176ByBigoep7ouv6fDRH8t+MY6j5uyqppE0bketJ/ IYY9OWFJ5PbO6dZ/0ijsHVV9kq6gsJA6oIEIrO9e74n1AKJHz+KypfKXakv7feb3RMXC RiyTQRKXMwwtLTyIEV9YA8x6OMeZLvd3tb5wg= MIME-Version: 1.0 Received: by 10.216.188.144 with SMTP id a16mr3949571wen.204.1274189689694; Tue, 18 May 2010 06:34:49 -0700 (PDT) Received: by 10.216.156.68 with HTTP; Tue, 18 May 2010 06:34:49 -0700 (PDT) In-Reply-To: References: Date: Tue, 18 May 2010 09:34:49 -0400 Message-ID: Subject: Re: the performance of UIMA AS From: Eddie Epstein To: user@uima.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org An intro to UIMA AS at http://uima.apache.org/doc-uimaas-what.html#UIMA%20AS%20-%20Example%20Appli= cation%20Scenarios Includes the comment: Scaleout efficiency is determined by the ratio of the processing done by the scaled out analysis engines to the serialization overhead in the services. That said, there are different UIMA AS configurations that will minimize overhead; see the last example on that web page. Eddie On Tue, May 18, 2010 at 7:46 AM, LinTong wrote: > Hallo everybody > > Now I am investigating UIMA AS. I'm very confused by the poor > performance of UIMA-AS. I run the example AS descriptor > MeetingDetectorTAE. No matter > Deploy_MeetingDetectorTAE_3MeetingAnnotators.xml or > Deploy_MeetingDetectorTAE_Sync_3Instances.xml, there is no speedup at > all. Also I tried Deploy_MeetingDetectorTAE_RemoteRoomNumber.xml and > deployed several instances of service RemoteRoomNumber. But still no > speedup. My sample includes 450 documents. Actually MeetingDetectorTAE > costs appx. 1000ms in CPE. Deploy_MeetingDetectorTAE.xml costs 5000ms > in UIMA AS while all components are on the same machine. If I run > Deploy_MeetingDetectorTAE_RemoteRoomNumber.xml and service > RemoteRoomNumber on different computer, it takes almost 20000ms. I > know these is overhead including de/serialisation, but there is no > reason that the performance is so poor. Does anybody have idea about > my problem? Did I make any stupid mistake? > > BTW, when I enable the flag named async, system gives the following > debug information back. The analysis time and idle time seem quite > strange. Does my AE only cost c.a. 280ms?(the collection reader I used > costs c.a. 2000ms). > > > INFO: Controller: [Meeting Detector TAE] Delegate < TAE>> Stats: > =A0 =A0 =A0 =A0 Total Number CASes Processed: 257 > =A0 =A0 =A0 =A0 Total CAS Deserialization Time: 327,602 ms > =A0 =A0 =A0 =A0 Total CAS Serialization Time: 93,601 ms > =A0 =A0 =A0 =A0 Total Time Spent In Analysis: 280,802 ms > =A0 =A0 =A0 =A0 Max Serialization Time: 15,6 ms > =A0 =A0 =A0 =A0 Max Deserialization Time: 15,6 ms > =A0 =A0 =A0 =A0 Max Analysis Time: 202,801 ms > =A0 =A0 =A0 =A0 Total Idle Time: 1.625,275 ms > Completed 451 documents; 593984 characters > Time Elapsed : 4808 ms > > > Thank you so much if somebody could help me ! > > -- > Best Regards > LinTong(Pierre) >