From: "M.H.VanLeeuwen" <vanl@megsinet.net>
To: Stephan von Krawczynski <skraw@ithnet.com>
Cc: andihartmann@freenet.de, riel@conectiva.com.br,
alan@lxorguk.ukuu.org.uk, andrea@suse.de,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [2.4.17/18pre] VM and swap - it's really unusable
Date: Mon, 31 Dec 2001 14:13:16 -0600 [thread overview]
Message-ID: <3C30C6DC.E7F8A2AB@megsinet.net> (raw)
In-Reply-To: <Pine.LNX.4.33L.0112292256490.24031-100000@imladris.surriel.com> <3C2F04F6.7030700@athlon.maya.org> <3C309CDC.DEA9960A@megsinet.net> <20011231185350.1ca25281.skraw@ithnet.com>
Stephan von Krawczynski wrote:
>
> On Mon, 31 Dec 2001 11:14:04 -0600
> "M.H.VanLeeuwen" <vanl@megsinet.net> wrote:
>
> > [...]
> > vmscan patch:
> >
> > a. instead of calling swap_out as soon as max_mapped is reached, continue to
> try> to free pages. this reduces the number of times we hit
> try_to_free_pages() and> swap_out().
>
> I experimented with this some time ago, but found out it hit performance and
> (to my own surprise) did not do any good at all. Have you tried this
> stand-alone/on top of the rest to view its results?
No benchmarks specifically to show changes yet. Hmmm, I found quite the opposite from
an interactive feeling on SMP and I was happy not to have a kernel killing processes
out of the blue when it started hitting the upper limits of VM. Especially when there
was still plenty of cache to be evicted (the original reason for the OOM tamer).
Yes, your performance loss may be from having less cache overall since the kernel is
swapping out less. OTOH we tend to not hit shrink_[di]cache_memory much less with this
change.
I'll try to time some kernel compiles with the vmscan patch...
compile times and amount of swap used afterwards, from a cold start and subsequent
compile, etc.
Andreas Hartmann generated a comparison of many kernel VM's including Andrea's and Rick's
and the last AC patch. I'll send it to you separately since it is rather large and
everyone Cc'd has already seen it.
As was pointed out earlier it sure will be nice once we have some cache stats...
Willing to give this one a try to see if it is still a performance hit for you?
VM has probably change since "some time ago". ;)
Martin
next prev parent reply other threads:[~2001-12-31 20:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.LNX.4.33L.0112292256490.24031-100000@imladris.surriel.com>
[not found] ` <3C2F04F6.7030700@athlon.maya.org>
2001-12-31 17:14 ` [PATCH] [2.4.17/18pre] VM and swap - it's really unusable M.H.VanLeeuwen
2001-12-31 17:53 ` Stephan von Krawczynski
2001-12-31 20:13 ` M.H.VanLeeuwen [this message]
2002-01-04 2:14 ` M.H.VanLeeuwen
2002-01-04 12:33 ` Stephan von Krawczynski
2002-01-04 14:14 ` Andrea Arcangeli
2002-01-04 14:24 ` Stephan von Krawczynski
2002-01-04 14:51 ` Andrea Arcangeli
2002-01-05 2:20 ` M.H.VanLeeuwen
2002-01-04 14:11 ` Andrea Arcangeli
2002-01-05 19:47 ` José Luis Domingo López
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=3C30C6DC.E7F8A2AB@megsinet.net \
--to=vanl@megsinet.net \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=andihartmann@freenet.de \
--cc=andrea@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=riel@conectiva.com.br \
--cc=skraw@ithnet.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