Max size of one swap slice

David Wolfskill david at catwhisker.org
Tue Aug 5 16:47:08 UTC 2008


On Tue, Aug 05, 2008 at 11:39:11PM +0800, Lin Jui-Nan Eric wrote:
> ...
> Recently we found that we can only allocate 32GB for one swap slice.

Yes.

> Does there is any sysctl oid  or any kernel option to increase it? Why
> we have this restriction?

I don't know why, though I suspect it may have something to do with the
way storage in the swap space is allocated & addressed.

You may, however, have more than 1 swap space.  (Per man pages for
swapon(8) and swapoff(8), the default maximum is 4.)

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
I submit that "conspiracy" would be an appropriate collective noun for cats.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20080805/713b483a/attachment.pgp


More information about the freebsd-stable mailing list