DragonFly BSD
DragonFly commits List (threaded) for 2006-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/vm vm_pageout.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 May 2006 18:21:48 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]