Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id CADF14196F2 for ; Mon, 12 Apr 2010 10:14:07 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_40=-0.001] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XKmjMpPS-kEz for ; Mon, 12 Apr 2010 10:14:07 -0700 (PDT) Received: from kaylee.flamingspork.com (kaylee.flamingspork.com [74.207.245.61]) by olra.theworths.org (Postfix) with ESMTP id 33838431FC1 for ; Mon, 12 Apr 2010 10:14:07 -0700 (PDT) Received: from willster (localhost [127.0.0.1]) by kaylee.flamingspork.com (Postfix) with ESMTPS id 4071F6396; Mon, 12 Apr 2010 17:08:56 +0000 (UTC) Received: by willster (Postfix, from userid 1000) id ABAF910A9565; Tue, 13 Apr 2010 03:14:05 +1000 (EST) From: Stewart Smith To: Sebastian Spaeth , Jameson Rollins , Notmuch list Subject: Re: please eat my data! In-Reply-To: <87iq7wpubw.fsf@SSpaeth.de> References: <87633wlrrk.fsf@SSpaeth.de> <87tyrgeopc.fsf@servo.finestructure.net> <87iq7wpubw.fsf@SSpaeth.de> Date: Mon, 12 Apr 2010 10:14:05 -0700 Message-ID: <87ljcsr3tu.fsf@willster.local.flamingspork.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2010 17:14:07 -0000 On Mon, 12 Apr 2010 17:24:35 +0200, "Sebastian Spaeth" wrote: > What I find intersting is that we have a 2x speedup and a 10x speedup > for different queries. Olly was saying on IRC that both *should* really be > behaving in much the same manner. Remember that on ext3 (and pretty sure ext4) fsync is the same as sync(). So performance depends on how much dirty data you have in your cache. libeatmydata also gets rid of msync(), O_SYNC etc as well. -- Stewart Smith