Date: Mon, 6 Dec 2010 15:30:01 -0600 From: Brooks Davis <brooks@freebsd.org> To: Ronald Klop <ronald-freebsd8@klop.yi.org> Cc: freebsd-fs@freebsd.org Subject: Re: How to choose the size of swap? Message-ID: <20101206213001.GI7429@lor.one-eyed-alien.net> In-Reply-To: <op.vm872qsr8527sy@pinky> References: <4CFBD7F9.3000307@ukr.net> <op.vm872qsr8527sy@pinky>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sun, Dec 05, 2010 at 07:53:04PM +0100, Ronald Klop wrote: > On Sun, 05 Dec 2010 19:20:41 +0100, Vladislav V. Prodan > <universite@ukr.net> wrote: > >> We have several servers with 8|16 GB of memory, 2|4 harddrive >> (RAID1|RAID10 using ZFS) >> These servers will work with Mysql, the size of databases that are >> several times larger than the size of memory. >> >> What would recommend to expose the size of swap? >> On a separate partition or a file? >> At hand is not loaded with servers that have the swap was over 20 MB ... >> In an extreme case, let the output "top v" to this maillist > > You might not need swap to run the database. But the swap space is also > used for making a kernel dump in case of a problem. In that case swap space > must be as large as the amount of memory in the machine. (As far as I > know.) With minidumps (the default) you'll need much less that physical memory in general. In most cases 2GB should be more than enough for dumps. -- Brooks [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFM/VXZXY6L6fI4GtQRAvm6AKC/XFFRfz0y47O2C0CH7JicWMZsPQCgsjyB 1s9h1BGxjMBqYIc5R/oeimo= =3/6H -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101206213001.GI7429>
