From: "Quintela Carreira Juan J." <quintela@vexeta.dc.fi.udc.es>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Rajagopal Ananthanarayanan <ananth@sgi.com>,
Andrea Arcangeli <andrea@suse.de>,
Benjamin Redelings I <bredelin@ucla.edu>,
linux-mm@kvack.org
Subject: Re: [DATAPOINT] pre7-6 will not swap
Date: 09 May 2000 03:52:46 +0200 [thread overview]
Message-ID: <ytt66sov6a9.fsf@vexeta.dc.fi.udc.es> (raw)
In-Reply-To: Linus Torvalds's message of "Sat, 6 May 2000 12:35:00 -0700 (PDT)"
>>>>> "linus" == Linus Torvalds <torvalds@transmeta.com> writes:
linus> in vmscan.c, and that seems to be quite well-behaved too (but if somebody
linus> has the energy to test the two different versions, I'd absolutely love to
linus> hear results..)
Hi Linus,
I have tested two versions of the patch (against vanilla
pre7-6), the first was to remove the test altogether (I think this is
from Rajagopal):
--- pre7-6/mm/vmscan.c Fri May 5 23:58:56 2000
+++ testing/mm/vmscan.c Mon May 8 23:30:52 2000
@@ -114,8 +114,9 @@
* Don't do any of the expensive stuff if
* we're not really interested in this zone.
*/
- if (!page->zone->zone_wake_kswapd)
+/* if (!page->zone->zone_wake_kswapd)
goto out_unlock;
+*/
/*
* Ok, it's really dirty. That means that
Second one is the Linus suggestion, change the test for:
diff -u -urN --exclude=CVS --exclude=*~ --exclude=.#* --exclude=TAGS pre7-6/mm/vmscan.c testing2/mm/vmscan.c
--- pre7-6/mm/vmscan.c Fri May 5 23:58:56 2000
+++ testing2/mm/vmscan.c Tue May 9 01:46:08 2000
@@ -114,7 +114,7 @@
* Don't do any of the expensive stuff if
* we're not really interested in this zone.
*/
- if (!page->zone->zone_wake_kswapd)
+ if (page->zone->free_pages > page->zone->pages_high)
goto out_unlock;
/*
and thred one was the classzone-25 patch from Andrea.
The test is one of my tests:
while (true); do time ./mmap002; done
which the size parameter adjusted to the size of te memory of the
system.
The results are:
vanilla pre7-6 kills *all* my processes after 2 minutes and a half
pre7-6 + Rajagopal: Works quite well, times are stable between 2m20
and 3m10 (didn't kill any processes)
pre7-6 + Linus: Kill all the processes after 3m and a few
seconds.
pre7-6 + classzone25: between 2m8 seconds and 2m23.
2.2.15: between 1m50 and 2m15 (the time is quite stable around 1m50)
It has killed one process in 7 so far.
If you need more information, let me know. As always comments,
suggestions are welcome.
Later, Juan.
--
In theory, practice and theory are the same, but in practice they
are different -- Larry McVoy
--
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-05-09 1:52 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <8evk0f$7jote$1@fido.engr.sgi.com>
2000-05-06 17:12 ` Rajagopal Ananthanarayanan
2000-05-06 4:25 ` Benjamin Redelings I
2000-05-06 19:35 ` Linus Torvalds
2000-05-06 5:35 ` Benjamin Redelings I
2000-05-06 21:46 ` Rik van Riel
2000-05-06 22:24 ` Rajagopal Ananthanarayanan
2000-05-06 14:03 ` Benjamin Redelings I
2000-05-07 0:22 ` Rik van Riel
2000-05-07 2:23 ` Linus Torvalds
2000-05-07 17:40 ` Rik van Riel
2000-05-07 17:53 ` Linus Torvalds
2000-05-07 19:13 ` Rajagopal Ananthanarayanan
2000-05-07 19:30 ` Linus Torvalds
2000-05-08 20:40 ` gprof data for pre7-6 Rajagopal Ananthanarayanan
2000-05-09 1:52 ` Quintela Carreira Juan J. [this message]
2000-05-09 2:28 ` [DATAPOINT] pre7-6 will not swap Rajagopal Ananthanarayanan
2000-05-09 2:33 ` Linus Torvalds
2000-05-09 3:31 ` Rajagopal Ananthanarayanan
2000-05-09 15:56 ` [DATAPOINT] pre7-8 swaps with FREE mem? Benjamin Redelings I
2000-05-06 20:12 ` PG_referenced and lru_cache (cpu%) Roger Larsson
2000-05-06 18:31 ` Rik van Riel
2000-05-06 22:16 ` Roger Larsson
2000-05-05 8:07 [DATAPOINT] pre7-6 will not swap Benjamin Redelings I
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=ytt66sov6a9.fsf@vexeta.dc.fi.udc.es \
--to=quintela@vexeta.dc.fi.udc.es \
--cc=ananth@sgi.com \
--cc=andrea@suse.de \
--cc=bredelin@ucla.edu \
--cc=linux-mm@kvack.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