Subject: Re: kernel->userland r/o page mapping
To: Matthew Mondor <mm_lists@pulsar-zone.net>
From: Andrew Doran <ad@netbsd.org>
List: tech-kern
Date: 03/08/2007 14:03:22
[ignoring the shared page item for a moment, sorry..]

On Thu, Mar 08, 2007 at 07:45:52AM -0500, Matthew Mondor wrote:

> $ time ./clocktest1 1000000
>     8.35s real     0.52s user     7.81s system
> $ time ./clocktest2 1000000
>     8.50s real     0.52s user     7.96s system
> $ time ./clocktest3 1000000
>     3.40s real     0.29s user     3.09s system

Those numbers don't make sense to me. What CPU and what release were
they done on? From an Athlon MP @ 1GHz running 4.99.13:

$ time ./clocktest1 1000000
    1.36s real     0.17s user     1.13s system
$ time ./clocktest2 1000000
    1.35s real     0.08s user     1.23s system
$ time ./clocktest3 1000000
    4.15s real     0.19s user     2.55s system

Cheers,
Andrew