Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2015 19:00:56 -0500
From:      Larry Rosenman <ler@lerctr.org>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        Freebsd fs <freebsd-fs@freebsd.org>, rmacklem@freebsd.org
Subject:   Re: NFS Mount and LARGE amounts of "INACT" memory
Message-ID:  <bc8c541ebdc25e23b63f34d81c9cc2fc@thebighonker.lerctr.org>
In-Reply-To: <228350188.61172889.1434758295576.JavaMail.root@uoguelph.ca>
References:  <228350188.61172889.1434758295576.JavaMail.root@uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2015-06-19 18:58, Rick Macklem wrote:
> Larry Rosenman wrote:
>> On 2015-06-17 07:26, Larry Rosenman wrote:
>> > I have a 64G memory FreeBSD 11-CURRENT system that has a couple of
>> > mounts to a FreeNAS (FreeBSD 9.3) system.
>> >
>> > When my rsync from a different system to one of the NFS mounts
>> > runs, I
>> > get like 48G of Inactive memory that goes back to
>> > free if I umount the share.
>> >
>> > I'm wondering why this memory moves from ZFS ARC to INACT.
>> >
>> > And, is this expected?
> A wild ass guess would be yes. Assuming you are referring to the NFS
> client (and not FreeNAS server) and guessing that rsync uses mmap'd
> I/O...
> - The pages will be associated with the file's vnode until that vnode
>   is recycled. (mmap'd I/O can continue after the file is closed.)
>   This could take a long time.
> I am not knowledgible w.r.t. the VM subsystem, but I'm guessing that
> there is some way for these pages to be reused if memory is limited?
> (Hopefully someone with VM knowledge can comment on this?)
> 
Yes, this is the NFS Client, not sure on mmap(2), but that would make 
sense

BUT, I don't like that it kills my ZFS ARC....

VM Guys?

> rick
> 
>> I've posted screenshots at:
>> 
>> http://www.lerctr.org/~ler/FreeBSD_inact/
>> 
>> 
>> --
>> Larry Rosenman                     http://www.lerctr.org/~ler
>> Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
>> US Mail: 108 Turvey Cove, Hutto, TX 78634-5688
>> _______________________________________________
>> freebsd-fs@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
>> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>> 

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688




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