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 E2C9A429E26 for ; Thu, 28 Jul 2011 10:29:51 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled 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 4TFuNML8OuGe for ; Thu, 28 Jul 2011 10:29:51 -0700 (PDT) Received: from seamus.madduck.net (seamus.madduck.net [213.203.238.82]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id DC720429E25 for ; Thu, 28 Jul 2011 10:29:50 -0700 (PDT) Received: from fishbowl.rw.madduck.net (unknown [IPv6:2001:41b8:203:dc11:224:d7ff:fe04:c82c]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "fishbowl.rw.madduck.net", Issuer "CAcert Class 3 Root" (verified OK)) by seamus.madduck.net (postfix) with ESMTPS id A947F4434F0; Thu, 28 Jul 2011 19:29:35 +0200 (CEST) Received: by fishbowl.rw.madduck.net (Postfix, from userid 1000) id F017220052; Thu, 28 Jul 2011 19:29:33 +0200 (CEST) Date: Thu, 28 Jul 2011 19:29:33 +0200 From: martin f krafft To: "Aneesh Kumar K. V" , Ben Gamari , Olly Betts , notmuch@notmuchmail.org Subject: Re: [notmuch] Notmuch performance (literally, in my case) Message-ID: <20110728172933.GA20173@fishbowl.rw.madduck.net> Mail-Followup-To: "Aneesh Kumar K. V" , Ben Gamari , Olly Betts , notmuch@notmuchmail.org 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/04w6evG8XlLl3ft" Content-Disposition: inline In-Reply-To: <20100316180052.GA6600@piper.oerlikon.madduck.net> X-Motto: Keep the good times rollin' X-OS: Debian GNU/Linux wheezy/sid kernel 3.0.0-1-amd64 x86_64 X-Spamtrap: madduck.bogus@madduck.net X-Subliminal-Message: debian/rules! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.1 at seamus X-Virus-Status: Clean 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: Thu, 28 Jul 2011 17:29:52 -0000 --/04w6evG8XlLl3ft Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable also sprach martin f krafft [2010.03.16.1900 +0100]: > I use ext4 with data=3Dordered, and while notmuch is writing the > Xapian database, most I/O stalls on the machine: >=20 > - Firefox does not get any mouse events > - Vim blocks writing the viminfo file > - All disk operations queue for multiple seconds. >=20 > 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. I just wanted to send a little update on this. Even though the Linux I/O scheduler performs abysmally during the Xapian database updates, I can report two improvements, at least to my situation: 1. The 3.0 kernel seems to be better, but I did not quantify this in any way, and I might just as well be wrong. 2. http://bugs.debian.org/635768 explains the (also I/O-related) lockups we've seen. Micah offered the tip that the actual fault lies with the awesome WM. Cheers, --=20 martin | http://madduck.net/ | http://two.sentenc.es/ =20 "writing a book about debian is like hitting a moving target with a champagne bottle cork." -- arky =20 spamtraps: madduck.bogus@madduck.net --/04w6evG8XlLl3ft Content-Type: application/pgp-signature; name="digital_signature_gpg.asc" Content-Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQLvBAEBCgDZBQJOMZx9wBEaaHR0cDovL21hcnRpbi1rcmFmZnQubmV0L2dwZy9z aWctcG9saWN5LzU1Yzk4ODJkOTk5YmJjYzQvMjAxMTAxMjQxMTI1P3NoYTUxMnN1 bT0xY2FkOTZmZDI3ZDMyMzNmNTNlMjI4NDk1MzM2NDgxMDdlNWVlOGQ1YmU2NTUy NTFkNzRjOGYxYzVjM2JjNDJmMjMwNGZhNTE1MTUwZjdiZDRkZDA1ZTk4MTk5MjRm MDQ5NTEzZWU5OTYyY2E3MTcwOWY4MWQ5NDUxNTg1MmJkOAAKCRBVyYgtmZu8xDgf EAC58AitiSPQD49J+TpkeELYiU1f9X0A7Rg6uSzvG5i2aEJhILp1YIBUC4UivP8m Yx49N4m0FpQl9Q7NscWiY+QczOm25WLpgn6TLOL2cD3fUhsYBxHeolZ50XW3RYLv uL5YvzkeJUTWzyF9cNCZAQVfm1p5lGngJsQkYwq95KWFIsgo3SHb2/o9yM70Kgpe PhWZcQKT6UQYxBpMuh2SgvzwG6d2Cie1u8bxu2zVAxlAmirD/GzJVwmgvOcP38SF tO8ezKsoWGFDA0hzk2LF5JClYgjA7zx8UA4SB0EpplSr/lKbmsUyzp0atspK66rc jsVQKWxg5ePeSw/9Aok0ChbkJtjON+rx0OyKmB9l0CLZ08JfZOtCiqKnZrTQGqYj SEdu/AHEGt4R9zAiCN4VNuNpLzc8vrVLIVt9O8r+Iucwqi6qOgfeX2KQOIpiDiaV blQHzgPMsfpUcUTVIgTrTHp/tuOnPuWy3mD+FRfIM8BRONn/gfPQcZjueIc7YO3r pxUnIKVyYn7ktfd3lNrefkqq9OCan4bS91tepdRVBQ7m97utlDPWgRTExNG8331R sjUsG7qCLDovB/rywAAGzguhzYkR9Voqe3uwuHPBISQqvxRMS/IugJ6ZTGqSFnyp 6pOVyD6u/pjqHQYbogOg8eBMG/3Govufb4hVcIAPVlSzUw== =v/lU -----END PGP SIGNATURE----- --/04w6evG8XlLl3ft--