:> Yes, and the buffer cache determines how much dirty file-backed data
:> (via write() or mmap()) the system is allowed to accumulate before
:> it forces it out, which should probably be the greater concern here.
:
:How hard would it be to allow dirty data in the file
:cache, without buffer mappings ?
:
:regards,
:
:Rik
This is already supported via MAP_NOSYNC. The problem is that the
dirty data is not tracked under light memory loads (tracking dirty
data is a function of the buffer cache), so unless something
forces the page out or fsync()s the file explicitly, the dirty data
might not be written out for days. It might look good in a benchmark,
but it would play havoc on system stability in the event of a crash.
-Matt
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message