From: | Matthew Kirkwood <matthew(at)hairy(dot)beasts(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: mmap for zeroing WAL log |
Date: | 2001-02-28 10:32:56 |
Message-ID: | Pine.LNX.4.10.10102281030240.14458-100000@sphinx.mythic-beasts.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On Tue, 27 Feb 2001, Tom Lane wrote:
> Matthew Kirkwood <matthew(at)hairy(dot)beasts(dot)org> writes:
> > I had assumed that the overhead would come from synchronous
> > metadata incurring writes of at least the inode, block bitmap
> > and probably an indirect block for each syscall.
>
> No Unix that I've ever heard of forces metadata to disk after each
> "write" call; anyone who tried it would have abysmal performance.
> That's what fsync and the syncer daemon are for.
My understanding was that that's exactly what ffs' synchronous
metadata writes do.
Am I missing something here? Do they jsut schedule I/O, but
return without waiting for its completion?
Matthew.
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Schindler | 2001-02-28 11:05:04 | Re: stuck spinlock |
Previous Message | Denis Perchine | 2001-02-28 08:17:53 | Re: Database Internals Presentation |
From | Date | Subject | |
---|---|---|---|
Next Message | Li Min Liu | 2001-03-03 05:56:43 | chinese_big5 patches for PgAccess |
Previous Message | Tom Lane | 2001-02-27 22:25:03 | Re: mmap for zeroing WAL log |