From owner-freebsd-current@FreeBSD.ORG Sun Aug 12 22:45:49 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C95C51065672 for ; Sun, 12 Aug 2012 22:45:49 +0000 (UTC) (envelope-from bounces+73574-dfb6-freebsd-current=freebsd.org@sendgrid.me) Received: from o3.shared.sendgrid.net (o3.shared.sendgrid.net [208.117.48.85]) by mx1.freebsd.org (Postfix) with SMTP id 71AA68FC0A for ; Sun, 12 Aug 2012 22:45:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.info; h= message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; s=smtpapi; bh=TDxFf2h2ZURqsdyCfXZABC M4SDI=; b=FT6jO4V1anM8HOHmUWQtCjtazP2Db3VvuFSnMRXs5U+HMReP7pCzx1 zaOOXH1usL+KFRryogEDoupJN/wntioYXZ8ngW22ZltJCW9nwAsU95Qsmns7odwY IHwM4Bq5U9RdId0PTP8aNl78SE/CwWKywQWdenumgH/cKp9b8RWqY= Received: by 10.8.40.42 with SMTP id mf64.4584.502832186 Sun, 12 Aug 2012 17:45:44 -0500 (CDT) Received: from mail.tarsnap.com (unknown [10.60.208.13]) by mi1 (SG) with ESMTP id 50283218.53d5.1023089 for ; Sun, 12 Aug 2012 17:45:44 -0500 (CST) Received: (qmail 37027 invoked from network); 12 Aug 2012 22:41:40 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by ec2-107-20-205-189.compute-1.amazonaws.com with ESMTP; 12 Aug 2012 22:41:40 -0000 Received: (qmail 24623 invoked from network); 12 Aug 2012 22:44:07 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by clamshell.daemonology.net with SMTP; 12 Aug 2012 22:44:07 -0000 Message-ID: <502831B7.1080309@freebsd.org> Date: Sun, 12 Aug 2012 15:44:07 -0700 From: Colin Percival User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120731 Thunderbird/14.0 MIME-Version: 1.0 To: FreeBSD current X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Sendgrid-EID: XhyBwObMhraAR+zdwMupjQ6BIqbhdEfc+6p+uBxS7S8e+ELJ8nyUuZ+RzXcbPkSJZY7FQS9PixoaHYJibD9kQVUFocCGtxreo3hUjiH/khjhpaT/0QADOoie5hVnjf7EnUR3RLE6w3b3JS7b9wxxqIcW1WqzBR4IntztXrZA0fA= Subject: Time to bump default VM_SWZONE_SIZE_MAX? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 22:45:49 -0000 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