Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 2020 15:21:07 -0400
From:      Mason Loring Bliss <mason@blisses.org>
To:        mike tancsa <mike@sentex.net>, Ronald Klop <ronald-lists@klop.ws>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Maildir on ZFS
Message-ID:  <20200829192107.GE6456@blisses.org>
In-Reply-To: <op.0p3q7aqbkndu52@sjakie> <d706f31b-1381-8091-e7b3-e34fcb1e3d81@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--0QFb0wBpEddLcDHQ
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 28, 2020 at 06:45:00PM -0400, mike tancsa wrote:

> But I tried on a very busy sftp server where some directories had
> 500,000+ files in them.=A0 It didnt seem to make a difference performance
> wise for me, at least when fiddling with min cache sizes etc.

That's encouraging. I guess that's the anwer - try it and see if there are
any observable issues. I've seen lots of complaints about IMAP on IRC and
vague noises when searching online, but nothing definitive. Maybe there is
nothing definitive.


On Sat, Aug 29, 2020 at 10:29:24AM +0200, Ronald Klop wrote:

> It depends on the clients also. Do they retrieve mail once, store it
> locally and only check the server for updates, than metadata might be
> enough, but if it is mostly webmail clients which retrieves the same mail
> multiple times, than caching data is probably beneficial.

It's mostly Mutt and Thunderbird. I'm not wholly familiar with what
Thunderbird does, but Mutt just caches headers and looks for changes.


> But it also depends on the amount of data you store on what medium
> (HDD/SSD/RAID) and how much memory your server has.

Hm? RAID? This'll be ZFS mirrors for this application. Everything I run is
either a mirror or raidz2 lately. Lots of memory. Spinning rust. Just ZFS
and imapd running in a jail, where the jail has one dataset to itself and
doesn't important anything over the network.


> NB: Maildir is very (Z)FS friendly by having a lot of static data on disk.
> Dovecot creates some indices for fast retrieval of metadata.

It'll almost certainly be Dovecot, and that sounds encouraging. (I used to
run Courier stuff and that's often tempting, but Dovecot has been pain-free
for years now.)


> The other advice is: test your own system. In the other reply I saw advice
> about how to look at cache statistics. ZFS is very fast without tuning
> already.

Yar. I was mostly wondering if there were any obvious pitfalls or things
that I'm very likely to hit, but it looks like there probably aren't.

Once I've got things migrated and seen it in action I'll gather some data
and share my results.


Thank you both for your input.

--=20
Mason Loring Bliss    mason@blisses.org
They also surf, who only stand on waves.

--0QFb0wBpEddLcDHQ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEEXtBZz1axB5rEDCEnrJXcHbvJVUFAl9Kqp4ACgkQnrJXcHbv
JVWK2A//UbqmCHK2nCBpJIRGw3BdtLjWg2NnpNQcT44oZ87scMtetBfSOfwHJk5a
xF7iTkYZhOrD7S/jlPHxyK6wo4Y+bfT+oxmMaRMAdgylQ1OXeeFWlBty449Ah2iA
4OKs3A6z7AnuAUzOBbxWOtCUjT3suvlDLTgHSWtDrvYgQdLT/5q7yN4N9dNkNSFb
xcbR4zwVJMnOn2xNxP9DrIHAAiIHmMT56z0wBlgswuHkCRff0jB465DM8BnGDNhK
U4/nVpfeB6aV5EA2xT/8ULSVFdy4r9Ge+sDnFEVIDK6G7oZfZticBlvZW0KvG4MX
0jWlqBbnTy1tyL7F+Yg/R6Ir4Tlj6ijfpJhet0XVZ1FkKVhlAHmW9tgF3ePFkKuV
EpLNBZjtVcz4FnrtKtxhNon28RyoMBN0L9Gl+PWMmIr3EjXuhCVrJtthhNzgEdkd
u6IkNsLkaGTdCh+ZQ/oDwrHTBvxtJT1pZWvBuGPgC4n2nnd3UBeUd2+liOIAt3lu
DnXZPIOPQeVk6Hz25mn/HCHv8dnZiKbTKVshomWC5wg599Fd7TTCRBkUpnSb5n5Q
jS3YDqTzs3AkAmK1aiaFpNOiH3++Vw4bFP6f4KBYk1iHZZOPHU1kLoIeOE5p6kPY
kY9ZyJyFoIvUTsBfL8vYCB0TwW0Xj0iw4w4ROrj6qE5ejZ4iBmg=
=8/XQ
-----END PGP SIGNATURE-----

--0QFb0wBpEddLcDHQ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200829192107.GE6456>