X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 80A89D701B for ; Tue, 11 Oct 2005 11:57:10 -0300 (ADT) 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 88880-09 for ; Tue, 11 Oct 2005 14:57:02 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.206]) by svr1.postgresql.org (Postfix) with ESMTP id E2169D6F2D for ; Tue, 11 Oct 2005 11:57:04 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id 71so211100wra for ; Tue, 11 Oct 2005 07:57:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Iohpfsfq3uf+I4IPt8Rizn/iHrqbxobFUOaFXsnpOwx5498M/FVR+dorvpIA4jg2OavKxBdqQxCBvPRdGERydnE7qS1OwgMCvO0+znTIlFmCrf9JkkdJl+X7HMUA1bBmrZI8YgAceRj0aez+3haw1kvhYM5N6W6JG95hkiPO+CY= Received: by 10.54.114.10 with SMTP id m10mr61726wrc; Tue, 11 Oct 2005 07:57:10 -0700 (PDT) Received: by 10.54.84.8 with HTTP; Tue, 11 Oct 2005 07:57:10 -0700 (PDT) Message-ID: <33c6269f0510110757v1632b9c5te578b699db922f45@mail.gmail.com> Date: Tue, 11 Oct 2005 10:57:10 -0400 From: Alex Turner To: Alan Stange Subject: Re: Performance on SUSE w/ reiserfs Cc: Jon Brisbin , pgsql-performance@postgresql.org In-Reply-To: <434BD17E.7000605@rentec.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5593_33551402.1129042630161" References: <434ADD46.5060206@npcinternational.com> <6247.1128981289@sss.pgh.pa.us> <434AE7FF.4000705@npcinternational.com> <33c6269f0510110727q62a797a1g9493661e1dc905d4@mail.gmail.com> <434BD17E.7000605@rentec.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.356 required=5 tests=[AWL=-0.173, HTML_20_30=0.504, HTML_MESSAGE=0.001, RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200510/198 X-Sequence-Number: 14966 ------=_Part_5593_33551402.1129042630161 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Perhaps this is true for 1.5 on x86-32 (I've only used it on x86-64) but I was more thinking 1.4 which many folks are still using. Alex On 10/11/05, Alan Stange wrote: > > Alex Turner wrote: > > > Realise also that unless you are running the 1.5 x86-64 build, java > > will not use more than 1Gig, and if the app server requests more than > > 1gig, Java will die (I've been there) with an out of memory error, > > even though there is plenty of free mem available. This can easily be > > cause by a lazy GC thread if the applicaiton is running high on CPU > usage. > > On my side of Planet Earth, the standard non-x64 1.5 JVM will happily > use more than 1G of memory (on linux and Solaris, can't speak for > Windows). If you're running larger programs, it's probably a good idea > to use the -server compiler in the JVM as well. I regularly run with > -Xmx1800m and regularly have >1GB heap sizes. > > The standard GC will not cause on OOM error if space remains for the > requested object. The GC thread blocks all other threads during its > activity, whatever else is happening on the machine. The > newer/experimental GC's did have some potential race conditions, but I > believe those have been resolved in the 1.5 JVMs. > > Finally, note that the latest _05 release of the 1.5 JVM also now > supports large page sizes on Linux and Windows: > -XX:+UseLargePages this can be quite beneficial depending on the > memory patterns in your programs. > > -- Alan > ------=_Part_5593_33551402.1129042630161 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Perhaps this is true for 1.5 on x86-32 (I've only used it on x86-64) but I was more thinking 1.4 which many folks are still using.

Alex

On 10/11/05, Alan Stange <stang= e@rentec.com> wrote:
Alex Turner wrote:

> Realise also that unless you are running the= 1.5 x86-64 build, java
> will not use more than 1Gig, and if the app= server requests more than
> 1gig, Java will die (I've been there) wi= th an out of memory error,
> even though there is plenty of free mem available.  This= can easily be
> cause by a lazy GC thread if the applicaiton is runn= ing high on CPU usage.

On my side of Planet Earth, the standard non-= x64 1.5 JVM will happily
use more than 1G of memory (on linux and Solaris, can'= t speak for
Windows).  If you're running larger programs, it's= probably a good idea
to use the -server compiler in the JVM as well.&nb= sp; I regularly run with
-Xmx1800m and regularly have >1GB heap sizes.

The standard GC= will not cause on OOM error if space remains for the
requested object.&= nbsp; The GC thread blocks all other threads during its
activity, w= hatever else is happening on the machine.   The
newer/experimental GC's did have some potential race conditions, but I<= br>believe those have been resolved in the 1.5 JVMs.

Finally, note t= hat the latest _05 release of the 1.5 JVM also now
supports large page s= izes on Linux and Windows:
-XX:+UseLargePages   this can be quite beneficial depending o= n the
memory patterns in your programs.

-- Alan
<= /div>
------=_Part_5593_33551402.1129042630161--