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 572C8431FBD for ; Thu, 24 Jul 2014 12:50:10 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -3.14 X-Spam-Level: X-Spam-Status: No, score=-3.14 tagged_above=-999 required=5 tests=[RCVD_IN_BL_SPAMCOP_NET=1.246, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_WEB=0.614] 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 Sz+fTV6Tx0qR for ; Thu, 24 Jul 2014 12:50:03 -0700 (PDT) Received: from fencepost.gnu.org (fencepost.gnu.org [208.118.235.10]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 637D3431FAF for ; Thu, 24 Jul 2014 12:50:03 -0700 (PDT) Received: from [46.20.46.153] (port=44724 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1XAP1W-0005Wk-VV; Thu, 24 Jul 2014 15:49:56 -0400 Date: Thu, 24 Jul 2014 23:49:46 +0400 From: Dmitry Bogatov To: Austin Clements Subject: Re: Notmuch new speed degradation Message-ID: <20140724194946.GA4724@localhost> References: <20140724081916.GA32474@localhost> <20140724143214.GA13893@mit.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline In-Reply-To: <20140724143214.GA13893@mit.edu> X-Haskell-Quote: IO String contains a String in the same way that /bin/ls contains a list of files Organization: Church of GNU X-Perfect-World: There should be one -- and preferably only one -- obvious way to do it. User-Agent: Mutt/1.5.22.1 (2013-10-16) Cc: notmuch@notmuchmail.org 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, 24 Jul 2014 19:50:10 -0000 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Austin Clements [2014-07-24 10:32:14-0400] > Hi Dmitry. My guess is that's you've exceeded your OS buffer cache > size by enough that most B-tree reads are going to disk at least once. > How big is your database (du -h $MAIL/.notmuch/xapian) and what does > free -h report on that computer? Also, is this on an SSD or an HDD? 13Gb on HDD, 9G after compact. Compact did not improved indexing speed, unfortunately. Maybe it is possible to somehow merge databases? total used free shared buffers cached Mem: 7,7G 6,5G 1,2G 240M 826M 3,6G -/+ buffers/cache: 2,1G 5,6G Swap: 1,9G 66M 1,8G -- Best regards, Dmitry Bogatov , Free Software supporter, esperantisto and netiquette guardian. GPG: 54B7F00D --jI8keyz6grp/JLjh Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJT0WNaAAoJEHiL4BJUt/ANuq0P/RQL9FphQmTTcYcGokscxhHx W/wynCkUGQE1NAVvfmKWHM2xeAxXENdpDNOW23+wvRi59V+O3vS+zYbJppjvoq8d DyaBaZ7gJQRslZ21QZrvO7Ww8kRGKRKX4eX60N/99Iw97sMRDiONlsuPLfaCidVs 6QiEQVj9XsCctQ2mOKMhSu+U0LzBohwpL2QYjyduCP3KyNnv9XfH8eBgnhVI2neM 6WB0D8Tc8tmV7CtLhjqzzu83TJ/qrQ6Cc/umDtcAZKH7lujFGA8r5EhMUUAEz9RO FjRE8pTHcvAZQMTjogtai5YWgYI42NPG7rhB+SdmwsHi/obTRH5GIRhcV4LaseG6 vTYRiakirhGQI2b0qcry8Jp4t3lIEUIrzp+ujm6Zo/PDonlAi2FWSrzXMHixoLz4 Q8F5BQLEWo0ZNnY6uFKBZgR7F6InLU6alQigb2bn8FSYvRQblV01DWZVGZcSqprO twSEJ5t1X5pfQu/2OarG28ea+JtcXxyu2hrD9j0GvOQ0w6vNfgPCh8jI5jkUq32m TtFAI5N+C8mK5vNzMVscvsHNRuRYA4JB7kCUGpOfgfwExJH494FUi/shCH4iWOwP o7lDpb7+8090RC09lUPh/j+GwLxoWLScaFBSSSUmEjujGq4ba+69JWQ7UZRRE++e a4QgxvzGMoX9fKyYvPOm =GY6e -----END PGP SIGNATURE----- --jI8keyz6grp/JLjh--