Subject: Re: Minor performance tweak to bcopy_page.S
To: Ben Harris <bjh21@netbsd.org>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: port-arm32
Date: 03/08/2001 17:06:55
--juZjCTNxrMaZdGZC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Mar 08, 2001 at 04:03:29PM +0000, Ben Harris wrote:
> Hmm.  At the moment, our memcpy() has an overhead of two instructions per
> loop in the aligned case, the same as bcopy_page (though memcpy()
> currently uses smaller blocks).  There is, admittedly, a startup overhead
> of about fifteen instructions, and about the same at the end, though I'm
> not sure that's worth worrying about on a 4-KB copy.

thats 3%, right? Err... 1.5%. If you get it for free, why not take it?
The kernel does a lot of block copying, I believe.

	-is

--juZjCTNxrMaZdGZC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBOqet/jCn4om+4LhpAQEXiwf7BHMMtcufKhBdMaQ5vMZ0lvn2iVWbLSYo
PY3Qv96EuxObco/nkaW4ldG64JxzvGknr4MrWJGHzY7rJFJY2bAo9m2bl4sHqBnM
PweqTKqfNj3npJjJMTA4t9xcWylwpuJLtwPdR82RQm4HN9Me4POxY0An6qzoUby4
BRMDWimIjOiGOSod6r57H9WspnIzUdWXtdnCJkv27KzxvVezNVyQSPVR8oUXwqDX
ZI0qgDrgyczQhF0ZBMbj+TXdJtJ1KJeHnRFwXQj3ZNcArSfkc4Y7Z3RHFjRiHAoJ
nbexxYfFJqYuQqTnaXv2aoiihY+iJ99dsk0JxN3czocM0NZvieZIkQ==
=fG+M
-----END PGP SIGNATURE-----

--juZjCTNxrMaZdGZC--