:Ok, now I feel pretty lost, how is there a relationship between
:max_page_launder and async writes?  If increasing max_page_launder
:increases the amount of async writes, isn't that a good thing?

    The async writes are competing against the rest of the system
    for disk resources.  While it is ok for an async write to stall, the
    fact that it will cause other processes read() or page-in (which is
    nominally synchronous) requests to stall can result in seriously
    degraded operation for those processes.

    Piling on the number of async writes running in parallel is not
    going to improve the performance of page-out daemon, but it will
    degrade the performance of I/O issued by other processes in the system.
    The only two reasons the pageout daemon is not doing synchronous writes
    are: (1) because it can't afford to stall on a slow device (or NFS, etc.)
    and (2) so it can parallelize I/O across different devices.  But since
    the pageout daemon isn't really all that smart and doesn't track what it
    does, the whole algorithm devolves into issueing a certain number of
    asynchronous I/O's all at once.... governed by max_page_launder.

                                        -Matt



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to