Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id CB8FA200B2B for ; Mon, 13 Jun 2016 20:56:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id CA243160A1A; Mon, 13 Jun 2016 18:56:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0A215160A5B for ; Mon, 13 Jun 2016 20:56:32 +0200 (CEST) Received: (qmail 77135 invoked by uid 500); 13 Jun 2016 18:56:31 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 76782 invoked by uid 99); 13 Jun 2016 18:56:30 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jun 2016 18:56:30 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B7E172C1F61 for ; Mon, 13 Jun 2016 18:56:30 +0000 (UTC) Date: Mon, 13 Jun 2016 18:56:30 +0000 (UTC) From: "John Ross (JIRA)" To: dev@aries.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ARIES-1565) Performance Improvement: unpack subsystem artifacts to tmp folder to avoid directly reading from zip archive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 13 Jun 2016 18:56:33 -0000 [ https://issues.apache.org/jira/browse/ARIES-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Ross updated ARIES-1565: ----------------------------- Attachment: 1565.patch Would you be able try 1565.patch in lieu of the proposed changes to see if it gives comparable results? Note that the suspicious looking stuff surrounding the "archive" and "tempFile" variables was necessary to avoid a Util test failure that, oddly enough, expects to see a variable called "tempFile" on the returned IDirectory. > Performance Improvement: unpack subsystem artifacts to tmp folder to avoid directly reading from zip archive > ------------------------------------------------------------------------------------------------------------ > > Key: ARIES-1565 > URL: https://issues.apache.org/jira/browse/ARIES-1565 > Project: Aries > Issue Type: Improvement > Components: Subsystem, Util > Affects Versions: subsystem-2.0.8, util-1.1.2 > Reporter: Wouter Bancken > Attachments: 1565.patch > > > h4. Description > Aries copies ESA archives to a temporary zip file during the installation phase. Afterwards, bundles are read directly from this temporary zip which has a large impact on the startup performance of Aries applications. By unpacking the esa artifact into the temporary folder it is unpacked only once. Subsequent reads for the bundles (jars) can be read directly from the folder. > h4. Pull request > https://github.com/apache/aries/compare/subsystem-2.0.x...WouterBanckenACA:io_performance_optimalisation?expand=1 > h4. Mailinglist > http://mail-archives.apache.org/mod_mbox/aries-user/201606.mbox/%3CCAL5nZgTq5FxDvURJbzcEZ9YHx6vTs3HAOuFYDYA3ec9OZbmwjA%40mail.gmail.com%3E -- This message was sent by Atlassian JIRA (v6.3.4#6332)