Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Sep 2010 07:14:07 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs arc.c
Message-ID:  <201009170714.o8H7EPDK050359@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
avg         2010-09-17 07:14:07 UTC

  FreeBSD src repository

  Modified files:
    sys/cddl/contrib/opensolaris/uts/common/fs/zfs arc.c 
  Log:
  SVN rev 212780 on 2010-09-17 07:14:07Z by avg
  
  zfs arc_reclaim_needed: more reasonable threshold for available pages
  
  vm_paging_target() is not a trigger of any kind for pageademon, but
  rather a "soft" target for it when it's already triggered.
  Thus, trying to keep 2048 pages above that level at the expense of ARC
  was simply driving ARC size into the ground even with normal memory
  loads.
  Instead, use a threshold at which a pagedaemon scan is triggered, so
  that ARC reclaiming helps with pagedaemon's task, but the latter still
  recycles active and inactive pages.
  
  PR:             kern/146410, kern/138790
  MFC after:      3 weeks
  
  Revision  Changes    Path
  1.44      +3 -3      src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009170714.o8H7EPDK050359>