linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@conectiva.com.br>
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: linux-mm@kvack.org
Subject: Re: [patch] memory hog protection
Date: Mon, 24 Apr 2000 08:01:18 -0300 (BRST)	[thread overview]
Message-ID: <Pine.LNX.4.21.0004240728070.3464-100000@duckman.conectiva> (raw)
In-Reply-To: <3903D353.D98969B7@mandrakesoft.com>

On Mon, 24 Apr 2000, Jeff Garzik wrote:
> Rik van Riel wrote:
> > the patch below changes the mm->swap_cnt assignment to put
> > memory hogs at a disadvantage to programs with a smaller
> > RSS.
> [...]
> 
> There are many classes of problems where preserving
> interactivity at the expense of a resource hog is a bad not good
> idea.  Think of obscure situations like database servers for
> example :)

Firstly, if this code turns out to work, I'll make it sysctl
switchable.

Secondly, about the issue you bring up; suppose a database
server has 75% of memory and with this patch that would be
reduced to 70% of memory, that's only a very small difference
to the database server itself, but a BIG difference to the
dozen or so smaller processes in the system...

regards,

Rik
--
The Internet is not a network of computers. It is a network
of people. That is its real strength.

Wanna talk about the kernel?  irc.openprojects.net / #kernelnewbies
http://www.conectiva.com/		http://www.surriel.com/

--
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/

  parent reply	other threads:[~2000-04-24 11:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-24  2:38 Rik van Riel
2000-04-24  4:53 ` Jeff Garzik
2000-04-24  7:30   ` Arjan van de Ven
2000-04-24 11:01   ` Rik van Riel [this message]
2000-04-25 20:45     ` Jeff Garzik
2000-04-26 10:53       ` Stephen C. Tweedie

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=Pine.LNX.4.21.0004240728070.3464-100000@duckman.conectiva \
    --to=riel@conectiva.com.br \
    --cc=jgarzik@mandrakesoft.com \
    --cc=linux-mm@kvack.org \
    --cc=riel@nl.linux.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