Date: Sat, 25 Jan 2003 11:32:35 -0800 (PST) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/sysinstall label.c Message-ID: <200301251932.h0PJWZHo054126@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dillon 2003/01/25 11:32:35 PST
Modified files:
usr.sbin/sysinstall label.c
Log:
Change the nominal swap calculation from 1/2 physical memory to 1/8
physical memory. The default is still 2x physical memory. The nominal
calculation is used to back-off swap auto-allocation ('A'uto command)
when the disk is not large enough to accomodate all filesystem auto-defaults.
This gives other partitions (like /usr) more priority over swap on smaller
disks.
This should help solve reported auto-sizing failures on machines with small
hard drives and huge amounts of memory. For example, a machine with 2G of
disk and 4G of memory will fail to auto-size without this fix.
MFC after: 3 days
Revision Changes Path
1.136 +1 -1 src/usr.sbin/sysinstall/label.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301251932.h0PJWZHo054126>
