X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=performance.mdwn;h=250b07d78d8c39686d2146d762a797839251f110;hb=0364b91f49267bb59ef4a70f78114673f9b3efb0;hp=b95868987d20c7e1aa5b377a0e8411ed4ec7985d;hpb=8dd999485b28111a872ca56371eae9a0face3944;p=notmuch-wiki diff --git a/performance.mdwn b/performance.mdwn index b958689..250b07d 100644 --- a/performance.mdwn +++ b/performance.mdwn @@ -3,6 +3,18 @@ [[!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 @@ -96,8 +108,8 @@ Remove old and renamed compacted, if compacting went well: ### More information about this in the email archives: -* [Carl Worth](http://notmuchmail.org/pipermail/notmuch/2010/001105.html) +* [Carl Worth](https://notmuchmail.org/pipermail/notmuch/2010/001105.html) -* [Sebastian Spaeth](http://notmuchmail.org/pipermail/notmuch/2011/004048.html) +* [Sebastian Spaeth](https://notmuchmail.org/pipermail/notmuch/2011/004048.html) -* [Pieter Praet](http://notmuchmail.org/pipermail/notmuch/2011/004175.html) +* [Pieter Praet](https://notmuchmail.org/pipermail/notmuch/2011/004175.html)