From owner-freebsd-stable@freebsd.org Tue Jul 14 07:49:38 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A9BB99C479 for ; Tue, 14 Jul 2015 07:49:38 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id AA927697 for ; Tue, 14 Jul 2015 07:49:37 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ppp14-2-93-217.lns21.adl6.internode.on.net (HELO leader.local) ([14.2.93.217]) by ipmail06.adl6.internode.on.net with ESMTP; 14 Jul 2015 17:19:30 +0930 Message-ID: <55A4BF06.4060505@ShaneWare.Biz> Date: Tue, 14 Jul 2015 17:19:26 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Karl Denninger , freebsd-stable@freebsd.org Subject: Re: FreeBSD 10.1 Memory Exhaustion References: <55A3F9E1.9090901@denninger.net> In-Reply-To: <55A3F9E1.9090901@denninger.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 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, 14 Jul 2015 07:49:38 -0000 On 14/07/2015 03:18, Karl Denninger wrote: > The ARC is supposed to auto-size and use all available free memory. The > problem is that the VM system and ARC system both make assumptions that > under certain load patterns fight with one another, and when this > happens and ARC wins the system gets in trouble FAST. The pattern is > that the system will start to page RSS out rather than evict ARC, ARC > will fill the freed space, it pages more RSS out..... you see where this > winds up heading yes? > Something I noticed was that vfs.zfs.arc_free_target is smaller than vm.v_free_target on my desktop with 8GB I get vfs.zfs.arc_free_target: 14091 vm.v_free_target: 43195 Doesn't that cause arc allocation to trigger swapping leaving space for arc allocation.... -- FreeBSD - the place to B...Storing Data Shane Ambler