The page cache keeps growing
I'd like to throw this out to the group for opinions-
I'm working on a box using the 2.4.9 kernel that is saving a couple of mpeg2
video streams, while playing back one of them. The box also allows one to
web browse, play mp3's and configure one's home network.
What I'm seeing is the page cache grow to huge sizes- to as much as 102MB
of 128MB of memory. This is causing pages to be stolen from other processes
in memory, so that when a user attempts to go to one of these, a long wait ensues
while it's paged back in.
Is there any way to limit page cache size? I've looked over the mm code and
nothing pops out. Has someone written a patch to do this? I've checked some
archives but have come up empty handed.
Thanks,
paulh
--
Paul Hansen, Software Engineer [email protected] Ucentric Systems LLC Phone 978.823.8157 2 Clocktower Place, Suite 550 FAX 978.823.8101 Maynard, MA 01754 www.ucentric.com
Quoted 8 lines · On Fri, Nov 09, 2001 at 03:17:42PM -0500, [email protected] wrote:
I'd like to throw this out to the group for opinions-
I'm working on a box using the 2.4.9 kernel that is saving a couple of mpeg2
video streams, while playing back one of them. The box also allows one to
web browse, play mp3's and configure one's home network.
Quoted 7 lines
What I'm seeing is the page cache grow to huge sizes- to as much as 102MB
of 128MB of memory. This is causing pages to be stolen from other processes
in memory, so that when a user attempts to go to one of these, a long wait ensues
while it's paged back in.
Move on to 2.4.14. VM changes since 2.4.9 have been 'significant.'
Signature · 2 lines
Allen Campbell | Lurking at the bottom of the [email protected] | gravity well, getting old.