[prev in list] [next in list] [prev in thread] [next in thread]
List: opensolaris-mdb-discuss
Subject: Re: [mdb-discuss] ::memstat shows kernel memory increase but
From: Jonathan Adams <jonathan.adams () sun ! com>
Date: 2009-01-04 10:01:10
Message-ID: 20090104100110.GF255886 () eng ! sun ! com
[Download RAW message or body]
On Wed, Dec 24, 2008 at 10:25:09AM +0530, Pramod Gunjikar wrote:
> I have a test which basically results is a large number of DMA & kmem
> resources to be allocated and freed up. After running
> the test, I observe that ::memstat shows that the kernel pages has
> jumped from around 12% to around 50%. From the core files,
> ::findleaks does not report any leaks as a result of running the tests.
>
> Is it that ::memstat just counts the physical pages which are marked
> with KAS, and kmem_free & DMA free do not really result
> in physical pages taken out of KAS. Or is it possible that ::findleaks
> has missed reporting some leaks.
The kmem subsystem only returns kernel storage when memory becomes "tight".
Until then, most frees will simply put the buffer on a freelist, for
quick allocation later.
Cheers,
- jonathan
> Appreciate your inputs and thoughts on the above.
>
> Thanks
> Pramod
>
> _______________________________________________
> mdb-discuss mailing list
> mdb-discuss@opensolaris.org
_______________________________________________
mdb-discuss mailing list
mdb-discuss@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic