Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2012 15:44:07 -0700
From:      Colin Percival <cperciva@freebsd.org>
To:        FreeBSD current <freebsd-current@freebsd.org>
Subject:   Time to bump default VM_SWZONE_SIZE_MAX?
Message-ID:  <502831B7.1080309@freebsd.org>

next in thread | raw e-mail | index | archive | help
Hi all,

If I'm understanding things correctly, the "maxswzone" value -- set by the
kern.maxswzone loader tunable or to VM_SWZONE_SIZE_MAX by default -- should
be approximately 9 MiB per GiB of swap space.

The current default for VM_SWZONE_SIZE_MAX was set in August 2002 to 32 MiB;
meaning that anyone who wants to use more than ~ 3.5 GB of swap space ought
to set kern.maxswzone in /boot/loader.conf.

Is it time to increase this default on amd64?  (I understand that keeping the
value low on i386 is important due to KVA limitations, but amd64 has far more
address space available...)

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?502831B7.1080309>