From owner-freebsd-current@freebsd.org Sat Aug 19 17:08:33 2017 Return-Path: Delivered-To: freebsd-current@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 AACF8DD537A for ; Sat, 19 Aug 2017 17:08:33 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 7BDA681BF8 for ; Sat, 19 Aug 2017 17:08:32 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A744720E73 for ; Sat, 19 Aug 2017 13:08:31 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Sat, 19 Aug 2017 13:08:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=0ZH4SS6SsVo/wrfzDb pvxujYOcSSykvAd+Lftd8z0aY=; b=R+0gTj3ADwE0MNTDgQbq52yus2FRe+pSBA AKFxIcDfz+4iXcoPz+QF+PyYHAh06nMdwQmTFh4MjawoHqhzG3Gno1o2oOoeRaLe mBKxuNH+QLrsfV0YMJ53wq4Ukjfk50/e5ySvxi5h/52lfnOLO5wEO1L1mTfGVgYA UpVapGd9bv52H5gxBs8656LxRz+rVpUrHnrux1K2F0bcvyAMJV2giKlswmV6JxWo IwJ53V4JdyFc4GNDnTumgeSoZYU2pbO8ke+nLqMTni8wLfdCfR813d/V5du3OlyC +wGvDZHfjCDHY1/yThqOVCzZCbmS97z8es2WR/x/CI38ilRAluGA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=0ZH4SS6SsVo/wrfzDbpvxujYOcSSykvAd+Lftd8z0aY=; b=lWBMsuJZ O7FaOp0/MLKLA5JCZCEHLDZ/ObU6SG+UsW7zvaSc8HFsjuOm8C5CJCgj3CT7Y21B h9qmCiYCauBKZHzJyecHBKTWdmA8pEg83Way8Cy0oiL76xyq1paYpYOqID3vyjcJ IsZkdXcfayTsYJ7zOToprBubBfJoD2eJwJyp8vOTrsG9/ABcN96XIMSt0V74613C AMbpVv/r9CRZQ5qoWd69YtaY293x8JL8BeDdsoq9at+VMK0nPapeSouef1HIug41 xrrleA88OSvcs1nr1ftSQQcn4PAzAXiopvcaQQAcuna5USiqzs6c/ms31rWwkmXb X1qdMcH/T+c9FQ== X-ME-Sender: X-Sasl-enc: koi+Gj3kZfwIaK0uyMobxZ9eMD8q2MePP+EGVnH/nofg 1503162511 Received: from pumpkin.growveg.org (pumpkin.growveg.org [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 484CC7F980 for ; Sat, 19 Aug 2017 13:08:31 -0400 (EDT) Subject: Re: swapfile query To: freebsd-current@freebsd.org References: <201708191654.v7JGs8sM063853@slippy.cwsent.com> From: tech-lists Message-ID: Date: Sat, 19 Aug 2017 18:08:29 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <201708191654.v7JGs8sM063853@slippy.cwsent.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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: Sat, 19 Aug 2017 17:08:33 -0000 On 19/08/2017 17:54, Cy Schubert wrote: > Then it doesn't matter if you use one or many swapfiles and deleting the 4 > GB won't make a difference. Just add the desired swap as required. > > With 128 GB RAM you shouldn't be swapping anyway. If your system is you > have more serious problems than the lack of swap. The system is a bhyve host. There are 9 guests, two of them are freebsd-11-stable, the rest are ubuntu-14.04-LTS. Restarting some (but not all) of the guests has the effect of decreasing swap usage. The system also runs ZFS. The guests live on the ZFS filesystem. The OS & swap on the host are SSD and are not part of the ZFS system. What I'm seeing is, the host system won't touch swap for days. I guess when the guests get busier than an as yet unknown amount, the host starts using swap. The issue I'm having isn't so much it using swap, it's that the used swap seemingly is not liberated after it has been used, and I don't know exactly how to narrow it down. thanks, -- J.