xfs
[Top] [All Lists]

Re: xfs and Linux Linux 2.6.22 and Memory

To: Mariella Petrini <mariellapetrini@xxxxxxxxx>
Subject: Re: xfs and Linux Linux 2.6.22 and Memory
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu, 20 Sep 2007 16:02:57 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <435577.15025.qm@web35711.mail.mud.yahoo.com>
References: <435577.15025.qm@web35711.mail.mud.yahoo.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)
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.

cat /proc/sys/fs/dentry-state and /proc/sys/fs/inode-state to see how
many are in memory, how many are active, and the age limit.

slabtop would fairly easily show you how much is in the dentry_cache &
the inode_cache too.

Are you actually seeing a problem with this (caching is generally good)
or just curious?

-Eric



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