Re: O_SYNC and Oracle

From: Van Okamura (vokamura@us.oracle.com)
Date: Mon May 15 2000 - 19:35:40 EST


"Jeff V. Merkey" wrote:
>
> At present, we call fsync() (which flushes dirty pages from cache) after
> a call to write() with an O_SYNC flag set (in essense creating a
> behavior like direct FS where data is not cached and the database can
> write-through the buffer cache. There is a belief that Oracle will
> really suck wind with the current implementation.
>
Oracle expects that block written will hit the disk before the call
returns. In a very busy system, Oracle could be writing most of the
time. In this case, O_SYNC performance will be critical. DirectFS was
good in that there was no double-buffering going on.

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



This archive was generated by hypermail 2b29 : Mon May 15 2000 - 21:00:27 EST