Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6BD24ECEC for ; Thu, 6 Dec 2012 13:22:45 +0000 (UTC) Received: (qmail 90687 invoked by uid 500); 6 Dec 2012 13:22:43 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 90039 invoked by uid 500); 6 Dec 2012 13:22:38 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 89994 invoked by uid 99); 6 Dec 2012 13:22:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2012 13:22:36 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,HTML_OBFUSCATE_05_10,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ravikumar.govindarajan@gmail.com designates 209.85.219.48 as permitted sender) Received: from [209.85.219.48] (HELO mail-oa0-f48.google.com) (209.85.219.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2012 13:22:31 +0000 Received: by mail-oa0-f48.google.com with SMTP id h2so7143677oag.35 for ; Thu, 06 Dec 2012 05:22:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ek0T1OdYzrhW8qpCspDm9U2rT1fFlsNIg1YlH2aq7Q0=; b=t5FijU5eeifRtmgfDsukM3eAMgl8qukFeRTCQHFSbRQ3LJoXOlIOiDJ4uR53l7Belo DuJPjEe7gQXrNmE8lrj/1X+xGE+kRUzXaOfmgJbyKxA97/FrvtAtSEeMgR5N3v3WJK+u PRRcxehQ9Mypu3Ezvml64SMaJops8OlLBNvO18Pvc1tJOdonXjYRGeukrCu1m8cGBpXR 3scIC2cxvN2R84fiz62jh8AE7cPwBMI+CawR6ubjUZaOohXopF6WoXj+J5oAFagsOvFX k05VYd6KetFwG42xoHRGSvFcNk27wBZtE3fvFjbfVJHJ11eSM1aM9b1pP57CkWbjKUSC nd9A== MIME-Version: 1.0 Received: by 10.60.31.49 with SMTP id x17mr820509oeh.33.1354800130580; Thu, 06 Dec 2012 05:22:10 -0800 (PST) Received: by 10.182.97.106 with HTTP; Thu, 6 Dec 2012 05:22:10 -0800 (PST) Date: Thu, 6 Dec 2012 18:52:10 +0530 Message-ID: Subject: Segment Merges and madvise From: Ravikumar Govindarajan To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=e89a8fb1ffc4865f4904d02efc9c X-Virus-Checked: Checked by ClamAV on apache.org --e89a8fb1ffc4865f4904d02efc9c Content-Type: text/plain; charset=ISO-8859-1 I went through the blog at http://blog.mikemccandless.com/2010/06/lucene-and-fadvisemadvise.html for a detailed description on segment merge effects on IO Cache. As the comment section clarifies, SEQUENTIAL advise has been implemented correctly from kernel 2.6.29 upwards. But we don't have the SEQUENTIAL impl, only the O_DIRECT impl. Can newer kernel versions use SEQUENTIAL for lucene segment merges? Are there other factors in play here, that lucene is not implementing it. -- Ravi --e89a8fb1ffc4865f4904d02efc9c--