From: "Christopher R. Johnson" <cjohnson@gcctech.com>
To: linuxppc-dev@lists.linuxppc.org
Subject: General question about caching
Date: Fri, 02 Apr 2004 11:20:31 -0500 [thread overview]
Message-ID: <406D92CF.8040302@gcctech.com> (raw)
I have a tight footprint, and no swapping (in fact no disks). I notice
that /proc/meminfo reports:
total: used: free: shared: buffers: cached:
Mem: 31686656 30740480 946176 0 4591616 12210176
Swap: 0 0 0
MemTotal: 30944 kB
MemFree: 924 kB
MemShared: 0 kB
Buffers: 4484 kB
Cached: 11924 kB
SwapCached: 0 kB
Active: 22196 kB
Inactive: 5416 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 30944 kB
LowFree: 924 kB
SwapTotal: 0 kB
SwapFree: 0 kB
I only have rom and ram-based file systems, so I believe that disk
caching could and maybe should be reduced to use less space. Can I
control this? How? I notice that most of the cache_init routines
running in init/main.c use mempages as the arg. What would be the
ramifications of simply reporting less memory to those functions?
Downside? Danger?
Your input is appreciated!
cj
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~2004-04-02 16:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-02 16:20 Christopher R. Johnson [this message]
2004-04-02 17:02 ` General question about caching linas
2004-04-02 19:27 ` Christopher R. Johnson
2004-04-02 22:17 ` linas
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=406D92CF.8040302@gcctech.com \
--to=cjohnson@gcctech.com \
--cc=linuxppc-dev@lists.linuxppc.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.