Date: Mon, 5 Sep 2011 17:45:37 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Eitan Adler <lists@eitanadler.com> Cc: freebsd-hackers@freebsd.org, Sean Hamilton <seanhamilton@gmail.com> Subject: Re: Recommended amount of swap Message-ID: <20110905224537.GD9801@dan.emsphone.com> In-Reply-To: <CAF6rxgnY0mcHjYXjTF27=4xjSe=e2QiJ_7vZNtNC4SG=Up0Bcg@mail.gmail.com> References: <CAL8FB_2vN-1uxUgLhB-gC%2BwqPx=jKo-88rMrDzJbJ5JPJoqNNA@mail.gmail.com> <20110905194857.GC9801@dan.emsphone.com> <CAF6rxgnY0mcHjYXjTF27=4xjSe=e2QiJ_7vZNtNC4SG=Up0Bcg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 05), Eitan Adler said: > On Mon, Sep 5, 2011 at 3:48 PM, Dan Nelson <dnelson@allantgroup.com> wrote: > > In the last episode (Sep 05), Sean Hamilton said: > >> What is the state of the art for the recommended amount of swap in > >> FreeBSD? Both "normal" systems with 512 MB - 8 GB of RAM, and large > >> database systems with around 128 - 256 GB. > > Keep in mind that you need at least ram = swap to get a coredump. Not if debug.minidump is set to 1, which it is by default. In that case, only mapped memory gets dumped, which should ignore disk cache pages and be a lot smaller than your RAM size. Enabling ZFS may make your dumps bigger unless the minidump code is smart enough to not dump the ARC. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110905224537.GD9801>