site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=xyvoeM/SSm60t8nfkOkcIVSNtW4qxZpSAuQjHm6DL5c=; b=lHB3MHwByCnHD5Hlk7AfMDnVCKsy/nGT8wUXYV/FUKow7BTmR7nwCuy/u5gBeAukG9 67cflTee+Ujb0Br32bByCQdwHd5rJMZO5QqOuD2IUw5jxjWQh6eVBAopP3lKJWIqZyKm lrF3l6VBsWd8FFeFzkFCWv9hgM2JPRqonsAV0= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=A3j8ABq6Ov+77dx4xjCgtYtQ1snHUr7n24f+ZD8uT1ZARv1t1yUZsQbkby9mtErg7Z /mh29tW/82YYAjfDhi50ltMbdGBF9L44hhqw63Wy+yeS3U8txp5o7x4Jf6CkMxXOJ8ZY iY8+C3whegrCU53CERmmgwHiPd3DGrptvY2PY= 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com