On 9/21/07, love_code meta <[EMAIL PROTECTED]> wrote:
> Now I 'm testing mmap function, and my pagesize is 4k bytes. After mapping
> 8k virtual memory, by dtrace I find there is only one pagefault when I
> access memory like that s[0] , s[4096].
>
> The following is my test spteps.
> 1. fd = open(
What are you using in dtrace to count page faults?
max
love_code meta wrote:
> Hi All
>
> Now I 'm testing mmap function, and my pagesize is 4k bytes. After
> mapping 8k virtual memory, by dtrace I find there is only one
> pagefault when I access memory like that s[0] , s[4096].
>
> The f
Hi All
Now I 'm testing mmap function, and my pagesize is 4k bytes. After mapping
8k virtual memory, by dtrace I find there is only one pagefault when I access
memory like that s[0] , s[4096].
The following is my test spteps.
1. fd = open("/var/tmp/mmap.file", O_RDWR);
2. I'm sur