Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Aug 2017 14:31:49 -0700
From:      Mark Johnston <markj@FreeBSD.org>
To:        Cy Schubert <Cy.Schubert@komquats.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: swapfile query
Message-ID:  <20170819213149.GA34140@raichu>
In-Reply-To: <201708192124.v7JLOJKJ004107@slippy.cwsent.com>
References:  <Cy.Schubert@komquats.com> <201708192100.v7JL0vFk003935@slippy.cwsent.com> <201708192124.v7JLOJKJ004107@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 19, 2017 at 02:24:19PM -0700, Cy Schubert wrote:
> In message <201708192100.v7JL0vFk003935@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.



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