From user-return-8364-archive-asf-public=cust-asf.ponee.io@uima.apache.org Mon Jun 29 11:36:30 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C1D3C180667 for ; Mon, 29 Jun 2020 13:36:29 +0200 (CEST) Received: (qmail 5616 invoked by uid 500); 29 Jun 2020 11:36:28 -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 5449 invoked by uid 99); 29 Jun 2020 11:36:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2020 11:36:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9505EC0652 for ; Mon, 29 Jun 2020 11:36:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.003 X-Spam-Level: X-Spam-Status: No, score=-0.003 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=cactusglobal.onmicrosoft.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id hT2Z2Q5ITYoL for ; Mon, 29 Jun 2020 11:36:25 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=40.107.138.84; helo=ind01-ma1-obe.outbound.protection.outlook.com; envelope-from=augusto.silva@cactusglobal.com; receiver= Received: from IND01-MA1-obe.outbound.protection.outlook.com (mail-eopbgr1380084.outbound.protection.outlook.com [40.107.138.84]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 277B57FC64 for ; Mon, 29 Jun 2020 11:15:49 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KDLhuRjqmgBJSMiCzxcLULvqYUji9WwE+qG8fZBE9kcpu5wKa5k6kZuEmMXF6F/Gu+ExfUDsKVNO+hnP4JOXQgb4uj3nGi7kxCYl5j8K8+noiSYZA5EQwkF3bpZr0nyj9ZrphaAPkZHpJaf3WdUFbBQ4PzUamrKq4A5y0miWZQt4nAXOuOu6Lq/vY7YT+UajhWfww0A9AKlG8GLcmzon+2Glp5cFfAWeH8EmJ6OmT7cS5f2gJSXOO9oE0RipDtEiynLlLdylgU+H3jYiCWXuAVeVuI+PHa3mAMfVvu6wJLm2pHb8TRYoy6aNOkwGy0Klfjhl6Fs8B8piPh9jLS6Rcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kVpuYptOkjP3SYbvfUcJGaQ1nS0k2BIXWpKNJzAeinM=; b=c1cM00RI3TIiLbpUlWsGUNCI+F99YKlbMRZmv0I9ZMLHWc2Ot4/dKZGqrIh75REnxDeshu1WFO+yG/2tBGhKoBWiKAYAfoWUaEaqMaUZ8FUkVa6nHgnvIo5nsO2dCEa2tbxowU6lP4geXVIsLuRouo3cnCZnKAAVvEKdaLk/sxiIBEtlayLs653VJSTJAco4HiiBPt4Rq6wAdZZDy5rTTnYFKRtCevfTtlbpEaHv9G4USjDqsiJF3jIiZqKE5WXPq2sKYk/d+nBEfLVAVvxmta7SRDeIwX4i6jB1lliQ2EcRzTGoLiXOpse06L/OENIw0kO24IYOUG1eQ29zdoF/Jw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cactusglobal.com; dmarc=pass action=none header.from=cactusglobal.com; dkim=pass header.d=cactusglobal.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cactusglobal.onmicrosoft.com; s=selector2-cactusglobal-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kVpuYptOkjP3SYbvfUcJGaQ1nS0k2BIXWpKNJzAeinM=; b=AGStXRPwfqteYkQefi82kK3+eGFpXRDnvIsjL13R5qqKbGBBC3fF+QV2VdJQr54JdBgpYG8HHHpy9o5RXI15OjbJU7ZNoCvNd8wqELu9sPdj4t4L5vlvFKxITgbW3wMK7uWAquDc4JeeuYi4SceWUAN3W0THtg/slOIyorYx8dY= Received: from MAXPR0101MB1659.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:17::11) by MAXPR0101MB1932.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:1b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.25; Mon, 29 Jun 2020 11:15:40 +0000 Received: from MAXPR0101MB1659.INDPRD01.PROD.OUTLOOK.COM ([fe80::d9ae:5c34:acea:6dc]) by MAXPR0101MB1659.INDPRD01.PROD.OUTLOOK.COM ([fe80::d9ae:5c34:acea:6dc%10]) with mapi id 15.20.3131.026; Mon, 29 Jun 2020 11:15:40 +0000 From: Augusto Ribeiro Silva To: "user@uima.apache.org" Subject: Performance degradation in UIMA3 Thread-Topic: Performance degradation in UIMA3 Thread-Index: AQHWTgafujFdEwd8dk6MO/cQL7jbkg== Date: Mon, 29 Jun 2020 11:15:40 +0000 Message-ID: <54B13DB9-7CEB-4338-94C8-62D4BBEDAFF5@cactusglobal.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: uima.apache.org; dkim=none (message not signed) header.d=none;uima.apache.org; dmarc=none action=none header.from=cactusglobal.com; x-originating-ip: [185.5.167.108] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bb63bfbf-3274-49de-d358-08d81c1dc1cd x-ms-traffictypediagnostic: MAXPR0101MB1932: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 044968D9E1 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: jXA8RbzAUon2BEIfRJqZAVhYs7DjS1HpjgMF6CDwTwIEnJktPmR49AAZZDq67HXiFiooCdrSyGQs6oQ9riNz7AIVhZlZD9opvzs+yeXT6spQ18i0qDiZ74+Kbyb9eUvnLhcS8xl1NdlBHn7cMLnpVHzJtEk2hF01jOCtMumFuvpYGeP/PVYk5l16eKCVNic9Bfd/OQqrjqti9kC/jRM6tF+JCf272gtIYZPb1ryA0KhWF1Eie2OYe7DesmAZZmcjaUrm7uRQ/LpkqgLNhFF0LL0aaAe0sX2VchpeP/zvGLP3m7YVqyOQfqAFGjRzGDDmdxTacxNTeaqIMRBEBh7+Yg== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MAXPR0101MB1659.INDPRD01.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(396003)(136003)(366004)(39860400002)(346002)(376002)(66946007)(76116006)(66476007)(66556008)(64756008)(66446008)(8936002)(33656002)(316002)(6486002)(91956017)(5660300002)(86362001)(36756003)(83380400001)(2616005)(478600001)(8676002)(6506007)(71200400001)(6916009)(2906002)(6512007)(186003)(26005);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: PpUMY2aTARJW+iVt2F4OjUjGl1NsLfltyxo5oGta30C2ZbdUzr0jccZkwGDGlFk6zxpGYfVCzTVmp33Q00Q/S87Knuv7Q11R0+GN7icGSY848Tqk1mxdzLXJKFfRYcO1HjhoT7EJf9ky4eKYCM7qyCishs1rc7q2+npDDW2z1ImMS56bGjNk5z0XF4GI0WsnFsfmYZPfTsndIV5nedhqM5z31Lbxu798gTvEGXxR0vk9E/z2rTo9NwrBiwh+rV9/y7oWQ0pMGWpnuoRJA35uxqRwaRSnOxTbt/FX7/3OHjuBOCjQxJOto+Ot0YZU8OKyFonmQUTLmmGHQ+Ez8MnghM4Ag9RWCX0Eo2o7ptegonQxVwRIaNJg67h7y2WyqQrHhTHeUgQ04ooBRIbOTXi893n77VVZqazKpNtoYZJuaNqB+4qfxBM8doyiKfrq5DviWICFxc/fpzsPBHBYp+kyHifz3J3WKKMLYCGlm754TUg= x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_54B13DB97CEB433894C862D4BBEDAFF5cactusglobalcom_" MIME-Version: 1.0 X-OriginatorOrg: cactusglobal.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MAXPR0101MB1659.INDPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: bb63bfbf-3274-49de-d358-08d81c1dc1cd X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2020 11:15:40.2426 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 762d8873-d777-4e7f-bb6b-e4d2cccca312 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: /fOlspY8+icy0zPx/NM9ezrkTqJB6HZpVb+PpuCCAWtJ1scH2mmuHN+SLUEhWaOfUKieoo2EuXF6oOVM/fkljAeyueeTWjmbIWD46dt5EiI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MAXPR0101MB1932 --_000_54B13DB97CEB433894C862D4BBEDAFF5cactusglobalcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, I am writing because I noticed that our pipelines got considerably slower a= fter updating to UIMA3. The cause of the slowdown seems to be the fact that= the method getJCasRegisteredType located in TypeSystemImpl uses a synchron= ised block. We haven't noticed it before but when I was running a pipeline = in a large machine (48 cores with 80 worker threads) many of the threads we= re blocked in this specific method. I just wanted to point that this is a big problem for us and I am not sure = if you are aware or if there is some workaround. I am at this point conside= ring packaging our own version of UIMA without the synchronised block since= our types are not dynamic and should be loaded when the pipeline starts so= it is unlikely that we need the synchronised access to the type registry. Best regards, Augusto ________________________________ Disclaimer: This email and any files transmitted with it are confidential and directed = solely for the use of the intended addressee or addressees and may contain = information that is legally privileged, confidential, and exempt from discl= osure. If you have received this email in error, please notify the sender b= y telephone, fax, or return email and immediately delete this email and any= files transmitted along with it. Unintended recipients are not authorized = to disclose, disseminate, distribute, copy or take any action in reliance o= n information contained in this email and/or any files attached thereto, in= any manner other than to notify the sender; any unauthorized use is subjec= t to legal prosecution. --_000_54B13DB97CEB433894C862D4BBEDAFF5cactusglobalcom_--