Indexing Mail faster
Thomas Leuxner
tlx at leuxner.net
Thu Jan 29 08:20:24 UTC 2015
* Peter Hodur <petehodur at gmail.com> 2015.01.29 05:25:
> > With a current version of Dovecot a search is pretty fast _without_ using
> > external indexes. I have a view defined (virtual plugin) with around 22.000
> > messages in it, and searching the full view only takes 2.5 seconds:
> >
> >
> hmmm, could you please tell me more about your setup? What storage format
> do you use? Maildir or? What is the cumulative size of your messages?
Although the question was not formatted/quoted correctly I guess it is more towards myself as it explicitely speaks of a non-FTS setup:
$ dmesg | grep smpboot
[ 0.000000] smpboot: Allowing 64 CPUs, 56 hotplug CPUs
[ 0.148600] smpboot: CPU0: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz (fam: 06, model: 3c, stepping: 03)
[ 0.300030] smpboot: Total of 8 processors activated (52677.72 BogoMIPS)
The volume providing the mail root is using ext4 on an MD mirror (with CRYPT and LVM overhead):
$ lsblk
[...]
└─sda3 8:3 0 ... 0 part
└─md2 9:2 0 ... 0 raid1
└─crypt1 (dm-0) 253:0 0 ... 0 crypt
└─vg0-vmail (dm-11) 253:11 0 ... 0 lvm /var/vmail
$ doveconf -n | head -3
# 2.2.15 (7557234ac0f4): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.6
# OS: Linux 3.16.0-0.bpo.4-amd64 x86_64 Debian 7.8
I'm using unspectacular 7,200rpm SATA drives and mdbox.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20150129/14268a47/attachment.sig>
More information about the dovecot
mailing list