Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 2626 invoked from network); 15 Aug 2010 20:08:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Aug 2010 20:08:39 -0000 Received: (qmail 29202 invoked by uid 500); 15 Aug 2010 20:08:38 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 29064 invoked by uid 500); 15 Aug 2010 20:08:37 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 29054 invoked by uid 99); 15 Aug 2010 20:08:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Aug 2010 20:08:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.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; Sun, 15 Aug 2010 20:08:36 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7FK8G5j007887 for ; Sun, 15 Aug 2010 20:08:16 GMT Message-ID: <27824738.356261281902896247.JavaMail.jira@thor> Date: Sun, 15 Aug 2010 16:08:16 -0400 (EDT) From: "Jason Rutherglen (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-2573) Tiered flushing of DWPTs by RAM with low/high water marks In-Reply-To: <14082757.46881280335216069.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LUCENE-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898742#action_12898742 ] Jason Rutherglen commented on LUCENE-2573: ------------------------------------------ Michael, I've been on holiday in Europe for the last 2 weeks. When I'm back I'll tomorrow resume work on it. > Tiered flushing of DWPTs by RAM with low/high water marks > --------------------------------------------------------- > > Key: LUCENE-2573 > URL: https://issues.apache.org/jira/browse/LUCENE-2573 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Michael Busch > Assignee: Michael Busch > Priority: Minor > Fix For: Realtime Branch > > > Now that we have DocumentsWriterPerThreads we need to track total consumed RAM across all DWPTs. > A flushing strategy idea that was discussed in LUCENE-2324 was to use a tiered approach: > - Flush the first DWPT at a low water mark (e.g. at 90% of allowed RAM) > - Flush all DWPTs at a high water mark (e.g. at 110%) > - Use linear steps in between high and low watermark: E.g. when 5 DWPTs are used, flush at 90%, 95%, 100%, 105% and 110%. > Should we allow the user to configure the low and high water mark values explicitly using total values (e.g. low water mark at 120MB, high water mark at 140MB)? Or shall we keep for simplicity the single setRAMBufferSizeMB() config method and use something like 90% and 110% for the water marks? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org