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/
This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:15 EST