<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><div data-crea="font-wrapper" style="font-family: Tahoma; font-size: 16px; direction: ltr"><div style="font-family: Tahoma; font-size: 16px"></div>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 ?<br><br><div></div><br><br><div data-anchor="reply-title">On Wed, Apr 18, 2018 at 02:37 AM, Aki Tuomi <aki.tuomi@dovecot.fi> wrote:</div><blockquote><div><div style="color: #000000;background-color: #FFFFFF">
<br><br><br><div>On 18.04.2018 09:21, Qmail wrote:<br></div>
<blockquote type="cite" cite="mid:0c442a4448244d35e80c7d4153b39df4@al.emailarray.com">
<div data-crea="font-wrapper" style="font-family: Tahoma;font-size: 16px;direction: ltr">Hi, have two quick questions:
<div><br></div>
<div>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:</div>
<div><br></div>
<div>
<div>3 UID SORT (ARRIVAL) US-ASCII OR OR OR FROM "dfgfgfgf"
SUBJECT "dfgfgfgf" TO "dfgfgfgf" CC "dfgfgfgf"</div>
<div>a03 select INBOX</div>
<div>* SORT</div>
<div>3 OK Sort completed (2455.549 + 0.122 + 1.477 secs).</div>
<div><br></div>
<div>Index cache file at the end was 31MB in size: 30756376
Apr 18 02:14 dovecot.index.cache</div>
<div><br></div>
<div>Is that normal, slow or fast ?</div>
<div><br></div>
<div><br></div>
<div>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 ?</div>
<br><br><br><br></div>
</div>
</blockquote>
<br>
Did you try running it twice?<br><br>
Aki<br></div></div></blockquote></div></body></html>