cvs commit: src/sys/vm vm_pageout.c

Matthew Dillon dillon at crater.dragonflybsd.org
Mon May 22 18:23:08 PDT 2006


dillon      2006/05/22 18:21:48 PDT

DragonFly src repository

  Modified files:
    sys/vm               vm_pageout.c 
  Log:
  The pageout daemon does not usually page out pages it considers active.
  However, under certain types of heavy memory use it is possible to keep
  nearly all of a machine's pages marked active.  This can result in a
  degenerate situation where the pageout demon pages out so few pages that
  it might as well not be operating at all, resulting in a machine lockup.
  
  Adjust the pageout daemon to dig into active pages based on its loop
  counter.  This counter will start to go up when the pageout daemon is not
  able to keep up.  The higher counter gets, the more active pages
  become candidates for paging.  We depend on fault-in rate limiting to
  avoid thrashing to the point of inaccessibility.
  
  Also-thanks-to: Peter Holms filesystem and load testing suite (stress2).
  
  Revision  Changes    Path
  1.22      +1 -1      src/sys/vm/vm_pageout.c


http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_pageout.c.diff?r1=1.21&r2=1.22&f=u





More information about the Commits mailing list