Date: Tue, 17 Apr 2007 10:29:31 +0100 (BST) From: Robert Watson <rwatson@FreeBSD.org> To: Maxim Sobolev <sobomax@FreeBSD.org> Cc: Thomas Sparrevohn <Thomas.Sparrevohn@btinternet.com>, freebsd-current@FreeBSD.org, pjd@FreeBSD.org, Joerg t <tjoerg@yahoo.com> Subject: Re: Some comments on ZFS Message-ID: <20070417102509.T84174@fledge.watson.org> In-Reply-To: <46241257.9050609@FreeBSD.org> References: <918096.41896.qm@web63712.mail.re1.yahoo.com> <46241257.9050609@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 16 Apr 2007, Maxim Sobolev wrote: > Joerg t wrote: >>> There is something weird - Just ran same test again to see whether it was >>> a fluke - it still take 1h12 - however I saw the oppersite of Joerg. The >>> "systat -vm" Freemem was permently on 2,2GB - this on a 4GB system that >>> normally shows a 1,2GB - or less after a buildworld. >> >>> hmm. Pawel are there tests that can help? >> >> also how can we determine the real memory consumption by zfs,arc and his >> vfs cache share ? >> >> how can we precisely instrument zfs ? > > The "vmstat -m" will give you precise breakdown of kernel memory usage. You'll also want to use "vmstat -z". "-m" captures memory allocated by kernel malloc(9), which is used for variable-sized objects, or objects that are irregularly allocated. "-z" captures memory allocated by the kernel zone allocator, used for regularly sized and frequently allocated objects. Small allocations in malloc(9) are actually allocated via fixed size memory buckets in the zone allocator, so if looking at "-m" as well, ignore zones who's names consist solely of a number (i.e., "16", which is the 16-byte bucket). Robert N M Watson Computer Laboratory University of Cambridge
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070417102509.T84174>