From owner-freebsd-current@freebsd.org Sat Aug 19 15:00:38 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 5C770DCB280 for ; Sat, 19 Aug 2017 15:00:38 +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 2F0EC77D07 for ; Sat, 19 Aug 2017 15:00:37 +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 3B02E20C13 for ; Sat, 19 Aug 2017 11:00:31 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Sat, 19 Aug 2017 11:00:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=2v0bu0h7ch04b7aQhi4Uga4ia45AU5Mgcq3j1A4j/ PA=; b=mMBF6swHnDENe7y+5qibb0BMa4uzGobwjtTD/IHe6KG6sB755mNhWMKWv muSfsnIUYTQLedgFlBFyGPaITIQvlQaMnTEJn3APqo0a9uEdem26uw2Xyc178vdt uUdbV3e5qA/wxdI/LEB0dzeBCcSye9+7QOmtjwtBFdNPAvC4yFyr5h/SHRmt6+US jdrhVqOq8jhe2I0BTVaEzhHAI2c4DPRvgL+0NdwRj66+W6AOOwVpVFBbKGTApaF4 lzs8qkaYFJcBrR7P5iSbTnbkLB7SEr4k0J5+D8AzssTj+XvtroKFRGBwD0Z4Rb3W ARPmRi/d4D+uq+spL13g0+p0QPvMw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=2v0bu0h7ch04b7aQhi 4Uga4ia45AU5Mgcq3j1A4j/PA=; b=qvRz0V8tHnlcNzUXqLx+ZGDPQwRYCO40Af qtj2vgxmhW1eeOuUu4ADZvFTuJHHp0gmjIt/o2oZt6vnG699a+Je3bcoty5WDu5W JbD7hw1dIWGph27hk+HtqGrYM1dKAByeLPSYhiY3HDjzaJ4B3WbPLXV5k9SVv75H UzN5c4ZK28kq6LdB+k4EyQESneU7Ja8Iv9jn0rQz+eRBA3RLdFXhewiVJ0fSII/z qaXsap2AN7Tus9sVohwk2yHIRUKw0+KL6inT/IdwKTvbAkxlXO/kxLTXNT5a2k6d 8LowzJ8WxrcwBAqTdP1WaGoASCl/ihsKy+tA8ZQIM3N/JGnv0CXQ== X-ME-Sender: X-Sasl-enc: WrH03A/M/pIzoI1cIQCYWe1Lj8E+pDAbFFYNHsyzYZjv 1503154830 Received: from pumpkin.growveg.org (pumpkin.growveg.org [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id CB4287E542 for ; Sat, 19 Aug 2017 11:00:30 -0400 (EDT) To: freebsd-current@freebsd.org From: tech-lists Subject: swapfile query Message-ID: <77fdd002-2873-eb67-c851-0127ae3141b6@zyxst.net> Date: Sat, 19 Aug 2017 16:00:28 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 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 15:00:38 -0000 Hello list, (freebsd-current is r317212 on this machine) I have a machine with 128GB RAM. When 12-current was installed, for some reason the swap partition was set to 4GB. I see sometimes via top and also via daily status reports that sometimes the machine runs out of swap. It doesn't crash the machine though. I know how to add more swap with a swapfile. My questions are: 1. should I make more than one swapfile, say 4x32GB or will it be ok with one 128GB swapfile? 2. will the 4GB already there as swap play nice with a swapfile, or multiple swapfiles? Or should I deactivate the 4GB swap partition first? 3. should total swap be 1x 2x or some other multiple of RAM these days? FreeBSD and the swap partition reside on the same SSD. The swapfiles, if created, will reside on this SSD. thanks, -- J.