From: "David L. Parsley" <parsley@linuxjedi.org>
To: Rik van Riel <riel@conectiva.com.br>
Cc: linux-mm@kvack.org, Jonathan Morton <chromi@cyberspace.org>
Subject: Re: memory mgmt/tuning for diskless machines
Date: Mon, 26 Mar 2001 11:30:24 -0500 [thread overview]
Message-ID: <3ABF6EA0.A2454B66@linuxjedi.org> (raw)
In-Reply-To: <Pine.LNX.4.21.0103261258270.1863-100000@imladris.rielhome.conectiva>
Rik van Riel wrote:
>
> On Mon, 26 Mar 2001, David L. Parsley wrote:
>
> > 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.
>
> Hi David,
>
> I think you might want to talk with Jonathan Morton about
> your situation. Jonathan is working on a non-overcommit
> patch which will make sure no more memory is malloc()ed
> than what is available.
Thanks Rick, I'll bet you're right. I changed the sysctl registration
to make /proc/sys/vm/freepages read-write, and even playing with it for
a while it was a no-win. Either 1) the machine would become
unresponsive, or 2) X would crash. For embedded systems, the
non-over-commit patch is almost certainly the way to go - and we all
know how popular embedded Linux is these days. ;-)
I'll try to search for his patch in kernel archives and let you know how
it works out.
Jonathan - if you could ship me the patch I'd appreciate it, but I'll
try searching first.
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/
next prev parent reply other threads:[~2001-03-26 16:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-26 14:20 David L. Parsley
2001-03-26 16:00 ` Rik van Riel
2001-03-26 16:30 ` David L. Parsley [this message]
2001-03-26 17:15 ` Jonathan Morton
2001-04-03 1:04 ` Marcelo Tosatti
2001-04-03 9:44 Szabolcs Szakacsits
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=3ABF6EA0.A2454B66@linuxjedi.org \
--to=parsley@linuxjedi.org \
--cc=chromi@cyberspace.org \
--cc=linux-mm@kvack.org \
--cc=riel@conectiva.com.br \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox