tracking io from dynamic library code page-ins
tracking io from dynamic library code page-ins
- Subject: tracking io from dynamic library code page-ins
- From: Joel Reymont <email@hidden>
- Date: Tue, 27 Oct 2009 20:31:58 +0000
I was asked what I'm trying to achieve so here's a summary...
I'm trying to rearrange the symbols in the dynamic libraries
that Firefox uses. The libraries are mmap-ed but the pages
are hit in an order that results in bad IO performance.
We know that we are taking a hit from the dynamic library loads
but we don't know what the access patterns are and that's what
I'm trying to find out.
Once I know in what order the code pages are loaded from disk
by the virtual memory manager, I can try to translate that to
symbols and then rearrange those symbols such that the code
pages are loaded from disk more or less sequentially.
The easiest approach seems to be to piggyback on vnode_pagein
from bsd/vm/vnode_pager.c but I can't find a way to associate
the vnodes with the path names that were originally passed to open.
Any suggestions?
---
firefox for android!
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