On Wed, Jun 12, 2013 at 10:26:51AM +0200, Roger Oberholtzer wrote:
> On Tue, 2013-06-11 at 11:12 -0500, Steve Bergman wrote:
> > Are you saying that with XFS there is no periodic
> > flushing mechanism at all? And that unless there's an
> > fsync/fdatasync/sync or the memory needs to be reclaimed, that it can
> > sit in the page cache forever?
>
> I read the later responses to this and they seemed to say that the data
> in the page cache should be written to the disk periodically. I am not
> meaning to hijack the thread. I just have a question directly related to
> this point.
>
> I have an application that is streaming data to an XFS disk at a
> sustained 25 MB/sec. This is well below what the hardware supports. The
> application does fopen/fwrite/fclose (no active flushing or syncing).
fadvise(DONTNEED)
Cheers,
Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx
|