* 2.4.18-mips buffer cache problem
@ 2002-07-02 12:20 Steven Seeger
0 siblings, 0 replies; only message in thread
From: Steven Seeger @ 2002-07-02 12:20 UTC (permalink / raw)
To: linux-kernel
Hey guys. I've got 2.4.18 running on an NEC Osprey development board here
using the NEC VR4181 processor. The problem I'm having must be arch
specific, however if I knew where in the Kenrel exactly to look on the Linux
side I would stand a better chance of figuring out what's going on.
When I deal with files on either the CF card or /dev/rom, the buffer cache
fills up. That's what's supposed to happen. However, Linux never seems to
free these buffers. Once I've say, cat * > /dev/null in enough directories
the system memory will all be used up and it won't ever free it. If I
unmount the cf card, it frees up a lot of what was buffered up on the card
so it seems the arch specific memory stuff works, but why won't it free it
up otherwise? The files cached from the /dev/rom device (root fs) fills up
memory and never frees. I have another working kernel that doesn't have this
problem and I can fill up system memory with cache files and then run a
little program that takes up a ton of memory and that program will keep
running, but it page faults on this new kernel since it can't get the memory
it needs from the cache. I don't see why the OOM won't kill it first,
eitehr.
Can somebody tell me where in the Kernel it says "hey, I'm running low on
memory I should free up some of the memory in the file cache" stuff? If I
know where that happens, I can try troubleshooting the problem. I'm sure
it'll point to some specific mips problem.
Thanks!
Steve
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-07-02 12:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-02 12:20 2.4.18-mips buffer cache problem Steven Seeger
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®