Re: new procfs memory analysis feature

2006-12-11 Thread Joe Green
Albert Cahalan wrote: David Singleton writes: Add variation of /proc/PID/smaps called /proc/PID/pagemaps. Shows reference counts for individual pages instead of aggregate totals. Allows more detailed memory usage information for memory analysis tools. An example of the output shows the shared

Re: new procfs memory analysis feature

2006-12-11 Thread Albert Cahalan
David Singleton writes: Add variation of /proc/PID/smaps called /proc/PID/pagemaps. Shows reference counts for individual pages instead of aggregate totals. Allows more detailed memory usage information for memory analysis tools. An example of the output shows the shared text VMA for ld.so and

Re: new procfs memory analysis feature

2006-12-11 Thread Albert Cahalan
David Singleton writes: Add variation of /proc/PID/smaps called /proc/PID/pagemaps. Shows reference counts for individual pages instead of aggregate totals. Allows more detailed memory usage information for memory analysis tools. An example of the output shows the shared text VMA for ld.so and

Re: new procfs memory analysis feature

2006-12-11 Thread Joe Green
Albert Cahalan wrote: David Singleton writes: Add variation of /proc/PID/smaps called /proc/PID/pagemaps. Shows reference counts for individual pages instead of aggregate totals. Allows more detailed memory usage information for memory analysis tools. An example of the output shows the shared

Re: new procfs memory analysis feature

2006-12-08 Thread Jeremy Fitzhardinge
Paul Cameron Davies wrote: > The PTI gathers all the open coded iterators togethers into one place, > which would be a good precursor to providing generic iterators for > non performance critical iterations. > > We are completing the updating/enhancements to this PTI for the latest > kernel, to be

Re: new procfs memory analysis feature

2006-12-08 Thread Jeremy Fitzhardinge
Paul Cameron Davies wrote: The PTI gathers all the open coded iterators togethers into one place, which would be a good precursor to providing generic iterators for non performance critical iterations. We are completing the updating/enhancements to this PTI for the latest kernel, to be

Re: new procfs memory analysis feature

2006-12-07 Thread Paul Cameron Davies
On Thu, 7 Dec 2006, Andrew Morton wrote: I think that's our eighth open-coded pagetable walker. Apparently they are all slightly different. Perhaps we shouild do something about that one day. At UNSW we have abstracted the page table into its own layer, and are running an alternate page

Re: new procfs memory analysis feature

2006-12-07 Thread david singleton
On Dec 7, 2006, at 5:46 PM, Andrew Morton wrote: On Thu, 7 Dec 2006 17:07:22 -0800 david singleton <[EMAIL PROTECTED]> wrote: Attached is the 2.6.19 patch. It still has the overflow bug. + do { + ptent = *pte; + if (pte_present(ptent)) { +

Re: new procfs memory analysis feature

2006-12-07 Thread Andrew Morton
On Thu, 7 Dec 2006 17:07:22 -0800 david singleton <[EMAIL PROTECTED]> wrote: > Attached is the 2.6.19 patch. It still has the overflow bug. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: new procfs memory analysis feature

2006-12-07 Thread david singleton
Attached is the 2.6.19 patch. pagemaps.patch Description: Binary data On Dec 7, 2006, at 2:36 PM, Andrew Morton wrote: On Thu, 07 Dec 2006 14:09:40 -0800 David Singleton <[EMAIL PROTECTED]> wrote: Andrew, this implements a feature for memory analysis tools to go along with

Re: new procfs memory analysis feature

2006-12-07 Thread david singleton
On Dec 7, 2006, at 2:36 PM, Andrew Morton wrote: On Thu, 07 Dec 2006 14:09:40 -0800 David Singleton <[EMAIL PROTECTED]> wrote: Andrew, this implements a feature for memory analysis tools to go along with smaps. It shows reference counts for individual pages instead of aggregate

Re: new procfs memory analysis feature

2006-12-07 Thread Andrew Morton
On Thu, 07 Dec 2006 14:09:40 -0800 David Singleton <[EMAIL PROTECTED]> wrote: > > Andrew, > > this implements a feature for memory analysis tools to go along with > smaps. > It shows reference counts for individual pages instead of aggregate > totals for a given VMA. > It helps memory

new procfs memory analysis feature

2006-12-07 Thread David Singleton
Andrew, this implements a feature for memory analysis tools to go along with smaps. It shows reference counts for individual pages instead of aggregate totals for a given VMA. It helps memory analysis tools determine how well pages are being shared, or not, in a shared libraries, etc.

new procfs memory analysis feature

2006-12-07 Thread David Singleton
Andrew, this implements a feature for memory analysis tools to go along with smaps. It shows reference counts for individual pages instead of aggregate totals for a given VMA. It helps memory analysis tools determine how well pages are being shared, or not, in a shared libraries, etc.

Re: new procfs memory analysis feature

2006-12-07 Thread Andrew Morton
On Thu, 07 Dec 2006 14:09:40 -0800 David Singleton [EMAIL PROTECTED] wrote: Andrew, this implements a feature for memory analysis tools to go along with smaps. It shows reference counts for individual pages instead of aggregate totals for a given VMA. It helps memory analysis

Re: new procfs memory analysis feature

2006-12-07 Thread david singleton
On Dec 7, 2006, at 2:36 PM, Andrew Morton wrote: On Thu, 07 Dec 2006 14:09:40 -0800 David Singleton [EMAIL PROTECTED] wrote: Andrew, this implements a feature for memory analysis tools to go along with smaps. It shows reference counts for individual pages instead of aggregate totals

Re: new procfs memory analysis feature

2006-12-07 Thread david singleton
Attached is the 2.6.19 patch. pagemaps.patch Description: Binary data On Dec 7, 2006, at 2:36 PM, Andrew Morton wrote: On Thu, 07 Dec 2006 14:09:40 -0800 David Singleton [EMAIL PROTECTED] wrote: Andrew, this implements a feature for memory analysis tools to go along with

Re: new procfs memory analysis feature

2006-12-07 Thread Andrew Morton
On Thu, 7 Dec 2006 17:07:22 -0800 david singleton [EMAIL PROTECTED] wrote: Attached is the 2.6.19 patch. It still has the overflow bug. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: new procfs memory analysis feature

2006-12-07 Thread david singleton
On Dec 7, 2006, at 5:46 PM, Andrew Morton wrote: On Thu, 7 Dec 2006 17:07:22 -0800 david singleton [EMAIL PROTECTED] wrote: Attached is the 2.6.19 patch. It still has the overflow bug. + do { + ptent = *pte; + if (pte_present(ptent)) { +

Re: new procfs memory analysis feature

2006-12-07 Thread Paul Cameron Davies
On Thu, 7 Dec 2006, Andrew Morton wrote: I think that's our eighth open-coded pagetable walker. Apparently they are all slightly different. Perhaps we shouild do something about that one day. At UNSW we have abstracted the page table into its own layer, and are running an alternate page