From owner-freebsd-stable@FreeBSD.ORG Tue Jan 12 14:35:36 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1085F106566B for ; Tue, 12 Jan 2010 14:35:36 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id BB48B8FC0A for ; Tue, 12 Jan 2010 14:35:35 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NUhqH-000756-99 for freebsd-stable@freebsd.org; Tue, 12 Jan 2010 15:35:33 +0100 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 15:35:33 +0100 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 12 Jan 2010 15:35:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Tue, 12 Jan 2010 15:35:12 +0100 Lines: 20 Message-ID: References: <201001121050.04982.mail@maxlor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.23 (X11/20091210) In-Reply-To: <201001121050.04982.mail@maxlor.com> Sender: news Subject: Re: Please explain FreeBSD 8.0/ZFS memory usage patterns X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2010 14:35:36 -0000 Benjamin Lutz wrote: > Hello, > > I've set up a FreeBSD-8.0/amd64 system with ZFS as a home server, and I'm a > bit puzzled by it's memory usage pattern; I'm seeing total memory usage > oscillate between roughly 50% and 90% of my RAM. So I've tracked memory > usage over the course of about 12 hours and graphed it here: > > http://www.maxlor.com/temp/mem.png How do you get those categories: kern, proc? I suppose proc could be sum of resident sizes of processes (aka "RES" in top) and kern could be sysctl vm.kmem_size? > In the first half of the graph, there's a torrent download running, which I > assume causes the large fluctuations in memory usage. However, memory usage Large fluctuations in which category? The ARC? (since "proc" doesn't fluctuate much).