Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Oct 2004 11:06:16 -0500
From:      Ryan Sommers <ryans@gamersimpact.com>
To:        Jan Srzednicki <w@expro.pl>
Cc:        hackers@freebsd.org
Subject:   Re: Wired memory monitoring
Message-ID:  <415ED1F8.7030705@gamersimpact.com>
In-Reply-To: <20041002114846.GA23339@miranda.expro.pl>
References:  <20041002114846.GA23339@miranda.expro.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Jan Srzednicki wrote:

>Hello,
>
>I am investigating some VM issues on FreeBSD. I have noticed that wired
>memory grows quite rapidly on forking lots of processes. After those
>processes exit, it drops a bit, but still can use about 100MB after
>launching 3000 processes. I think it's not a leak, as subsequent forks
>don't cause it to grow noticeably.
>
>I'm rather curious what eats all that memory. sysctl vm.zone shows some
>high values, but they're are not high in memory usage terms, even
>considering 50% (or so) efficiency of the slab allocator.
>
>The question is, are there any other memory inspecting tools that would
>allow me to see where is all that wired memory? And, are there any ways
>to control it's behaviour (eg. to free unused per-process structures and
>data)?
>
>greetings,
>  
>
Wouldn't that be the zone allocator grabbing pages from the free list 
and adding them to non-pagable per process structures?

-- 
Ryan Sommers
ryans@gamersimpact.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?415ED1F8.7030705>