-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At some point hitherto, Benjamin Scott hath spake thusly:
> On Fri, 5 Apr 2002, at 11:23pm, Derek D. Martin wrote:
> > For instance, the IMAP server can index the file and cache the results.
> 
>   Already done.  Look in the UW-IMAP documentation (I use the term loosely)  
> for a format that is basically mbox with a persistant index and per-message
> locking.  I *think* it was called MBX, but I could be wrong on that.  This
> is the format the UW people favor.

I've heard of it, but I don't know much about it.  Reading anything
that the UW people wrote gives me a headache...  ;-)  But I suppose I
should go have a look.

Even if you don't use this format, you can implement your own cache
with mbox, which should speed things up drastically.

Another question is how to make your mail system use the other
format...  By default Linux systems (at least Red Hat and Debian) use
mbox.  I hate reading documentation...  :(

> > I'm not so sure about MMIO (seems like it would be a memory hog, but I
> > don't really know that much about MMIO, unfortunately).
> 
>   MMIO just maps a file into virtual memory.  You can basically think of it
> as a transparent wrapper around read() and write() with automatic buffer
> allocation.  The details I'm fuzzy on.  :-)

Well that much I know, but the devil's in the details.  :)  What makes
it faster is it (as I understand it) uses the kernel's own I/O
buffers, rather than copying them into seperate buffers, like the
stdio functions do.

The real question is memory usage, and that's up to the kernel guys.
And as we know, the linux VM implementation has a lot of detractors...
The reason I leave Mozilla up is so it doesn't take 3 days to load
when I want to use it.  The kernel guys effectively squashed that
optimization...  Swapping out my apps in favor of filesystem cache
just seems dumb to me.  I dunno...

> > Since filesystems on Unix systems tend to minimize fragmentation by design
> 
>   Heh!  You've never seen the fragmentation stats on a busy mailspool, then!

Well, I might argue that I have, but it depends on your definition of
busy...  :)  I do wonder though whether mbox vs. maildir has a
significant impact on filesystem fragmentation.  I would suspect that
maildir would be worse...  but I'm just specualting.

- -- 
Derek Martin               [EMAIL PROTECTED]    
- ---------------------------------------------
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8rzqUdjdlQoHP510RAjkyAJ0SmyNW7coXQuDQJxTRAaLz5zpZ/ACdHC2V
+Tem5YfCw0zJaMTRgaCjmRc=
=CkQr
-----END PGP SIGNATURE-----

*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to