From notifications-return-42013-archive-asf-public=cust-asf.ponee.io@accumulo.apache.org Fri Feb 9 00:26:30 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 9718818064F for ; Fri, 9 Feb 2018 00:26:30 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 87319160C5D; Thu, 8 Feb 2018 23:26:30 +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 C3442160C4A for ; Fri, 9 Feb 2018 00:26:29 +0100 (CET) Received: (qmail 29456 invoked by uid 500); 8 Feb 2018 23:26:29 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 29445 invoked by uid 99); 8 Feb 2018 23:26:28 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Feb 2018 23:26:28 +0000 From: GitBox To: notifications@accumulo.apache.org Subject: [GitHub] keith-turner opened a new pull request #380: ACCUMULO-4805 Obtain filemanager lock once when opening files Message-ID: <151813238840.29093.6447297091923259181.gitbox@gitbox.apache.org> keith-turner opened a new pull request #380: ACCUMULO-4805 Obtain filemanager lock once when opening files URL: https://github.com/apache/accumulo/pull/380 Before this change the lock on the file manager was obtained F+1 times, where F is the number of files. When there are lots of threads this is a lot of contention. In this change, the lock is only obtained once. Also in this change the file managers semaphore was switched to non-fair. The fair semaphore is expensive and can cause contention. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services