Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 32458 invoked from network); 27 Jan 2011 19:54:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2011 19:54:09 -0000 Received: (qmail 89906 invoked by uid 500); 27 Jan 2011 19:54:09 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 89805 invoked by uid 500); 27 Jan 2011 19:54:08 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 89797 invoked by uid 99); 27 Jan 2011 19:54:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 19:54:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 19:54:06 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0RJrjFD003048 for ; Thu, 27 Jan 2011 19:53:45 GMT Message-ID: <32748387.246891296158025247.JavaMail.jira@thor> Date: Thu, 27 Jan 2011 14:53:45 -0500 (EST) From: "Todd Lipcon (JIRA)" To: issues@hbase.apache.org Subject: [jira] Updated: (HBASE-3483) No soft flush trigger on global memstore limit In-Reply-To: <31258345.228541296085366997.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HBASE-3483: ------------------------------- Attachment: hbase-3483.txt Slightly more cleaned up. > No soft flush trigger on global memstore limit > ---------------------------------------------- > > Key: HBASE-3483 > URL: https://issues.apache.org/jira/browse/HBASE-3483 > Project: HBase > Issue Type: Bug > Components: performance, regionserver > Affects Versions: 0.90.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Priority: Critical > Fix For: 0.90.1 > > Attachments: hbase-3483.txt, hbase-3483.txt > > > I think this is the reason people see long blocking periods under write load. > Currently when we hit the global memstore limit, we call reclaimMemStoreMemory() which is synchronized - thus everyone has to wait until the memory has flushed down to the low water mark. This causes every writer to block for 10-15 seconds on a large heap. > Instead we should start triggering flushes (in another thread) whenever we're above the low water mark. Then only block writers when we're above the high water mark. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.