Re: Linux max on shared buffers? - Mailing list pgsql-general

From Curt Sampson
Subject Re: Linux max on shared buffers?
Date
Msg-id Pine.NEB.4.44.0207111745300.436-100000@angelic.cynic.net
Whole thread Raw
In response to Re: Linux max on shared buffers?  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Linux max on shared buffers?  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
On Thu, 11 Jul 2002, Martijn van Oosterhout wrote:

> Hmm, what about OS's that swap shared memory to disk. Wouldn't that change
> things somewhat?

It just makes things worse. Paging a buffer to disk does the I/O you
were trying not to do.

> Probably more in favour of giving more memory to the OS.

Yup.

> The other possibility would be to use mmap instead. That way you avoid the
> double buffering altogether. Do you have any ideas about that?

On this page

    http://archives.postgresql.org/pgsql-hackers/2002-06/threads.php

there's a thread about "Buffer management", and I have some posts to that
about using mmap. Unfortunately, I can't point out the exact posts, because
the php that's generating these pages is probably missing an end table
tag, and so the pages render as completely blank on Linux Netscape 4.78.

cjs
--
Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.netbsd.org
    Don't you know, in this new Dark Age, we're all light.  --XTC


pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Linux max on shared buffers?
Next
From: Andres Ledesma
Date:
Subject: about middleware over postgreSQL....