From owner-freebsd-current@FreeBSD.ORG Fri Feb 14 11:47:08 2014 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9959334E for ; Fri, 14 Feb 2014 11:47:08 +0000 (UTC) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id C7F4D1DA3 for ; Fri, 14 Feb 2014 11:47:07 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id NAA13035; Fri, 14 Feb 2014 13:47:05 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1WEHEX-000Ne9-4d; Fri, 14 Feb 2014 13:47:05 +0200 Message-ID: <52FE01FE.2000205@FreeBSD.org> Date: Fri, 14 Feb 2014 13:46:06 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Vitalij Satanivskij Subject: Re: ARC "pressured out", how to control/stabilize ? (reformatted to text/plain) References: <20140131182637.GA82526@hell.ukr.net> <20140204100823.GA95709@hell.ukr.net> <52F0F687.6050307@FreeBSD.org> <20140204171040.GA82996@hell.ukr.net> <52F12210.10604@FreeBSD.org> <20140205090449.GA9341@hell.ukr.net> <20140205122241.GA38114@hell.ukr.net> <52F4A35E.1080902@FreeBSD.org> <52FA2CA2.5000508@FreeBSD.org> <20140211140746.GA59461@hell.ukr.net> <20140211143823.GB59461@hell.ukr.net> In-Reply-To: <20140211143823.GB59461@hell.ukr.net> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Vladimir Sharun , Current FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Feb 2014 11:47:08 -0000 on 11/02/2014 16:38 Vitalij Satanivskij said the following: > Get first result's while testing l2 without compression > > Memory leak is not seen for now ( system working only 20 hours) but > zfs stats saying that l2 degraded > > output of zfs-stats -L: > > ------------------------------------------------------------------------ > ZFS Subsystem Report Tue Feb 11 16:34:43 2014 > ------------------------------------------------------------------------ > > L2 ARC Summary: (DEGRADED) > Passed Headroom: 3.81m > Tried Lock Failures: 79.52m > IO In Progress: 9 > Low Memory Aborts: 235 > Free on Write: 54.37k > Writes While Full: 9.68k > R/W Clashes: 2.82k > Bad Checksums: 211.94k > IO Errors: 0 > SPA Mismatch: 58.33m > > L2 ARC Size: (Adaptive) 243.32 GiB > Header Size: 0.36% 895.11 MiB > > L2 ARC Evicts: > Lock Retries: 45 > Upon Reading: 0 > > L2 ARC Breakdown: 38.15m > Hit Ratio: 17.79% 6.79m > Miss Ratio: 82.21% 31.36m > Feeds: 88.88k > > L2 ARC Buffer: > Bytes Scanned: 292.58 TiB > Buffer Iterations: 88.88k > List Iterations: 5.63m > NULL List Iterations: 17.26k > > L2 ARC Writes: > Writes Sent: (FAULTED) 77.95k > Done Ratio: 100.00% 77.95k > Error Ratio: 0.00% 0 > > ------------------------------------------------------------------------ > > As you can see we have Bad Checksums: 211.94k and growing > > and also > Writes Sent: (FAULTED) 77.95k > Done Ratio: 100.00% 77.95k I have no clue how this tool summarizes the statistics. I think that I would prefer output of vfs.zfs and kstat sysctl hierarchies. I have no idea what could cause those checksum errors. This will have to be investigated separately when I (or someone else) have time. > > Another question: Please provide revision number of arc.c against which was diff created (http://people.freebsd.org/~avg/l2arc-b_tmp_cdata-diag.2.patch) > Because in version in head have some small diferent's and I need manualy aply patch. I've just updated the patch in-place. It is now based r261726. Sorry for the previous version which was against my local tree. -- Andriy Gapon