pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nicolai Petri (lists) <lists@petri.cc>
To: William Yu <wyu@talisys.com>
To: pgsql-performance@postgresql.org
Subject: Re: Increasing RAM for more than 4 Gb. using postgresql
Date: Tue, 18 Jan 2005 14:04:45 +0100
Message-ID: <011901c4fd5e$4b465470$63070080@freedom> (raw)
References: <1105501768.41e49e484d779@webmail.moph.go.th>
	<Pine.LNX.4.58.0501122343160.6728@linuxworld.com.au>
	<cs67u3$kp7$1@news.hub.org>
	<200501160944.47511.josh@agliodbs.com>
	<csgtff$2lae$1@news.hub.org>

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@talisys.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?
>>





view thread (23+ messages)  latest in thread

Message-ID: <011901c4fd5e$4b465470$63070080@freedom>
Permalink:  ../011901c4fd5e$4b465470$63070080@freedom/
Also on:    postgresql.org/message-id/011901c4fd5e$4b465470$63070080@freedom

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: lists@petri.cc, wyu@talisys.com
  Subject: Re: Increasing RAM for more than 4 Gb. using postgresql
  In-Reply-To: <011901c4fd5e$4b465470$63070080@freedom>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox