Re: Analyzing wired memory?

[ Available lists | Index of freebsd-hackers | Month of Feb 2011 | Week of 8 Feb 2011 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Robert Watson <rwatson@FreeBSD.org>
Date
8 Feb 2011 18:27:23
Subject
Re: Analyzing wired memory?
Message-ID
alpine.BSF.2.00.1102081825370.12092@fledge.watson.org

In reply to
References to

[ Hide this part ]
 
On Tue, 8 Feb 2011, Alan Cox wrote:

> On Tue, Feb 8, 2011 at 6:20 AM, Ivan Voras <ivoras@freebsd.org> wrote:
>
>> Is it possible to track by some way what kernel system, process or thread
>> has wired memory? (including "data exists but needs code to extract it")
>>
> No.
>
>
>> I'd like to analyze a system where there is a lot of memory wired but not
>> accounted for in the output of vmstat -m and vmstat -z. There are no user
>> processes which would lock memory themselves.
>>
>> Any pointers?
>>
> Have you accounted for the buffer cache?

John and I have occasionally talked about making procstat -v work on the
kernel; conceivably it could also export a wired page count for mappings where
it makes sense. Ideally procstat would drill in a bit and allow you to see
things at least at the granularty of "this page range was allocated to UMA".

Robert


Elapsed time: 0.205 seconds