From owner-freebsd-current@FreeBSD.ORG Fri Oct 25 07:32:22 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 16EF52AB for ; Fri, 25 Oct 2013 07:32:22 +0000 (UTC) (envelope-from satan@ukr.net) Received: from hell.ukr.net (hell.ukr.net [212.42.67.68]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C2D17237A for ; Fri, 25 Oct 2013 07:32:21 +0000 (UTC) Received: from satan by hell.ukr.net with local ID 1VZbsZ-00016A-Aq ; Fri, 25 Oct 2013 10:32:19 +0300 Date: Fri, 25 Oct 2013 10:32:19 +0300 From: Vitalij Satanivskij To: Steven Hartland Subject: Re: ZFS L2ARC - incorrect size and abnormal system load on r255173 Message-ID: <20131025073219.GA4086@hell.ukr.net> References: <1381166916.122992963.5h9ygiri@frv45.ukr.net> <1381170764.32684.31088349.343931EE@webmail.messagingengine.com> <20131007185032.GA82932@hell.ukr.net> <20131007211201.GA89306@hell.ukr.net> <20131010092223.GA28347@hell.ukr.net> <5256D9D4.2030308@allanjude.com> <20131010170334.GA71635@hell.ukr.net> <3E3F85F87B0D40C6A776A42786EEF08D@multiplay.co.uk> <20131022141055.GA34810@hell.ukr.net> <5C339A76AE4C402BA5F9F1470500246A@multiplay.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5C339A76AE4C402BA5F9F1470500246A@multiplay.co.uk> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: Vitalij Satanivskij , freebsd-current@freebsd.org, Dmitriy Makarov X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 25 Oct 2013 07:32:22 -0000 Just after system reboot with this patch found kstat.zfs.misc.arcstats.l2_compress_successes: 6083 kstat.zfs.misc.arcstats.l2_compress_zeros: 1 kstat.zfs.misc.arcstats.l2_compress_failures: 296 compression on test pool (where I'm test this patch) is lz4 so is it ok ? Steven Hartland wrote: SH> If you are still seeing high load try commenting out the following SH> which should disable l2arc compression. SH> sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c SH> if (l2arc_compress) SH> hdr->b_flags |= ARC_L2COMPRESS; SH>