X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EC90F3A3FE0 for ; Mon, 17 Jan 2005 23:36:00 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 81545-08 for ; Mon, 17 Jan 2005 23:35:55 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 48F4E3A3F93 for ; Mon, 17 Jan 2005 23:35:56 +0000 (GMT) Received: (qmail 24421 invoked from network); 17 Jan 2005 23:35:21 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 17 Jan 2005 23:35:21 -0000 Message-ID: <41EC4C03.9020407@fastcrypt.com> Date: Mon, 17 Jan 2005 18:36:35 -0500 From: Dave Cramer Reply-To: pg@fastcrypt.com Organization: Postgres International User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: amrit@health2.moph.go.th Cc: William Yu , PGsql-performance Subject: Re: Increasing RAM for more than 4 Gb. using postgresql References: <1105501768.41e49e484d779@webmail.moph.go.th> <1105837366.41e9bd36c7de9@webmail.moph.go.th> <1106003849.41ec4789089f1@webmail.moph.go.th> In-Reply-To: <1106003849.41ec4789089f1@webmail.moph.go.th> Content-Type: multipart/alternative; boundary="------------040902030305060607050601" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.08 tagged_above=0 required=5 tests=AWL, HTML_40_50, HTML_MESSAGE, HTML_TITLE_EMPTY X-Spam-Level: X-Archive-Number: 200501/216 X-Sequence-Number: 9906 This is a multi-part message in MIME format. --------------040902030305060607050601 Content-Type: text/plain; charset=TIS-620; format=flowed Content-Transfer-Encoding: 7bit Amrit, It's not useless, it's just not optimal. All operating systems, FC2, FC3, .... will have the same problem with greater than 4G of memory on a 32 bit processor. The *only* way to avoid this is to go to a 64 bit processor (opteron) and then for greater performance use a linux distribution compiled for a 64bit processor. Have you identified and optimized the queries, are you sure you need more memory? Dave amrit@health2.moph.go.th wrote: >>>>Since the optimal state is to allocate a small amount of memory to >>>>Postgres and leave a huge chunk to the OS cache, this means you are >>>>already hitting the PAE penalty at 1.5GB of memory. >>>> >>>> >>>> >>>How could I change this hitting? >>> >>> >>Upgrade to 64-bit processors + 64-bit linux. >> >> > >Does the PAE help linux in handling the memory of more than 4 Gb limit in 32 bit >archetech ? My intel server board could handle the mem of 12 Gb [according to >intel spec.] and if I use Fedora C2 with PAE , will it useless for mem of more >than >4Gb.? > >Any comment please? >Amrit >Thailand > > >---------------------------(end of broadcast)--------------------------- >TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > > > > -- Dave Cramer http://www.postgresintl.com 519 939 0336 ICQ#14675561 --------------040902030305060607050601 Content-Type: text/html; charset=TIS-620 Content-Transfer-Encoding: 7bit Amrit,

It's not useless, it's just not optimal.

All operating systems, FC2, FC3, .... will have the same problem with
greater than 4G of memory on a 32 bit processor.

The *only* way to avoid this is to go to a 64 bit processor (opteron) and then
for greater performance use a linux distribution compiled for a 64bit processor.

Have you identified and optimized the queries, are you sure you need more memory?

Dave

amrit@health2.moph.go.th wrote:
Since the optimal state is to allocate a small amount of memory to
Postgres and leave a huge chunk to the OS cache, this means you are
already hitting the PAE penalty at 1.5GB of memory.

        
How could I change this hitting?
      
Upgrade to 64-bit processors + 64-bit linux.
    

Does the PAE help linux in handling the memory of more than 4 Gb limit in 32 bit
archetech ? My intel server board could handle the mem of 12 Gb [according to
intel spec.] and if I use Fedora C2 with PAE , will it useless for mem of more
than >4Gb.?

Any comment please?
Amrit
Thailand


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)


  

-- 
Dave Cramer
http://www.postgresintl.com
519 939 0336
ICQ#14675561
--------------040902030305060607050601--