On Monday 08 June 2015 02:45:52 Marcus Rueckert wrote:> IMHO ... Maildir is a better format.Really? I do not think so! Having half of million (small) files in one directory is killer... which eats caches and slow down access time. Even listing such directory (without reading file contents) consume lot of CPU cycles... PS: I'm not subscribed to this list, so please CC me! -- Pali Roh?r pali.rohar at gmail.com
On 2015-06-08 14:48:12 +0200, Pali Roh?r wrote:> On Monday 08 June 2015 02:45:52 Marcus Rueckert wrote: > > IMHO ... Maildir is a better format. > > Really? I do not think so! Having half of million (small) files in one > directory is killer... which eats caches and slow down access time. > Even listing such directory (without reading file contents) consume lot > of CPU cycles...so what? 1. modern filesystems 2. dovecot's caching 313k mails in single mailbox and no problems at all.> PS: I'm not subscribed to this list, so please CC me!you should change that. it isnt that high traffic. or use the imap access provided here: http://www.dovecot.org/mailinglists.html -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
On Monday 08 June 2015 23:06:26 Marcus Rueckert wrote:> On 2015-06-08 14:48:12 +0200, Pali Roh?r wrote: > > On Monday 08 June 2015 02:45:52 Marcus Rueckert wrote: > > > IMHO ... Maildir is a better format. > > > > Really? I do not think so! Having half of million (small) files in > > one directory is killer... which eats caches and slow down access > > time. Even listing such directory (without reading file contents) > > consume lot of CPU cycles... > > so what? > > 1. modern filesystems > 2. dovecot's caching > > 313k mails in single mailbox and no problems at all. >Still I want read/write access to storage and want to use mbox as storage (also for easier backup and copy)... And my question was how to properly read and write from/to mbox files which are used by dovecot. -- Pali Roh?r pali.rohar at gmail.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part. URL: <http://dovecot.org/pipermail/dovecot/attachments/20150608/8943219f/attachment-0001.sig>