From owner-freebsd-questions@freebsd.org Thu Feb 13 16:07:32 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 63D0E1CB9AA for ; Thu, 13 Feb 2020 16:07:32 +0000 (UTC) (envelope-from yp@mm.st) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) (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 48JLxv3Xfbz49jP for ; Thu, 13 Feb 2020 16:07:31 +0000 (UTC) (envelope-from yp@mm.st) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailnew.nyi.internal (Postfix) with ESMTP id 85C5777E1 for ; Thu, 13 Feb 2020 11:07:30 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 13 Feb 2020 11:07:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mm.st; h=subject :to:references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=fm2; bh=IZyD1i3fSksB3 C4ngSNlYIXjb+fAnPUx++5th7HTUFQ=; b=a6HkdIOnJwpqN7zdieGG9YnKTelK3 SPqa2T7bboSGSIja4V257is0zIQs5tbyFT+LIM3iXwZCGjAXg1zZEuKvyVP5RhZd +x/+c2I4lmDTg1RTEAs/0yU0ToaUG8xrPytQSBmYP7Tp0rhDhb9Pb8sQ/nyxgqsa fAy/MgRkBKfKbwUx4Gv0VAtCh2WwsZCAOfblbYOLtzWJEOc8/7JvXaEQRVVF5Xvm l3hxM2gNpY02RjPEtaf2p5Yf/asOw25FbreiJBNtHVcsJz8A31l5PtlvNNQV8qQZ e4+sRcZJyRUxhao1plmd0GHIkedzNb15IXQCj21NSeRbxoh0pZ4bnWKPw== 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=IZyD1i3fSksB3C4ngSNlYIXjb+fAnPUx++5th7HTU FQ=; b=VpcNcUeX4+sHbaBpqNXvEAaIRsur1ZQiReg4o242GH33pj5/NEAuHEjen yom0KH8Y5d9ExIG4YJrf2h6/bVqktxfmtWcOE1KLtFwiYowN17uFN//Uj311YMRK kFsZ+Owgwxgy80lu9sMQhbGGXzvkRaPWKtuK1ytockp67GZ/N0K9XYmOfe1SM/9t XONxdEQ+OWu+Vn1qxf23LyPcmUKnJ/QyFSzQuuuvq2QhwMN01wV0zrlQCM/g7nYH pDTeNMeCcbMhmeryQMtn29J1VmjE+vQN2QVTVxbsvdlzhYU0DO4iLkytl3/kHo2H cWyN+WX3uTt4IWuyFp66EoUkfh+Yw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrieekgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejre dttdefheenucfhrhhomhephihpsehmmhdrshhtnecukfhppedujeekrdduheehrdegrddu heejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephi hpsehmmhdrshht X-ME-Proxy: Received: from earth.local (unknown [178.155.4.157]) by mail.messagingengine.com (Postfix) with ESMTPA id A7AE23060840 for ; Thu, 13 Feb 2020 11:07:23 -0500 (EST) Subject: Re: some questions about disk partitioning and filesystems and booting To: freebsd-questions@freebsd.org References: <20200213150229.GC14144@bastion.zyxst.net> <20200213155256.GD14144@bastion.zyxst.net> From: yp@mm.st Message-ID: <1090523a-377c-9412-5db1-38e825e35956@mm.st> Date: Thu, 13 Feb 2020 19:07:21 +0300 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200213155256.GD14144@bastion.zyxst.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48JLxv3Xfbz49jP X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mm.st header.s=fm2 header.b=a6HkdIOn; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=VpcNcUeX; dmarc=pass (policy=none) header.from=mm.st; spf=pass (mx1.freebsd.org: domain of yp@mm.st designates 66.111.4.221 as permitted sender) smtp.mailfrom=yp@mm.st X-Spamd-Result: default: False [-3.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[221.4.111.66.rep.mailspike.net : 127.0.0.18]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.221]; FREEMAIL_FROM(0.00)[mm.st]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[mm.st:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[mm.st,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[221.4.111.66.list.dnswl.org : 127.0.5.1]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[157.4.155.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[mm.st]; R_DKIM_ALLOW(-0.20)[mm.st:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(0.00)[ip: (-9.80), ipnet: 66.111.4.0/24(-4.89), asn: 11403(-2.68), country: US(-0.05)]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_NO_DN(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Feb 2020 16:07:32 -0000 tech-lists wrote: [...] >>> Doesn't swap need to be 2x RAM on a fast disk? >> >> No, this is really an old assumption. > > OK, but doesn't it need to be at least the size of RAM if for example a > panic > happens? I thought the contents of RAM were written to swap. Now this is something I wanted to ask as well, as I didn't find anything really describing what needs to be done for large (not really so this days, 32 and higher) RAM systems -- I have a system with 64GB RAM and adding a 64GB swap partition makes system unhappy (I don't remember the exact message). With minidumps and all, what size it should be so that dump is guaranteed to be saved?