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: Mariella Petrini <mariellapetrini@xxxxxxxxx>
Date: Thu, 20 Sep 2007 19:14:23 -0700 (PDT)
Cc: xfs@xxxxxxxxxxx, dgc@xxxxxxx
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=pbOdV0L/wZITFLssobSJ3nMHYSgk7aEqdHFdOnJ6feUNMdz3gug6+mIE63SIKHSrTneNjLIBx4T4SGE1MNwrrnbADtOGs18q5oBnh+GPbI9hM9h7J6OCu0YJglkvIrABi1iXPTfgaAEA2IYiuQTq2EADMc75VN//HqpM3Nm99J0=;
In-reply-to: <46F2E001.4040107@xxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
> 
> Are you actually seeing a problem with this (caching
> is generally good)
> or just curious?
>
I was mostly curious, especially because In some cases
after having created all the files I may not need to
have all of them cached and I may need to availability
of the RAM for other purposes.


Thank you all for all the info,

Mariella


--- Eric Sandeen <sandeen@xxxxxxxxxxx> 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.
> 
> 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
> 
> 
> 



       
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469


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