XFS memory recomendation?

Eric Sandeen sandeen at redhat.com
Fri Feb 17 19:14:29 CST 2012

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.


> 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 at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs

More information about the xfs mailing list