22 Sep
2006
22 Sep
'06
1:21 p.m.
Joshua Goodall joshua@roughtrade.net wrote:
The main bottleneck is Postfix spooling before delivery, but I have to generate synthetic mailbombs to make it seriously blink (and I'm still in the "Dovecot probably needs a LMTP speaker someday" camp). We can eliminate even that with /var/spool/postfix on a tmpfs, but I'm unwilling to go that far.
Several years ago I found out that using ext3 with journaled data (data=journal mount option) had very good performance in this case; when spooled mail is delivered before journal is full and file can then be unlinked, filesystem can skip writing to real storage altogether. No slow seeking necessary, just streaming to journal.
-- Antti Salmela