linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.9 VM/VMA subsystem works much better
@ 2001-08-22 19:58 Brad Chapman
  2001-08-23  3:18 ` Daniel Phillips
  0 siblings, 1 reply; 3+ messages in thread
From: Brad Chapman @ 2001-08-22 19:58 UTC (permalink / raw)
  To: linux-kernel

Everyone,

	Just a note: the VMA sanity patch which went in to 2.4.9
has improved Mozilla's performance considerably. I did a rough
calculation based on startup time and found that Mozilla started
approximately 10%-12% faster on 2.4.9 then 2.4.8. Plus, I've
found that swapping is actually starting to work again, although
it still tends to stick at certain times.

	Great job everyone.

Brad

=====
Brad Chapman

Permanent e-mail: kakadu_croc@yahoo.com
Current e-mail: kakadu@adelphia.net
Alternate e-mail: kakadu@netscape.net

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4.9 VM/VMA subsystem works much better
  2001-08-22 19:58 2.4.9 VM/VMA subsystem works much better Brad Chapman
@ 2001-08-23  3:18 ` Daniel Phillips
       [not found]   ` <20010823122958.36fbd525.skraw@ithnet.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Phillips @ 2001-08-23  3:18 UTC (permalink / raw)
  To: Brad Chapman, linux-kernel

On August 22, 2001 09:58 pm, Brad Chapman wrote:
> Everyone,
> 
> 	Just a note: the VMA sanity patch which went in to 2.4.9
> has improved Mozilla's performance considerably. I did a rough
> calculation based on startup time and found that Mozilla started
> approximately 10%-12% faster on 2.4.9 then 2.4.8. Plus, I've
> found that swapping is actually starting to work again, although
> it still tends to stick at certain times.
> 
> 	Great job everyone.

Make sure you have my SetPageReferenced patch in, swap is borked without 
it.

--
Daniel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.4.9 VM/VMA subsystem works much better
       [not found]   ` <20010823122958.36fbd525.skraw@ithnet.com>
@ 2001-08-23 18:22     ` Daniel Phillips
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Phillips @ 2001-08-23 18:22 UTC (permalink / raw)
  To: Stephan von Krawczynski, jlnance; +Cc: linux-kernel

On August 23, 2001 12:29 pm, Stephan von Krawczynski wrote:
> Daniel Phillips <phillips@bonn-fries.net> wrote:
> 
> > On August 22, 2001 09:58 pm, Brad Chapman wrote:
> > > Everyone,
> > > 
> > > 	Just a note: the VMA sanity patch which went in to 2.4.9
> > > has improved Mozilla's performance considerably. I did a rough
> > > calculation based on startup time and found that Mozilla started
> > > approximately 10%-12% faster on 2.4.9 then 2.4.8. Plus, I've
> > > found that swapping is actually starting to work again, although
> > > it still tends to stick at certain times.
> > > 
> > > 	Great job everyone.
> > 
> > Make sure you have my SetPageReferenced patch in, swap is borked without 
> > it.
> 
> Can you send me the patches you think should cure a straight 2.4.9 for
> re-testing (probably the one from Marcelo Tosatti, too).
> I am from the old school: don't believe what you can't test. :-)

I took the liberty of cc'ing this to the list.  This patch fixes a severe 
swap thrashing problem that was introduced by the use-once patch in 2.4.8.  I 
explained the details elsewhere.  Other than the swap problem (which was just 
an oversight, not a design error) the use-once strategy seems to be working 
fine.  My own anecdotal evidence: before, dpkg --config -a on this box was 
effectively a DoS, now I barely notice it while I'm running other 
applications.

There should be a similar hole in pagemap_nopage affecting memmapped files, 
but nobody has reported it yet.  I presume this is because it's a lot harder 
to trigger.  I'll supply a patch after I've looked at it a little more.

--- ../2.4.9.clean/mm/memory.c	Mon Aug 13 19:16:41 2001
+++ ./mm/memory.c	Sun Aug 19 21:35:26 2001
@@ -1119,6 +1119,7 @@
 			 */
 			return pte_same(*page_table, orig_pte) ? -1 : 1;
 		}
+		SetPageReferenced(page);
 	}
 
 	/*


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-08-23 18:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-22 19:58 2.4.9 VM/VMA subsystem works much better Brad Chapman
2001-08-23  3:18 ` Daniel Phillips
     [not found]   ` <20010823122958.36fbd525.skraw@ithnet.com>
2001-08-23 18:22     ` Daniel Phillips

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).