From owner-freebsd-fs@FreeBSD.ORG Sun Aug 24 00:06:42 2014 Return-Path: Delivered-To: freebsd-fs@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 C5CC8D45; Sun, 24 Aug 2014 00:06:42 +0000 (UTC) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 91D2A3C5E; Sun, 24 Aug 2014 00:06:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=OiOoOSnfDRy6fDsH3GUInNDF+V5EnI3M7GVeybSPbl0=; b=NRKJg0CcXQqb3dEdHO/zgtw4hGutbUZAOx/w0NbKhKLtppWUSuszTssmoCn8TiHZdXZlTvDNvoCQCYTXRg+w+yrWzeBoWN09j57zXfaYX0B1gdZ1qSLwluIL+3H3CXvaTW7VL6R9Afylahni3MjIPXmuCO2FKG49aut4xejYiRY=; Received: from localhost.lerctr.org ([127.0.0.1]:36570 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XLLKR-000MY1-9G; Sat, 23 Aug 2014 19:06:40 -0500 Received: from 104-54-221-134.lightspeed.austtx.sbcglobal.net ([104.54.221.134]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Sat, 23 Aug 2014 19:06:39 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sat, 23 Aug 2014 19:06:39 -0500 From: Larry Rosenman To: Steven Hartland Subject: Re: [Bug 187594] [zfs] [patch] ZFS ARC behavior problem and fix In-Reply-To: References: Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.0.2 X-Spam-Score: -3.6 (---) X-LERCTR-Spam-Score: -3.6 (---) X-Spam-Report: SpamScore (-3.6/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.668 X-LERCTR-Spam-Report: SpamScore (-3.6/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.668 Cc: freebsd-fs@freebsd.org, bugzilla-noreply@freebsd.org, owner-freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2014 00:06:42 -0000 On 2014-08-23 09:13, Steven Hartland wrote: > ----- Original Message ----- From: > > >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187594 >> >> --- Comment #25 from fullermd@over-yonder.net --- >> Having run it for a few months on a number of boxes now, my general >> impression >> is that it seems like it goes a little _too_ far (with default options >> anyway; >> I haven't tried any tuning) toward making the ARC give up its lunch >> money to >> anybody who looks threateningly at it. It feels like it should be a >> bit more >> aggressive, and historically was and did fine. >> >> However, it's still _much_ nicer than the unpatched case, where the >> rest of the >> system starves and hides out in the swap space. So from here, while >> perhaps >> imperfect and in need of some tuning work, it's still a significant >> improvement >> on the prior state, so landing it sounds just fine to me. > > The attached updated patch, which has been cleaned up and hammered hard > at > the event here I'll look to commit to head soon if there are no > objections. > > Regards > Steve > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" and a full buildworld buildkernel garners" cc -O2 -pipe -I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/compat/opensolaris -I/usr/src/cddl/usr.bin/zinject/../../compat/opensolaris/include -I/usr/src/cddl/usr.bin/zinject/../../compat/opensolaris/lib/libumem -I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs/common -I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzfs_core/common -I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libzpool/common -I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/lib/libnvpair -I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common/sys -I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/uts/common -I/usr/src/cddl/usr.bin/zinject/../../../sys/cddl/contrib/opensolaris/common/zfs/ -I/usr/src/cddl/usr.bin/zinject/../../contrib/opensolaris/head -I/usr/src/cddl/usr.bin/zinject/../../lib/libumem -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Qunused-arguments -fstack-protector -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Wno-unknown-pragmas -o zinject zinject.o translate.o -lgeom -lm -lnvpair -lumem -luutil -lzfs_core -lzfs -lzpool /usr/obj/usr/src/tmp/usr/lib/libzpool.so: undefined reference to `kmem_free_target_size' cc: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. make[5]: stopped in /usr/src/cddl/usr.bin/zinject *** Error code 1 Stop. make[4]: stopped in /usr/src/cddl/usr.bin *** Error code 1 Stop. make[3]: stopped in /usr/src/cddl *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 (c) E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688