• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
timing pageins and pageouts on the mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

timing pageins and pageouts on the mac


  • Subject: timing pageins and pageouts on the mac
  • From: Joel Reymont <email@hidden>
  • Date: Fri, 2 Oct 2009 18:24:07 +0100

Firefox uses mmap to map certain files into memory. This memory is then accessed somehow which results in pageins and pageouts. I would like to time the pageins and pageouts and total these up per mmap-ed file.

How can this be done on Leopard?

I see the vminfo provider with a bunch of probes (below) but how do I use it?

I'm assuming that the probes below return kernel memory addresses. Should I use mmap probe from the syscall or fbt provider to get hold of kernel memory addresses?

	Thanks, Joel

---
19018 vminfo mach_kernel vnode_pagein pgpgin
19030 vminfo mach_kernel vm_page_activate pgfrec
19031 vminfo mach_kernel vm_page_activate pgrec
19033 vminfo mach_kernel vm_pageout swapout
19034 vminfo mach_kernel vm_pageout swapin
19035 vminfo mach_kernel vm_pageout pgswapout
19036 vminfo mach_kernel vm_pageout pgswapin
19037 vminfo mach_kernel vm_pageout execpgout
19038 vminfo mach_kernel vm_pageout execpgin
19039 vminfo mach_kernel vm_pageout execfree
19041 vminfo mach_kernel vm_pageout_continue pgrrun
19049 vminfo mach_kernel vm_fault_page fspgin
19050 vminfo mach_kernel vm_fault_page anonpgin
19051 vminfo mach_kernel vm_fault_page maj_fault
19052 vminfo mach_kernel vm_fault_page pgin
19057 vminfo mach_kernel vm_pageout_scan fsfree
19058 vminfo mach_kernel vm_pageout_scan anonfree
19059 vminfo mach_kernel vm_pageout_scan dfree
19062 vminfo mach_kernel vm_fault_page cow_fault
19063 vminfo mach_kernel vm_pageout_scan scan
19070 vminfo mach_kernel vm_pageout_scan rev


---
fastest mac firefox!
http://wagerlabs.com




_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: timing pageins and pageouts on the mac
      • From: Jens Alfke <email@hidden>
  • Next by Date: Re: timing pageins and pageouts on the mac
  • Next by thread: Re: timing pageins and pageouts on the mac
  • Index(es):
    • Date
    • Thread