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 E71844196F2 for ; Mon, 12 Apr 2010 10:47:55 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -4.2 X-Spam-Level: X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 D69JQS1gzc5k for ; Mon, 12 Apr 2010 10:47:55 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by olra.theworths.org (Postfix) with ESMTP id 4D282431FC1 for ; Mon, 12 Apr 2010 10:47:55 -0700 (PDT) Received: from localhost ([::1] helo=localhost.localdomain) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1O1Njg-00034h-Cw; Mon, 12 Apr 2010 17:47:48 +0000 Received: by localhost.localdomain (Postfix, from userid 500) id E7260C00E4; Mon, 12 Apr 2010 10:47:47 -0700 (PDT) From: Dirk Hohndel To: Stewart Smith , Sebastian Spaeth , Jameson Rollins , Notmuch list Subject: Re: please eat my data! In-Reply-To: <87ljcsr3tu.fsf@willster.local.flamingspork.com> References: <87633wlrrk.fsf@SSpaeth.de> <87tyrgeopc.fsf@servo.finestructure.net> <87iq7wpubw.fsf@SSpaeth.de> <87ljcsr3tu.fsf@willster.local.flamingspork.com> Date: Mon, 12 Apr 2010 10:47:47 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html 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:47:56 -0000 On Mon, 12 Apr 2010 10:14:05 -0700, Stewart Smith wrote: > 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. Which is why so many of us have started to use BTRFS... Much smaller performance degradation when doing frequent fsync's /D -- Dirk Hohndel Intel Open Source Technology Center