From: Roman Zippel <roman@augan.com>
To: linux-mm <linux-mm@kvack.org>
Subject: nice vmm test case
Date: Wed, 05 Jul 2000 19:06:59 +0200 [thread overview]
Message-ID: <39636B33.81BD5EC6@augan.com> (raw)
Hi,
I have a simple test case that is a nice example of bad mm perfomance
under load (I tested 2.2.16 and 2.4.0-test2, it makes no big
difference). I simply edit a large file with vi (25MB file on a 64MB
system) and watch the some vmm values in top. As a simple edit operation
I remove the first character of every line (or just type ":%s,^.,,").
The interesting point is when the virtual size of vi reaches the amount
of available memory, the perfomance drops immediatly and the system is
only busy with swapping. It's interesting to watch the SWAP and RSS
numbers, they constantly jump between 0 and 50MB.
This example also shows nicely which effect it has on interactive tasks,
if you watch the numbers of top itself (I changed the update delay to 1s
and sorted it by age, so it's easier to follow), top is also busy with
keeping it's own few pages in memory (under 2.4 top generates more page
faults than vi).
The right answer would be probably page aging, but I doubt to see that
in 2.4. Anyway, the swap_cnt in vmscan.c looks suspicious, maybe it's
initiliazed too high?
bye, Roman
--
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 reply other threads:[~2000-07-05 17:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-05 17:06 Roman Zippel [this message]
2000-07-05 17:20 Benjamin Redelings
2000-07-06 8:40 ` Roman Zippel
2000-07-06 16:37 ` John Fremlin
2000-07-07 9:37 ` Roman Zippel
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=39636B33.81BD5EC6@augan.com \
--to=roman@augan.com \
--cc=linux-mm@kvack.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