On Thu, Nov 02, 2006 at 12:16:31PM -0800, Erblichs wrote:
> Aawel Kakub Dawidek, et al,
> 
>       First, I am describing a moving target and maybe I
>       am off target for you...
> 
>       The memory consumption output via slab allocator 
>       functions is not really correct.
> 
>       Normally, even when memory is freed it is cached until 
>       SLEEP memory allocation fails, and then it is 
>       re-allocated. Is this your memory leak? So, memory
>       tends to so up as more and more allocated and never
>       decreased from a point, IMO.

That's not the case for FreeBSD. I wasn't clear, but statistics I used
shows me both used and freed, but kept around elements. And what I
posted what the number of really used elements.

I don't think it is a leak, because when I unload the module, the memory
if freed by ZFS, it's just that backpressure mechanism doesn't work too
well. My function is called when there is no memory in the system, is
there anything I can do from there to decrease the number of active
dnodes?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/zfs-code/attachments/20061103/600fc1d1/attachment.bin>

Reply via email to