swapfile query

Mark Johnston markj at FreeBSD.org
Sat Aug 19 21:31:54 UTC 2017


On Sat, Aug 19, 2017 at 02:24:19PM -0700, Cy Schubert wrote:
> In message <201708192100.v7JL0vFk003935 at slippy.cwsent.com>, Cy Schubert 
> writes:
> 
> > (On my -CURRENT laptop I see a scan rate in the hundreds on a totally idle 
> > laptop and in the teens of my idle firewall. IMO this doesn't seem right, 
> > at least not compared to previous releases of FreeBSD or from the days when 
> > I worked on Solaris. You shouldn't see a scan rate on an idle system.)
> 
> It appears that on an idle system with many pages in use, i.e. a laptop 
> running X and not really doing anything else, pages are scanned though the 
> system is idle. This is likely an artifact of r308474.

It's an intentional consequence of r254304. The page daemon performs a
slow and steady scan of the queue of active pages and will gradually
move unreferenced pages to the inactive queue.


More information about the freebsd-current mailing list