linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Andi Kleen" <ak@suse.de>
To: "David S. Miller" <davem@redhat.com>
Cc: ak@suse.de, riel@conectiva.com.br, linux-mm@kvack.org
Subject: Re: [PATCH] 2.3.99-pre6-3+  VM rebalancing
Date: Wed, 26 Apr 2000 17:41:59 +0200	[thread overview]
Message-ID: <20000426174159.A14599@gruyere.muc.suse.de> (raw)
In-Reply-To: <200004261528.IAA13982@pizda.ninka.net>; from davem@redhat.com on Wed, Apr 26, 2000 at 08:28:21AM -0700

On Wed, Apr 26, 2000 at 08:28:21AM -0700, David S. Miller wrote:
>    From: Andi Kleen <ak@suse.de>
>    Date: 26 Apr 2000 18:31:50 +0200
> 
>    But is that still fair ? A memory hog could rapidly allocate and
>    dirty pages, killing the small innocent daemon which just needs to
>    get some work done.
> 
> If the daemon is actually doing anything, he'll reference his
> pages which will cause us to not liberate them.  If he's not doing
> anything, why should we keep his pages around?

What is if he isn't doing stuff quickly enough compared to the 
spending significant parts of the CPU just to dirty pages memory hog ? 
I imagine that the page scanning intervals  will be too slow, if 
you age more often you eat too much CPU [at least on Intel/SMP every pte
access is a locked transfer on the bus], if you do it too seldom
the memory hog can easily kill the system.

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

      reply	other threads:[~2000-04-26 15:41 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-23  2:08 Rik van Riel
2000-04-25  1:25 ` Simon Kirby
2000-04-25 15:09   ` Rik van Riel
2000-04-25 15:59     ` Andrea Arcangeli
2000-04-25 17:20       ` Rik van Riel
2000-04-25 18:36         ` Simon Kirby
2000-04-25 18:59           ` Jeff Garzik
2000-04-25 19:06             ` Simon Kirby
2000-04-25 19:34               ` Rik van Riel
2000-04-26 11:01               ` Stephen C. Tweedie
2000-04-26 11:15                 ` Rik van Riel
2000-04-26 12:29                   ` Stephen C. Tweedie
2000-04-26 12:45                     ` David S. Miller
2000-04-26 11:25                 ` David S. Miller
2000-04-26 13:00                   ` Stephen C. Tweedie
2000-04-26 13:11                     ` David S. Miller
2000-04-26 15:23                       ` Stephen C. Tweedie
2000-04-26 15:25                         ` David S. Miller
2000-04-26 16:09                           ` Stephen C. Tweedie
2000-04-27 20:28                           ` Simon Kirby
2000-04-27 22:32                           ` Jamie Lokier
2000-04-26 13:46                   ` Rik van Riel
2000-04-26 14:33                     ` David S. Miller
2000-04-26 16:31                       ` Andi Kleen
2000-04-26 15:28                         ` David S. Miller
2000-04-26 15:41                           ` Andi Kleen [this message]

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=20000426174159.A14599@gruyere.muc.suse.de \
    --to=ak@suse.de \
    --cc=davem@redhat.com \
    --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