linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* memory mgmt/tuning for diskless machines
@ 2001-03-26 14:20 David L. Parsley
  2001-03-26 16:00 ` Rik van Riel
  2001-04-03  1:04 ` Marcelo Tosatti
  0 siblings, 2 replies; 6+ messages in thread
From: David L. Parsley @ 2001-03-26 14:20 UTC (permalink / raw)
  To: linux-mm

Hi,

I'm working on a project for building diskless multimedia terminals/game
consoles.  One issue I'm having is my terminal seems to go OOM and crash
from time to time.  It's strange, I would expect the OOM killer to blow
away X, but it doesn't - the machine just becomes unresponsive.

Since this is a quasi-embedded platform, what I'd REALLY like to do is
tune the vm so mallocs fail when freepages falls below a certain point. 
I'm using cramfs, and what I suspect is happening is that once memory
gets too low, the kernel doesn't have enough memory to uncompress
pages.  Since there's no swap, there's nothing to page out.

So... it occured to me I could tune this with /proc/sys/vm/freepages -
but now I find that it's read-only, and I can't echo x y z > freepages
like I used to.  What's up with that?

Suggestions?

regards,
	David
-- 
David L. Parsley
Network Administrator
Roanoke College
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: memory mgmt/tuning for diskless machines
@ 2001-04-03  9:44 Szabolcs Szakacsits
  0 siblings, 0 replies; 6+ messages in thread
From: Szabolcs Szakacsits @ 2001-04-03  9:44 UTC (permalink / raw)
  To: linux-mm; +Cc: Marcelo Tosatti

On Mon, 2 Apr 2001, Marcelo Tosatti wrote:

> > So... it occured to me I could tune this with /proc/sys/vm/freepages -
> > but now I find that it's read-only,
> It should work. Are you sure you're trying to change it as root ?
> Which kernel version are you using ?

It doesn't work since 2.4.0-test9
	http://www.uwsg.iu.edu/hypermail/linux/kernel/0009.2/0129.html

    Szaka

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

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

end of thread, other threads:[~2001-04-03  9:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-03-26 14:20 memory mgmt/tuning for diskless machines David L. Parsley
2001-03-26 16:00 ` Rik van Riel
2001-03-26 16:30   ` David L. Parsley
2001-03-26 17:15     ` Jonathan Morton
2001-04-03  1:04 ` Marcelo Tosatti
2001-04-03  9:44 Szabolcs Szakacsits

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox