Subject: Re: UBC code and performance improvements
To: Laine Stump <lainestump@rcn.com>
From: Jason R Thorpe <thorpej@zembu.com>
List: current-users
Date: 11/30/2000 14:54:52
On Thu, Nov 30, 2000 at 04:59:40PM -0500, Laine Stump wrote:

 > I just updated to -current (from something around 1.5_BETA), built a
 > kernel (after removing the existing build directory), rebooted, did
 > make build of userland, rebooted again, then did another kernel
 > build. I only noticed a difference of about 30 seconds 14:53 vs 15:23)
 > between the first kernel build (done using 1.5_BETA) and the last one
 > (using all 1.5L). Did I miss some change that I was supposed to make
 > to enable UBC, or is this just not a good benchmark? (I'm using a more
 > or less GENERIC kernel, btw, no setting of BUFPAGES, NBUFS or any of
 > that)

Well, the reboot obviously cleared the cache that held all those
source files....

Try this:

	Time kernel build
	reboot
	cd /usr/src/sys; find . -name "*.[chSs]" -exec cat {} \; > /dev/null
	Time kernel build

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>