xfs
[Top] [All Lists]

Re: XFS memory recomendation?

To: "Assarsson, Emil" <Emil.Assarsson@xxxxxxxxxxxxxxxx>
Subject: Re: XFS memory recomendation?
From: Eric Sandeen <sandeen@xxxxxxxxxx>
Date: Fri, 17 Feb 2012 17:14:29 -0800
Cc: "michael.monnerie@xxxxxxxxxxxxxxxxxxx" <michael.monnerie@xxxxxxxxxxxxxxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
In-reply-to: <2BF070A7A2375D46BA1B6087F8D5DCB68BEA722DA4@xxxxxxxxxxxxxxxxxxxxxxx>
References: <2BF070A7A2375D46BA1B6087F8D5DCB68BEA721CA3@xxxxxxxxxxxxxxxxxxxxxxx> <20120217024941.GH14132@dastard> <1410714.dziNWBeyu6@saturn> <2BF070A7A2375D46BA1B6087F8D5DCB68BEA722DA4@xxxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
On 2/17/12 7:27 AM, Assarsson, Emil wrote:
> Thanks for the answer Dave and Michael.
> 
> As you might realize, I have no knowledge if the internal works of
> XFS :-P 
> 
> My problem is that the file system sometimes seems to be a bit laggy
> when listing directories and so on. 

This would have been a better starting point for your question. :)

> I really don't know how to deal with
> it. I guess more memory always will help but where should I put the
> limit?

How slow is slow?  What kernel are you using, and what does your storage
look like?  How many files are in the directory?  How much memory do you
have, and what else is going on in the system at the time?

I think you'll need to quantify it a bit more.

-Eric

> Can it be a solution (ugly) to warm up the cache by making a complete
> "find" on the file system sending output to /dev/null? but then again it
> would probably be a stupid way to use precious memory for something that
> isn't used that often.
> 
> --
> Emil
> 
> 
> fre 2012-02-17 klockan 14:05 +0100 skrev Michael Monnerie:
>> Am Freitag, 17. Februar 2012, 13:49:41 schrieb Dave Chinner:
>>> What's a "file allocation table"? XFS doesn't have one.
>>
>> I guess he means the inode/dentry cache and such.
>>
>> BTW, what's the difference of inode and dentry caches? I'd like to 
>> understand the setting of
>> /proc/sys/vm/vfs_cache_pressure
>>
> 
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs
> 

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