From owner-freebsd-stable@FreeBSD.ORG Tue Jan 19 16:40:52 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 9E08A106566B for ; Tue, 19 Jan 2010 16:40:52 +0000 (UTC) (envelope-from garrettmoore@gmail.com) Received: from mail-iw0-f177.google.com (mail-iw0-f177.google.com [209.85.223.177]) by mx1.freebsd.org (Postfix) with ESMTP id 632908FC0C for ; Tue, 19 Jan 2010 16:40:52 +0000 (UTC) Received: by iwn7 with SMTP id 7so2955824iwn.7 for ; Tue, 19 Jan 2010 08:40:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=sn2VuBXJmks5LEFL/IIiNzCvstRoVyHtdHIw1BszUeQ=; b=Klp4RJlekB33hnRjcRmHJpH1dYW/QJ5mO0p0pPzFQOCbYFkAtulXjKRqkK9fm1Ao8+ /SEzOVUPSt0/IemckD9LmoGt09bHKFlIwZFfbF+NS1KMvr09ykvlxhAOn330uDGUm9OU KS1pop1eD4tonsVQU2i4Mc5HQc07oYnrA3ZLQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=eKao5MGnc7bFSmU0uW8UgO3dsivQVBlyTXndw1VysTXTLuWtbNqHrrxinq55+Z7Tp/ cQjlXWkz0q+uESeuJ1xI9zwkNnxUIsxKfDj5errMUJHL90YliRF81OemgK0EJyC9uQFD wHfegyZUrygpzGoN8wkjHPH9pXJtYP9B4+2sM= MIME-Version: 1.0 Received: by 10.231.157.83 with SMTP id a19mr898058ibx.41.1263919251012; Tue, 19 Jan 2010 08:40:51 -0800 (PST) In-Reply-To: <201001180829.48126.npapke@acm.org> References: <7346c5c61001030842r7dc76199y51e4c1c90a3eea6e@mail.gmail.com> <7346c5c61001091706m45a3a2a5k3ca8bb0c4bec5ea8@mail.gmail.com> <7346c5c61001171521w1ca4738w98e8fcca24643cda@mail.gmail.com> <201001180829.48126.npapke@acm.org> Date: Tue, 19 Jan 2010 11:40:50 -0500 Message-ID: <7346c5c61001190840k31466754i32b2ae833390b79b@mail.gmail.com> From: Garrett Moore To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: ZFS performance degradation over time 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, 19 Jan 2010 16:40:52 -0000 I've been watching my memory usage and I have no idea what is consuming memory as 'Active'. Last night I had around 6500MB 'Active' again, 1500MB Wired, no inact, ~30MB buf, no free, and ~100MB swap used. My performance copying ZFS->ZFS was again slow (<1MB/s). I tried killing rTorrent and no significant amount of memory was reclaimed - maybe 100MB. `ps aux` showed no processes using any significant amount of memory, and I was definitely nowhere near 6500MB usage. I tried running the perl oneliner again to hog a bunch of memory, and almost all of the Active memory was IMMEDIATELY marked as Free, and my performance was excellent again. I'm not sure what in userland could be causing the issue. The only things I've installed are rTorrent, lighttpd, samba, smartmontools, vim, bash, Python, Perl, and SABNZBd. There is nothing that *should* be consuming any serious amount of memory. On Mon, Jan 18, 2010 at 11:29 AM, Norbert Papke wrote: > On January 17, 2010, Garrett Moore wrote: > > I upgraded my system to 8GB of ram to see if that would help. It hasn't > > made much of a difference. After having rTorrent running for a while, my > > performance again tanked. Around 6.5GB of memory was showing as 'Active' > > according to top. > > 6.5GB of "active" memory seems to imply that a user process is growing or a > large number of user processes are being created. I would expect ZFS's > cache > to increase the size of "wired" memory. > > Sorry, I have not followed this thread closely. Are you sure that the > degradation is ZFS related? Could it be caused by, for instance, a > userland > memory leak? What happens to active memory when you restart rtorrent? > > Cheers, > > -- Norbert Papke. > npapke@acm.org > > http://saveournet.ca > Protecting your Internet's level playing field > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >