From: Rik van Riel <riel@conectiva.com.br>
To: Ben LaHaise <bcrl@redhat.com>
Cc: linux-mm@kvack.org, torvalds@transmeta.com
Subject: Re: [rtf] [patch] 2.3.99-pre6-3 overly swappy
Date: Thu, 20 Apr 2000 17:13:39 -0300 (BRST) [thread overview]
Message-ID: <Pine.LNX.4.21.0004201658110.5864-100000@duckman.conectiva> (raw)
In-Reply-To: <Pine.LNX.4.21.0004201538200.8445-100000@devserv.devel.redhat.com>
On Thu, 20 Apr 2000, Ben LaHaise wrote:
> The balance between swap and shrink_mmap was upset by the recent per-zone
> changes: kswapd wakeups now call swap_out 3 times as much as before,
> resulting in increased page faults and swap out activity, especially
> under heavy io. This patch seems to help quite a bit -- can other people
> give this a try?
[snip]
> @@ -507,7 +509,7 @@
> schedule();
> if ((!zone->size) || (!zone->zone_wake_kswapd))
> continue;
> - do_try_to_free_pages(GFP_KSWAPD, zone);
> + do_try_to_free_pages(GFP_KSWAPD, zone, i == (MAX_NR_ZONES - 1));
> }
> pgdat = pgdat->node_next;
> }
This seems to mostly work for machines where each bigger zone
is a subset of the smaller zones. I don't think this scheme
would be suitable for eg. ccNUMA machines, but it may be a nice
bandaid for x86...
(I'll get to work on a more generic strategy ASAP, it'll be
very much like what I talked about on irc with Stephen and you)
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/
next prev parent reply other threads:[~2000-04-20 20:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-20 19:43 Ben LaHaise
2000-04-20 20:13 ` Rik van Riel [this message]
2000-04-21 0:25 ` Juan J. Quintela
2000-04-21 2:54 ` Ben LaHaise
2000-04-21 17:50 ` Juan J. Quintela
2000-04-22 18:14 ` Juan J. Quintela
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.0004201658110.5864-100000@duckman.conectiva \
--to=riel@conectiva.com.br \
--cc=bcrl@redhat.com \
--cc=linux-mm@kvack.org \
--cc=riel@nl.linux.org \
--cc=torvalds@transmeta.com \
/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