Comparing Indexing Speed + ZFS question

Qmail qmail at top-consulting.net
Wed Apr 18 09:49:28 EEST 2018


Yes, the second time it obviously runs very very fast ( under 1 sec ), but I wanted to compare indexing speeds when there is no index present. Anyone has some numbers ?
On Wed, Apr 18, 2018 at 02:37 AM, Aki Tuomi  wrote: 
On 18.04.2018 09:21, Qmail wrote:
  Hi, have two quick questions: 
I am re-indexing some large mailboxes and I wanted to get some opinions on these speeds. I ran a random sort command on an unindexed mailbox in order to get it to index. Results, for a mailbox with 10GB Inbox, spread in 65 000 files: 
3 UID SORT (ARRIVAL) US-ASCII OR OR OR FROM "dfgfgfgf" SUBJECT "dfgfgfgf" TO "dfgfgfgf" CC "dfgfgfgf" 
a03 select INBOX 
* SORT 
3 OK Sort completed (2455.549 + 0.122 + 1.477 secs). 
Index cache file at the end was 31MB in size: 30756376 Apr 18 02:14 dovecot.index.cache 
Is that normal, slow or fast ? 
Second question is, how can I speed this up ? I store messages using Director over NFS , on top of ZFS. From what I've read it would be fairly safe to disable mail_fsync but I don't think that would help much with the indexing speed. Any other tips ? 
 Did you try running it twice?

 Aki
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180418/e903b1fa/attachment-0001.html>


More information about the dovecot mailing list