Re: [pgsql-hackers-win32] fsync with sync, and Win32 unlink

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [pgsql-hackers-win32] fsync with sync, and Win32 unlink
Date: 2004-03-11 19:01:05
Message-ID: 87vflb5hu6.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32


Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:

> This seems, um, hard to believe. Did he shut down the standard syncer
> daemon? I have never seen a Unix system that would allow more than
> thirty seconds' worth of unwritten buffers to accumulate, and would not
> care to use one if it existed.

Well it was Solaris so it didn't have the BSD 30s sync style strategy. But
this was a large NFS file transfer to another host on a 100Mb/s network. In
30s there could be a lot of writes buffered up.

I'm not saying the behaviour was ideal, and I don't know exactly why it
interfered with anything else. But I'm not entirely surprised either.

--
greg

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-03-11 19:07:24 Re: Default Stats Revisited
Previous Message David Smith 2004-03-11 18:54:29 Re: creating index on changed field type

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruce Momjian 2004-03-12 04:17:35 Re: Thanks for the great work on the Win32 port
Previous Message Tom Lane 2004-03-11 18:46:41 Re: [pgsql-hackers-win32] fsync with sync, and Win32 unlink