Date: Mon, 28 Oct 1996 19:46:51 -0800 (PST) From: "Rodney W. Grimes" <rgrimes@GndRsh.aac.dev.com> To: dyson@freebsd.org Cc: current@freebsd.org Subject: Re: Request to add this to FAQ re: swap space Message-ID: <199610290346.TAA00655@GndRsh.aac.dev.com> In-Reply-To: <199610290016.TAA00994@dyson.iquest.net> from "John S. Dyson" at "Oct 28, 96 07:16:00 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
... hate to pick nits but....
> So, to make it simple:
>
> swap-space = min(2*RAM, sum of the sizes of all processes);
^^^ max
If you choose the ``min'' of the two above you would not get enough swap
when ever ``sum of the sizes...'' > 2*RAM, which is what you really
want.
I think you confused this, and it would have been better written:
minimum swap space = max(2*RAM, sum of the sizes of all processes);
And in reality if you know ``sum of the sizes...'' you should always use
that to calculate swap space.
> as usual, add some space in for expansion and for process growth.
Thats what ``swapon'' is for :-) :-) :-) :-)
--
Rod Grimes rgrimes@gndrsh.aac.dev.com
Accurate Automation, Inc. Reliable computers for FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610290346.TAA00655>
