Subject: Re: mmap(2) performance netbsd-1-6 vs. -current
To: Jason Thorpe <thorpej@wasabisystems.com>
From: enami tsugutomo <enami@but-b.or.jp>
List: tech-kern
Date: 10/20/2003 07:21:08
> (In your first test, you were still performing the mapping operations,
> you just weren't faulting in any pages except the first one.)
There was no fault even in the first mapping. And since the first one
isn't unmapped (ptr[0] is 0xdeadbeef), number of mapping increases on
each outer iteration. So, the time difference in the first test is
also due to map entry merging, I guess.
enami.