xfs
[Top] [All Lists]

Re: direct io on linux

To: Gabor Forgacs <gabor@xxxxxxxxxxxxxx>
Subject: Re: direct io on linux
From: Andi Kleen <ak@xxxxxxx>
Date: Wed, 2 Oct 2002 17:15:33 +0200
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <200210021702.04252.gabor@xxxxxxxxxxxxxx>
References: <200210021702.04252.gabor@xxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.22.1i
On Wed, Oct 02, 2002 at 05:02:04PM +0200, Gabor Forgacs wrote:
> I use xfs/O_DIRECT under irix, i am just wondering is the direct io is a 
> viable  solution under linux too. Generally what is the fastest disk access 
> method under linux with raid 0 ? I should read sequentialy 9-12 mb files. 

O_DIRECT doesn't do any readahead to keep the disk streaming so unless 
you're doing it yourself (e.g. by using multiple threads or aio) normal IO
will be likely faster.

-Andi


<Prev in Thread] Current Thread [Next in Thread>