lkml.org 
[lkml]   [2002]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: how get dentry cache to swap
On Mon, Sep 02, 2002 at 01:09:38PM +0400, Molbo wrote:
> if I try to create on tmpfs 100k nodes, this kills all my free 25Mb
> Ram.
> question is can be dentry cache made swap cachable

Yes, by providing a real inode-like entity in swap.

This is overkill. Use a real file system for your use case.
I think tmpfs is not suited for your need.

Tmpfs is for machines where hitting swap is unlikely but
possible. So creating all temporary FS structures in memory only
makes sense.

For your use case it doesn't make sense and you should use a
normal file system that writes out all its state, if memory gets
thight (or the state is getting too old).

Regards

Ingo Oeser
--
Science is what we can tell a computer. Art is everything else. --- D.E.Knuth
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.033 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site