Re: O_DIRECT performance impact on 2.4.18 (was: Re: [PATCH] 2.5.14

Alan Cox
2002-05-11T18:08:56Z

> > O_DIRECT is especially useful for applications which maintain their
> > own cache, e.g. a database. And adding Async to it is an even bigger
> > bonus (another Oracleism we did in PTX).
>
> The thing that has always disturbed me about O_DIRECT is that the whole
> interface is just stupid, and was probably designed by a deranged monkey
> on some serious mind-controlling substances [*].

Used with aio its extremely nice. Without the aio patches its a bit lacking
whenever readahead is useful

Alan