Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 0EA552E0043 for ; Fri, 15 Feb 2008 14:06:29 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 14568-04 for ; Fri, 15 Feb 2008 14:06:25 -0400 (AST) Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by postgresql.org (Postfix) with ESMTP id 1E4BE2E0050 for ; Fri, 15 Feb 2008 14:06:24 -0400 (AST) X-EthosMedia-Virus-Scanned: no infections found Received: from [63.195.55.98] (account josh@agliodbs.com HELO [192.168.2.3]) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 15339190; Fri, 15 Feb 2008 10:11:20 -0800 From: Josh Berkus Organization: PostgreSQL @ Sun To: pgsql-performance@postgresql.org Subject: Re: shared_buffers in 8.3 w/ lots of RAM on dedicated PG machine Date: Fri, 15 Feb 2008 10:06:11 -0800 User-Agent: KMail/1.8.2 Cc: Greg Smith , Peter Schuller References: <20080215123528.GA16532@hyperion.scode.org> <20080215135846.GA17327@hyperion.scode.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802151006.11858.josh@agliodbs.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/182 X-Sequence-Number: 28724 On Friday 15 February 2008 06:29, Greg Smith wrote: > PostgreSQL only uses direct I/O for writing to the WAL; everything else > goes through the regular OS buffer cache unless you force it to do > otherwise at the OS level (like some Solaris setups do with > forcedirectio). Also, note that even when direct I/O is available, most users and benchmark tests have reported that having PostgreSQL "take over" the entire cache is not a net performance gain. I believe this is mostly because our I/O and caching code aren't designed for this kind of operation. I believe that MyEmma had a different experience on their workload, though. -- Josh Berkus PostgreSQL @ Sun San Francisco