Subject: Re: Recent pmap changes
To: Chris Gilbert <chris@paradox.demon.co.uk>
From: Richard Earnshaw <rearnsha@arm.com>
List: port-arm32
Date: 08/13/2001 10:34:15
> vac_me_harder now handles multi-mapped pages, if any of the mappings are 
> writable they're all marked as not cacheable. (diff from richard E)

Not quite.  The idea of the change was to only mark the pages 
not-cacheable if they are mapped more than once by the current process.  
We don't care if another process is using the page because we will always 
flush the cache when switching to that.

> Basically it's faster than it was a while back, doing a time make configure 
> on gmake now gives (with DIAGNOSTICS):
> 19.1u 41.8s 1:16.58 79.6% 0+0k 22+198io 199pf+0w
> 
> compared with 1.5.1 kernel from ftp.netbsd.org (note this is probably unfair 
> as we've also got UBC etc now, but still it's what ppl will compare against):
> 17.8u 44.4s 1:25.75 72.6% 0+0k 491+756io 695pf+0w
> 
> So overall -current is looking to be about 10% faster than 1.5.x is, 
Hmm, a good gain, IMO.

> interesting to note that current does less page faults and io.
Probably this is the UBC effect.

> Really we should find some kind of benchmark thats more accurate than this.

I think it's quite a good benchmark really -- after all, it is measuring a 
real task; though we should settle on a particular version of gmake...