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 BFA7F404947 for ; Tue, 16 Mar 2010 12:18:44 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.98 X-Spam-Level: X-Spam-Status: No, score=-1.98 tagged_above=-999 required=5 tests=[AWL=0.619, BAYES_00=-2.599] 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 C8WauzKDRzyQ for ; Tue, 16 Mar 2010 12:18:41 -0700 (PDT) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by olra.theworths.org (Postfix) with ESMTP id 5A5B6404944 for ; Tue, 16 Mar 2010 12:18:41 -0700 (PDT) Received: by fxm10 with SMTP id 10so294038fxm.30 for ; Tue, 16 Mar 2010 12:18:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:subject :to:cc:in-reply-to:references; bh=+jE53o26VTvBu97T9XlBaWsVCc4ePEcPOKgl536kt5Q=; b=I03+leyAu413vGGsCdaysDkOltOt/RV+qfMcNMY/k9kaoYcek7XncBn4oRFAav52js EArO1T4Q4PEyZqZsB+uHsdhVwQDTV8/kvY2FCSDHfPvmVfvCNvIC05lCGoUCgzCspnW6 vasYRrX638t5A0AVmzEjx8j+71fcnhK6wl6S8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:subject:to:cc:in-reply-to:references; b=be0FJkKpi48rG6AVNNIyWUp7GCLIGB+nNo8zx4tJvMBRpXC+yTAqnE8MmJX1u+33l5 S9NKbPFgojXlE3lco57Q3Hv0LFbVF91tt0h92Niv6DGtzx5nTxEwcN9QFRByNLkX5vN0 WiEH8pnOdkAjoIbhJ/Xn8gzIpi7bIOR2E8gjg= Received: by 10.87.70.26 with SMTP id x26mr855044fgk.10.1268767120014; Tue, 16 Mar 2010 12:18:40 -0700 (PDT) Received: from localhost (pool-74-106-78-129.spfdma.east.verizon.net [74.106.78.129]) by mx.google.com with ESMTPS id l12sm961886fgb.7.2010.03.16.12.18.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Mar 2010 12:18:39 -0700 (PDT) Message-ID: <4b9fd98f.0c58560a.205a.0a38@mx.google.com> Date: Tue, 16 Mar 2010 12:18:39 -0700 (PDT) From: Ben Gamari To: martin f krafft , "Aneesh Kumar K. V" In-Reply-To: <20100316180052.GA6600@piper.oerlikon.madduck.net> References: <4b9dccc0.c6c1f10a.3671.44ec@mx.google.com> <20100315090401.GA29891@glaive.weftsoar.net> <4b9e6e80.09b6660a.6769.6832@mx.google.com> <20100316110846.GK10323@survex.com> <4b9fa5d2.0a4d5e0a.0c0b.ffffdcbb@mx.google.com> <87mxy8chvq.fsf@linux.vnet.ibm.com> <20100316180052.GA6600@piper.oerlikon.madduck.net> Cc: Olly Betts , notmuch@notmuchmail.org Subject: Re: [notmuch] Notmuch performance (literally, in my case) 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: Tue, 16 Mar 2010 19:18:44 -0000 On Tue, 16 Mar 2010 19:00:52 +0100, martin f krafft wrote: > I use ext4 with data=ordered, and while notmuch is writing the > Xapian database, most I/O stalls on the machine: > > - Firefox does not get any mouse events > - Vim blocks writing the viminfo file > - All disk operations queue for multiple seconds. > > So no, ext4 is not a solution. Is it just me, or should no > filesystem of this world be able to hog a system this badly? I think > the culprit is the IO-scheduler. > In my uninformed opinion, I think it more likely that the dominant factor is the page reclaim code. Even noop scheduling is pretty bad. - Ben