From owner-freebsd-stable@freebsd.org Thu Jun 7 12:03:01 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A37CFE3CF2 for ; Thu, 7 Jun 2018 12:03:01 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8AAD8D286 for ; Thu, 7 Jun 2018 12:02:40 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1fQtcb-000B0j-SP; Thu, 07 Jun 2018 15:02:29 +0300 Date: Thu, 7 Jun 2018 15:02:29 +0300 From: Slawa Olhovchenkov To: Shane Ambler Cc: Peter Jeremy , freebsd-stable@freebsd.org Subject: Re: ZFS+find(1) wiring all RAM Message-ID: <20180607120229.GE1954@zxy.spb.ru> References: <20180607063924.GG1697@server.rulingia.com> <1da884f4-1442-9bba-02d3-2cedadf97a06@ShaneWare.Biz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1da884f4-1442-9bba-02d3-2cedadf97a06@ShaneWare.Biz> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2018 12:03:01 -0000 On Thu, Jun 07, 2018 at 07:04:29PM +0930, Shane Ambler wrote: > On 07/06/2018 16:09, Peter Jeremy wrote: > > I've noticed that 11-stable/amd64 has been wiring seemingly excessive > > amounts of RAM for some time (the problem goes back at least 6 months). > > This extends to getting ENOMEM errors from g_io_deliver() and out-of-swap > > errors killing processes on a low-memory system. I'm not sure when it > > started by it seems to hawe gotten worse between r331535 and r334494. > > Don't know if this will help you at all -- > > I have seen excess wired for a few years, since 10.1, I now run > 11-stable, my experience has seen the severity varying over time. > > I first reported this 28/10/2014 related to heavy disk use on a zpool. > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194654 > > The inability to get solid repeatable steps to reproduce have prevented > me from chasing this more. Can you try https://reviews.freebsd.org/D7538 ? I am try in this patch to resolve trouble w/ wired and unused memory by ARC.