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 87BC952934 for ; Tue, 7 Jun 2005 21:44:30 -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 17562-01 for ; Wed, 8 Jun 2005 00:44:24 +0000 (GMT) Received: from server07.icaen.uiowa.edu (server07.icaen.uiowa.edu [128.255.17.47]) by svr1.postgresql.org (Postfix) with ESMTP id 718435294D for ; Tue, 7 Jun 2005 21:44:22 -0300 (ADT) Received: from server11.icaen.uiowa.edu (server11.icaen.uiowa.edu [128.255.17.51]) by server07.icaen.uiowa.edu (8.13.3/8.12.9) with ESMTP id j580iNXA022415; (envelope-from ) Tue, 7 Jun 2005 19:44:24 -0500 (CDT) Received: from [192.168.1.11] ([12.215.118.172]) (authenticated user=jfmeinel) by server11.icaen.uiowa.edu (8.13.2/smtp-serv-1.7) with ESMTP id j580iMpD015073 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256); (envelope-from ) Tue, 7 Jun 2005 19:44:23 -0500 (CDT) Message-ID: <42A63F62.40007@arbash-meinel.com> Date: Tue, 07 Jun 2005 19:44:18 -0500 From: John A Meinel User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Neil Conway Cc: Tom Arthurs , Donald Courtney , pgsql-performance@postgresql.org Subject: Re: Postgresql on an AMD64 machine References: <1118080420.1644.23.camel@penguin1> <42A5F7B6.20502@sun.com> <42A5FB70.8090807@jobflash.com> <42A6014C.30108@sun.com> <42A605E8.8040607@jobflash.com> <42A639C3.40606@samurai.com> In-Reply-To: <42A639C3.40606@samurai.com> X-Enigmail-Version: 0.91.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0B10D113C2C726FE382298D2" X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on clamav.icaen.uiowa.edu X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on clamav.icaen.uiowa.edu X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/155 X-Sequence-Number: 12792 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0B10D113C2C726FE382298D2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Neil Conway wrote: > Tom Arthurs wrote: > >> Yes, shared buffers in postgres are not used for caching > > > Shared buffers in Postgres _are_ used for caching, they just form a > secondary cache on top of the kernel's IO cache. Postgres does IO > through the filesystem, which is then cached by the kernel. Increasing > shared_buffers means that less memory is available for the kernel to > cache IO -- increasing shared_buffers has been shown to be a net > performance loss beyond a certain point. Still, there is value in > shared_buffers as it means we can avoid a read() system call for hot > pages. We can also do better buffer replacement in the PG shared buffer > than the kernel can do (e.g. treating IO caused by VACUUM specially). > As I recall, one of the performance problems with a large shared_buffers is that there are some commands which require looking at *all* of the shared buffer space. So the larger it gets, the longer those functions take. >> My biggest challenge with solaris/sparc is trying to reduce context >> switching. > > > It would be interesting to see if this is improved with current sources, > as Tom's bufmgr rewrite should have hopefully have reduced this problem. > These might be what was fixed with Tom's rewrite. I don't really know. John =:-> > -Neil > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster --------------enig0B10D113C2C726FE382298D2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFCpj9kJdeBCYSNAAMRAqRAAKCN3lh88n5FfN1Dy3fjxFNcH1iHzQCeMiX5 A0FKVRf/Vz5BxaumMUPE4fY= =Zo6E -----END PGP SIGNATURE----- --------------enig0B10D113C2C726FE382298D2--