summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Bisson <bjonnh@bjonnh.net>2014-12-01 14:55:44 -0600
committerJonathan Bisson <bjonnh@bjonnh.net>2014-12-01 14:55:44 -0600
commit90029dcbc835ab0c5f6de711ec60ab912adb918e (patch)
tree79bf7731c348b5a6d95849851f621fdda9f01536
parent20195ea8b2f71240d88ead910f5326e61d49a09b (diff)
Add a performance comment about the use of ecryptfs
-rw-r--r--performance.mdwn12
1 files changed, 12 insertions, 0 deletions
diff --git a/performance.mdwn b/performance.mdwn
index b958689..a6d7f2e 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