Subject: Re: cpu_switch (was Re: 1.5 Release documentation ...)
To: Richard Earnshaw <rearnsha@arm.com>
From: David Brownlee <abs@netbsd.org>
List: port-arm32
Date: 11/16/2000 20:31:21
On Thu, 9 Nov 2000, Richard Earnshaw wrote:

> [...arm32 pmap changes...]
>
> The net result is that there are only a miniscule number of cases where we
> need to flush the entire cache (and I'm writing this now on the machine
> which has the modifications made to prove it :-)
>
> The overall effect when running a configure of gnu make (a useful test,
> since it is a shell script that forks a very large number of short-running
> processes) was that with the changes I had made we reduced the number of
> entire cache flushes from ~24000 to ~18000; and halved the number of calls
> to splx (2,000,000 -> 1,000,000).  Of the remaining cache flushes, the
> breakdown was as follows:
>
>                 0.02    0.00      44/17880       pmap_clean_page [89]
>                 0.71    0.00    1719/17880       switch_exit [141]
>                 3.17    0.00    7675/17880       pmap_remove [15]
>                 3.49    0.00    8442/17880       cpu_switch <cycle 3> [32]
> [17]     6.8    7.39    0.00   17880         sa110_cache_purgeID [17]
>
> showing that finding a way to fix pmap_remove could be very beneficial.

	Just curious... are there any plans to get your current
	improvements into the tree, or are you working on an even
	better mousetrap? :)

                David/absolute
			       -- www.netbsd.org: A pmap for every occasion --