Time to bump default VM_SWZONE_SIZE_MAX?

John Baldwin jhb at freebsd.org
Fri Aug 24 14:17:10 UTC 2012


On Friday, August 24, 2012 8:45:43 am Dag-Erling Smørgrav wrote:
> John Baldwin <jhb at freebsd.org> writes:
> > Note that on i386 you can't get more than 4GB of RAM without PAE, and if you
> > have any modern x86 box with > 4GB of RAM, you are most likely running amd64
> > on it, not i386.  I think i386 would be fine to just keep the limit it had.
> 
> The limit we had was insufficient for 8 GB of swap.

In absolute or practical terms?  Not all swap blocks are fully utilized.  At
Y! the install script we used would compute the maximum theoretical swap zone
needed and then cut it in half, and this worked quite well.  Also, keep in mind,
this is for i386, not amd64.  At this point i386 is going to be used on smaller
systems (e.g. netbooks, etc.), not servers that have lots of swap.

-- 
John Baldwin


More information about the freebsd-current mailing list