Re: O_DIRECT use

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: O_DIRECT use
Date: 2002-01-04 21:29:51
Message-ID: 7008.1010179791@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> I have added this item to TODO:
> * Consider use of open/fctl(O_DIRECT) to minimize OS caching

Why exactly would we wish to minimize OS caching?

In my mind, Postgres has always relied heavily on the existence of a
layer of kernel caching. Disabling that will hurt far more than help.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-01-04 21:31:40 Re: O_DIRECT use
Previous Message Bruce Momjian 2002-01-04 21:08:18 O_DIRECT use