Subject: Re: UBC performance patch
To: None <thorpej@zembu.com>
From: Lennart Augustsson <lennart@mail.augustsson.net>
List: tech-kern
Date: 01/24/2001 09:22:06
I'm running with your patch on my laptop now and the difference
is very noticable.  Now I can actually do something else while
doing a `cvs update' or compiling.

Thanks!!

    -- Lennart


Jason R Thorpe wrote:

> On Tue, Jan 23, 2001 at 11:03:35PM -0000, eeh@netbsd.org wrote:
>
>  > No; but it really improves interactive performance
>  > if you do `dd if=/dev/null of=/tmp/foo'.
>
> Indeed.  I also tried a similar change, but to the case in ubc_alloc()
> where a window is recycled.  That shows similar improvement, but not
> as much in the dd example above (BTW -- /dev/zero :-)
>
> ...but my version also has less TLB invalidation traffic (the recycle
> case of ubc_alloc() already does a pmap_remove() for the UBC window, so
> the page deactication isn't as big of an expense there).