Re: Increasing RAM for more than 4 Gb. using postgresql

From: "Nicolai Petri (lists)" <lists(at)petri(dot)cc>
To: "William Yu" <wyu(at)talisys(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Increasing RAM for more than 4 Gb. using postgresql
Date: 2005-01-18 13:04:45
Message-ID: 011901c4fd5e$4b465470$63070080@freedom
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

This must be a linux'ism because to my knowledge FreeBSD does not keep the
os-cache mapped into the kernel address space unless it have active objects
associated with the data.

And FreeBSD also have a default split of 3GB userspace and 1GB. kernelspace
when running with a default configuration. Linux people might want to try
other os'es to compare the performance.

Best regards,
Nicolai Petri

Ps. Sorry for my lame MS mailer - quoting is not something it knows how to
do. :)
----- Original Message -----
From: "William Yu" <wyu(at)talisys(dot)com>

>I inferred this from reading up on the compressed vm project. It can be
>higher or lower depending on what devices you have in your system --
> however, I've read messages from kernel hackers saying Linux is very
> aggressive in reserving memory space for devices because it must be
> allocated at boottime.
>
>
>
> Josh Berkus wrote:
>> William,
>>
>>
>>>The theshold for using PAE is actually far lower than 4GB. 4GB is the
>>>total memory address space -- split that in half for 2GB for userspace,
>>>2GB for kernel. The OS cache resides in kernel space -- after you take
>>>alway the memory allocation for devices, you're left with a window of
>>>roughly 900MB.
>>
>>
>> I'm curious, how do you get 1.1GB for memory allocation for devices?
>>

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Kaloyan Iliev Iliev 2005-01-18 13:43:11 Re: Performance problem from migrating between versions!
Previous Message Martin Tedjawardhana 2005-01-18 12:00:33 Re: Increasing RAM for more than 4 Gb. using postgresql