Re: [Dovecot] Slow header fetching rate over nfs mailspool.

2008-01-24 Thread Timo Sirainen
On Thu, 2008-01-24 at 13:05 +0800, Dino Ming wrote: > Hi Timo, > > I did a test with manully perform ls a hunderd times on the > /dap/mstorage/example.com/dino/Maildir/cur > > but the response is very fast and without the strange delay like > inside dovecot. They're the same syscalls. I've no

Re: [Dovecot] Slow header fetching rate over nfs mailspool.

2008-01-23 Thread Dino Ming
Hi Timo, I did a test with manully perform ls a hunderd times on the /dap/mstorage/example.com/dino/Maildir/cur but the response is very fast and without the strange delay like inside dovecot. With 558 emails inside the cur directory. The time to execute the ls is just real0m0.061s u

Re: [Dovecot] Slow header fetching rate over nfs mailspool.

2008-01-23 Thread Timo Sirainen
On Thu, 2008-01-24 at 00:18 +0800, Dino Ming wrote: > open("/dap/mstorage/example.com/dino/Maildir/cur", O_RDONLY| > O_NONBLOCK|O_DIRECTORY) = 8 <0.98> .. > getdents64(8, /* 114 entries */, 8192) = 8128 <0.347680> > getdents64(8, /* 113 entries */, 8192) = 8136 <1.385329> > getdents64(8, /* 1

Re: [Dovecot] Slow header fetching rate over nfs mailspool.

2008-01-23 Thread Timo Sirainen
On Wed, 2008-01-23 at 17:39 +0800, Dino Ming wrote: > 17:19:31.726127 fstat(11, {st_mode=S_IFREG|0600, st_size=2263, ...}) = 0 > 17:19:31.726193 pread(11, "Return-path: <[EMAIL PROTECTED]>\nE"..., > 4096, 0) = 2263 > 17:19:38.973282 pread(11, "", 1833, 2263) = 0 Is it spending 7 seconds trying t