mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jim Sibley" <jimsibley@earthlink.net>
To: wookie@osdl.org
Cc: riel@conectiva.com.br, linux-kernel@vger.kernel.org,
	thunder@lightweight.ods.org
Subject: RE: Killing/balancing processes when overcommited
Date: Fri, 13 Sep 2002 14:13:34 -0700	[thread overview]
Message-ID: <Springmail.0994.1031951614.0.51325400@webmail.pas.earthlink.net> (raw)



Tim wrote:
>  There is another solution.  And that is never >allocate memory unless
>you have swap space.  Yes, the issue is that you >need to have lots of
>disk allocated to swap but on a big machine you >will have that space.

How do you predict if a program is going to ask for more memory? Maybe it only
needs additional memory for a short time and is a good citizen and gives it
back?

How much disk needs to be allocated for swap? In 32 bit, each logged in user
is limited to 2 GB, so do we need 2 GB for each logged on user? 250 users, 500
GB of disk?

In a 64 bit system, how much swap would you reserve?

Actually, another OS took this approach in the early 70's and this was quickly
junked when they found out how much disk they really had to keep in reserve
for paging.

>  This way the offending process that asks for >more memory will be
>the one that gets killed.  Even if the 1st couple >of ones aren't the
>misbehaving process eventually it will ask for >more memory and suffer
>process execution.  

It may not be the "offending process" that is asking for more memory. How do
you judge "offending?"







             reply	other threads:[~2002-09-13 21:08 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-13 21:13 Jim Sibley [this message]
2002-09-13 22:31 ` Timothy D. Witham
2002-09-13 22:38   ` Timothy D. Witham
2002-09-13 22:44   ` Rik van Riel
2002-09-13 23:12     ` Timothy D. Witham
2002-09-16  7:29     ` Helge Hafting
2002-09-16 14:03       ` Rik van Riel
2002-09-16 18:49         ` Timothy D. Witham
2002-09-16 19:11           ` Rik van Riel
2002-09-16 20:27             ` Timothy D. Witham
2002-09-14  0:23   ` Jim Sibley
  -- strict thread matches above, loose matches on Subject: below --
2002-09-12 19:00 Jim Sibley
2002-09-12 19:08 ` Thunder from the hill
2002-09-12 20:35   ` Alan Cox
2002-09-12 20:43     ` Thunder from the hill
2002-09-12 20:55       ` Alan Cox
2002-09-12 21:15         ` Thunder from the hill
2002-09-12 21:22           ` Jesse Pollard
2002-09-12 23:08           ` Alan Cox
2002-09-12 23:12             ` Thunder from the hill
2002-09-12 21:19       ` Jesse Pollard
2002-09-12 21:56         ` Thunder from the hill
2002-09-13  7:51           ` Giuliano Pochini
2002-09-13 10:17             ` Thunder from the hill
2002-09-12 19:09 ` Rik van Riel
2002-09-13  8:05 ` Giuliano Pochini
2002-09-13 10:54   ` Helge Hafting
2002-09-13 13:02     ` Giuliano Pochini
2002-09-13 16:40       ` Gerhard Mack
2002-09-13 20:23   ` Timothy D. Witham
2002-09-12 18:14 Jim Sibley
2002-09-11 18:08 Jim Sibley
2002-09-11 18:27 ` Jurriaan
2002-09-12  8:26   ` Helge Hafting
2002-09-11 21:44 ` Alan Cox
2002-09-12  7:06 ` Tim Connors
2002-09-12  7:25 ` Giuliano Pochini
2002-09-12 16:02   ` Rik van Riel
2002-09-12 18:30   ` Thunder from the hill
2002-09-13  8:17     ` Giuliano Pochini
2002-09-13 10:22       ` Thunder from the hill
2002-09-13 12:53 ` Denis Vlasenko
2002-09-13 12:54   ` Jesse Pollard

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=Springmail.0994.1031951614.0.51325400@webmail.pas.earthlink.net \
    --to=jimsibley@earthlink.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@conectiva.com.br \
    --cc=thunder@lightweight.ods.org \
    --cc=wookie@osdl.org \
    /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

all inboxes | Powered by JetHome®