Eygene Ryabinkin wrote: > Ian, > > Wed, Feb 13, 2008 at 09:59:09AM +0200, Ian FREISLICH wrote: > > I selected auto defaults for the slice editor. The system I installed > > (amd64) on has 16GB of RAM yet it only assigned 4GB for swap. I > > remember reading that on amd64 minidumps could corrupt neighbouring > > filesystems, so a full dump could be up to 16GB. There won't be > > enough space for a full dump. That said, 16GB is quite a *lot* to > > swap out and I'm not sure how the system would perform under that > > scenario. > > > > What's the prevailing wisdom? Is this a variable storage type bug > > in the installer - int in stead of an off_t or size_t? > > It is the limitation in the code, introduced in revision 1.111: > http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/sysinstall/label.c.diff?r1=1.110;r2=1.111 > ---- > +/* > + * Swap size limit for auto-partitioning (4G). > + */ > +#define SWAP_AUTO_LIMIT_SIZE 4096 > ----- Thanks. That answers about half the question. Is there any sense in making the swap partition bigger than that? When I started using FreeBSD the rule of thumb was 2.1*physical RAM. I'm not sure that holds true any more. Ian -- Ian FreislichReceived on Wed Feb 13 2008 - 07:34:14 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:27 UTC