xfs
[Top] [All Lists]

Re: xfs and Linux Linux 2.6.22 and Memory

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: xfs and Linux Linux 2.6.22 and Memory
From: David Chinner <dgc@xxxxxxx>
Date: Fri, 21 Sep 2007 09:34:05 +1000
Cc: Mariella Petrini <mariellapetrini@xxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <46F2E001.4040107@sandeen.net>
References: <435577.15025.qm@web35711.mail.mud.yahoo.com> <46F2E001.4040107@sandeen.net>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Thu, Sep 20, 2007 at 04:02:57PM -0500, Eric Sandeen wrote:
> Mariella Petrini wrote:
> 
> > QUESTION:
> > 
> > Is there any way to release that amount of memory
> > without unmounting the file systems ?
> > Is that caused to some caching mechanism ?
> > Or could that be caused by something else ?
> 
> It's most likely the linux VFS caching the dentries & inodes, and
> therefore caching the xfs inodes as well.

Not just inodes, but file data in the page cache as well.

If you want to blow it all away without unmountin filesystems, then
you should read up on /proc/sys/vm sysctls (i.e.
/proc/sys/vm/drop_caches)....

Cheers,

Dave.

-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group


<Prev in Thread] Current Thread [Next in Thread>