Re: Latest AIO patchset

From: Hayim Shaul
Date: Wed Feb 25 2004 - 13:53:11 EST


>
> Some basic results are up comparing streaming non-cached random
> AIO read/write throughputs for a single ext3 file using aio-stress
> for various io sizes with and without these patches, and also
> comparsions with O_DIRECT AIO throughputs. The short summary has
> been a doubling of throughput using the fsaio patches, which is
> also close to the results seen with O_DIRECT AIO.
>
> As usual feedback, bug fixes, test results etc are welcome.
>

What exactly is the O_DIRECT flag? When I add this flag to the open func
it fails.

More specificaly, this function fails
open("filename", O_RDWR | O_DIRECT | O_LARGEFILE | O_CREAT, S_IRWXU);

but this one succeeds
open("filename", O_RDWR | O_LARGEFILE | O_CREAT, S_IRWXU);

I'm running linux 2.6.0 with libaio 0.3.92.

Hayim.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/