zfs arc - just take it all and be good to me

Marco van Tol marco at tols.org
Wed Aug 25 16:40:28 UTC 2010


On Wed, Aug 25, 2010 at 05:53:25PM +0300, Andriy Gapon wrote:
> on 25/08/2010 00:11 Marco van Tol said the following:
> > Would the inactive pages of the long running processes be swapped out in
> > favour of the arc?  That would be great I think as long as that is made
> > clear at an obvious place so people don't get worried about swap usage
> > on a system that "shouldn't need to swap out anything".
> > 
> > /usr/src/UPDATING springs to mind, together with quick hints on how to
> > see that the swapped out pages are harmless. :)
> 
> I don't think there would be any significant impact on swapping.
> Remember that inactive pages also include clean pages that can be
> moved to cache
> and vnode pages that can be synced to disk.
> pagedaemon is smart enough to not trigger swapping too early.
> Makes sense? :)

It does, thanks a lot. :)

Shameless plug: This book is, even tho a bit old, very helpfull:
http://www.amazon.com/Design-Implementation-FreeBSD-Operating-System/dp/0201702452

Sidetrack: Are there any plans to have a similar book based on a more
recent freebsd version released?

-- 
Marco van Tol


More information about the freebsd-fs mailing list