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 93837329CF8 for ; Thu, 23 Sep 2004 15:57:55 +0100 (BST) 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 52495-04 for ; Thu, 23 Sep 2004 14:57:42 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id AD6A5329CF7 for ; Thu, 23 Sep 2004 15:57:45 +0100 (BST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id i8NEvfYo026124; Thu, 23 Sep 2004 10:57:41 -0400 (EDT) To: Bruce Momjian Cc: Neil Conway , Guy Thornley , pgsql-performance@postgresql.org Subject: Re: O_DIRECT setting In-reply-to: <200409231335.i8NDZjR21993@candle.pha.pa.us> References: <200409231335.i8NDZjR21993@candle.pha.pa.us> Comments: In-reply-to Bruce Momjian message dated "Thu, 23 Sep 2004 09:35:45 -0400" Date: Thu, 23 Sep 2004 10:57:41 -0400 Message-ID: <26123.1095951461@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/237 X-Sequence-Number: 8365 Bruce Momjian writes: > TODO has: > * Consider use of open/fcntl(O_DIRECT) to minimize OS caching > Should the item be removed? I think it's fine ;-) ... it says "consider it", not "do it". The point is that we could do with more research in this area, even if O_DIRECT per se is not useful. Maybe you could generalize the entry to "investigate ways of fine-tuning OS caching behavior". regards, tom lane