X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=performance.mdwn;h=a6d7f2e84c465e6b384652c4a2aaa6e2b8655af6;hb=dbbbcf531e21ec9743e7d25f6fe12147b3b7b7c7;hp=4adb946bf77086aa263b560b3b023829af76823c;hpb=02404d2354e769c1666cc83dae7909f9efea9e85;p=notmuch-wiki diff --git a/performance.mdwn b/performance.mdwn index 4adb946..a6d7f2e 100644 --- a/performance.mdwn +++ b/performance.mdwn @@ -1,7 +1,20 @@ +[[!img notmuch-logo.png alt="Notmuch logo" class="left"]] # Optimize notmuch's performance [[!toc levels=2]] +## Use of ecryptfs slows notmuch down. + +I noticed that my `notmuch new` was really slow (several minutes) for +less then 20 new emails (around 20K in my database). + +The performance tests in the notmuch source didn't show any real +issue, even on a non-encrypted ext4 fs. + +After investigation and running different tests, a switch to a +LUKS-btrfs based filesystem to replace the ext4-ecryptfs resolved the +issue. It now takes some seconds to index hundreds of messages. + ## Xapian 1.2.x database format: chert vs. flint Xapian 1.2 (in contrast to 1.0.x) uses a new database format called