From: Ingo Oeser <ingo.oeser@informatik.tu-chemnitz.de>
To: Molbo <molbo@inbox.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: how get dentry cache to swap
Date: Mon, 2 Sep 2002 12:54:33 +0200 [thread overview]
Message-ID: <20020902125433.H781@nightmaster.csn.tu-chemnitz.de> (raw)
In-Reply-To: <882173015.20020902130938@inbox.ru>; from molbo@inbox.ru on Mon, Sep 02, 2002 at 01:09:38PM +0400
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
prev parent reply other threads:[~2002-09-02 11:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-02 9:09 Molbo
2002-09-02 10:54 ` Ingo Oeser [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020902125433.H781@nightmaster.csn.tu-chemnitz.de \
--to=ingo.oeser@informatik.tu-chemnitz.de \
--cc=linux-kernel@vger.kernel.org \
--cc=molbo@inbox.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®