Date: Tue, 7 Mar 2017 04:48:13 -0500 From: Brandon Allbery <allbery.b@gmail.com> To: Slawa Olhovchenkov <slw@zxy.spb.ru> Cc: Erich Dollansky <erichsfreebsdlist@alogt.com>, "stable@freebsd.org" <stable@freebsd.org> Subject: Re: slow machine, swap in use, but more than 5GB of RAM inactive Message-ID: <CAKFCL4WZJXsyL4eR8pEe-HqUO-x2XZe=a8By9uOe3vcpLTKzDQ@mail.gmail.com> In-Reply-To: <20170307070242.GO15630@zxy.spb.ru> References: <20170307101935.4c04ad5e@X220.alogt.com> <20170307070242.GO15630@zxy.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 7, 2017 at 2:02 AM, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote: > inactive is not 'not used' memory. > this is just pages don't touched in last 10(?) seconds, but all of > this allocated (such as malloc, mmap, sendfile) to application > (userland programs). > Or otherwise phrased: they're candidates to be paged out if something requires that much memory soon. Meanwhile, stuff currently paged out will stay there unless actively needed; why bother pulling it back in if nothing actually needs it right now, especially since it got paged out because nothing had used it recently (i.e. it was marked inactive)? -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKFCL4WZJXsyL4eR8pEe-HqUO-x2XZe=a8By9uOe3vcpLTKzDQ>