Re: dovecot, maildir, UFS 2 performance

2008-09-24 Thread Laszlo Nagy
#1 maildir stores each message in a separate file. I think I need to dedicate a separate disk slice for maildirs and decrease block size on it. How big should the blocksize be? i have everything (/) on single partition on most of my servers, including those having lots of mail. I don't

Re: dovecot, maildir, UFS 2 performance

2008-09-24 Thread Wojciech Puchar
i have everything (/) on single partition on most of my servers, including those having lots of mail. I don't think that is clever. sysinstall creates different partitions for / but i do. sysinstall and most people and manuals just copy traditions. it's nonsense. Except when my users search

Re: dovecot, maildir, UFS 2 performance

2008-09-24 Thread Ivan Voras
Laszlo Nagy wrote: The secondary task for this server is to be an IMAP and mail server. We will be using dovecot, and shared maildir folders with ten thousands of messages. I'm not sure where to put the maildir folders, and what options to use for the filesystem. Dovecot wiki is not talking

Re: dovecot, maildir, UFS 2 performance

2008-09-24 Thread Daniel Gerzo
Dear Wojciech, On Wed, 24 Sep 2008 09:53:26 +0200 (CEST), Wojciech Puchar [EMAIL PROTECTED] wrote: i have everything (/) on single partition on most of my servers, including those having lots of mail. I don't think that is clever. sysinstall creates different partitions for / but i do.

Re: dovecot, maildir, UFS 2 performance

2008-09-24 Thread Laszlo Nagy
You can treat UFS as ext2/3 with dir_index enabled by default (not exactly but that's what dirhash translates to in practice). UFS by default creates 2k fragments (sub-blocks), so in practice any tuning in this direction won't do much. More drives=better in this case. Don't forget to tune

Re: dovecot, maildir, UFS 2 performance

2008-09-24 Thread Lowell Gilbert
Laszlo Nagy [EMAIL PROTECTED] writes: Wojciech Puchar said: i have everything (/) on single partition on most of my servers, including those having lots of mail. I don't think that is clever. sysinstall creates different partitions for / /usr /var and /tmp by default. There must be good

Re: dovecot, maildir, UFS 2 performance

2008-09-24 Thread Wojciech Puchar
2) keeping problems on one partition from raising trouble on another partition. e.g., filesystem corruption in a home directory keeping the root from being able to boot, or filling up a mail directory keeping people from logging in. today we have live CDs. and - UFS doesn't get totally

Re: dovecot, maildir, UFS 2 performance

2008-09-24 Thread Mel
On Wednesday 24 September 2008 19:49:54 Wojciech Puchar wrote: i said tradition - because very old unix filesystems (25 years ago.. or more) was different and sometimes got totally corrupted. 10 years ago (not 25), news:// was hawt. And created tons on small files, by default on /var/news,

dovecot, maildir, UFS 2 performance

2008-09-23 Thread Laszlo Nagy
I need to install a new server. Primarily it will run apache + PHP + PostgreSQL. Its main task is to serve several websites, and provide web based admin interface for OLTP. The server will have 2xSAS disks in RAID 1 for the base system and 10xSATA2 disks in RAID 1+0 for the rest. The SAS pair

Re: dovecot, maildir, UFS 2 performance

2008-09-23 Thread Wojciech Puchar
dir goes to SATA. The secondary task for this server is to be an IMAP and mail server. We will be using dovecot, and shared maildir folders with ten thousands of messages. I'm not sure where to put the maildir folders, and what options to use for unless you have tens of thousands of mail