From owner-freebsd-questions@FreeBSD.ORG Sat Apr 12 22:01:11 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55CBE106564A for ; Sat, 12 Apr 2008 22:01:11 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 93FF08FC18 for ; Sat, 12 Apr 2008 22:01:10 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl44-27.kln.forthnet.gr [77.49.171.27]) (authenticated bits=128) by igloo.linux.gr (8.14.2/8.14.2/Debian-3) with ESMTP id m3CM0xQr011835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 13 Apr 2008 01:01:05 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m3CM0xvN005955; Sun, 13 Apr 2008 01:00:59 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m3CM0fVQ005954; Sun, 13 Apr 2008 01:00:41 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Mel References: <200804122051.UAA06080@sopwith.solgatos.com> <200804122355.49490.fbsd.questions@rachie.is-a-geek.net> Date: Sun, 13 Apr 2008 01:00:41 +0300 In-Reply-To: <200804122355.49490.fbsd.questions@rachie.is-a-geek.net> (Mel's message of "Sat, 12 Apr 2008 23:55:49 +0200") Message-ID: <87ve2m7mye.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m3CM0xQr011835 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.914, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.48, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd@sopwith.solgatos.com, freebsd-questions@freebsd.org Subject: Re: 6.2 -> 7.0 now mlock(2) fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2008 22:01:11 -0000 On Sat, 12 Apr 2008 23:55:49 +0200, Mel wrote: > As for the sysctl, I'm pretty sure it's a loader tunable, like the > more known kern.maxdsiz. It is. The pageout daemon initializes max_wired with: /* XXX does not really belong here */ if (vm_page_max_wired == 0) vm_page_max_wired = cnt.v_free_count / 3; If it's already initialized when the pageout daemon runs, it won't change its value. Before tweaking it, it would be nice to know more details though :)