Re: Pre-allocation of shared memory ...

From: "Jeroen T(dot) Vermeulen" <jtv(at)xs4all(dot)nl>
To: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Pre-allocation of shared memory ...
Date: 2003-06-13 19:18:51
Message-ID: 20030613191851.GO31141@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jun 13, 2003 at 12:32:24PM -0400, Lamar Owen wrote:
>
> Incidentally, Red Hat as of about 7.0 began insisting on swap space at least
> as large as twice RAM size. In my case on my 512MB RAM notebook, that meant
> it wanted 1GB swap. If you upgrade your RAM you could get into trouble. In
> that case, you create a swap file on one of your other partitions that the
> kernel can use.

RedHat's position may be influenced by the fact that, AFAIR, they use
the Rik van Riel virtual memory system which is inclusive--i.e., you need
at least as much swap as you have physical memory before you really have
any virtual memory at all. This was fixed by the competing Andrea
Arcangeli system, which became standard for the Linux kernel around
2.4.10 or so.

Jeroen

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 2003-06-13 19:29:03 Re: Pre-allocation of shared memory ...
Previous Message Dennis Gearon 2003-06-13 18:22:05 Re: [HACKERS] SAP and MySQL ... [and Benchmark]