linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* General question about caching
@ 2004-04-02 16:20 Christopher R. Johnson
  2004-04-02 17:02 ` linas
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher R. Johnson @ 2004-04-02 16:20 UTC (permalink / raw)
  To: linuxppc-dev


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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-04-02 22:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-02 16:20 General question about caching Christopher R. Johnson
2004-04-02 17:02 ` linas
2004-04-02 19:27   ` Christopher R. Johnson
2004-04-02 22:17     ` linas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).