From owner-svn-src-head@freebsd.org Mon Nov 2 04:24:03 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E0D91A1E6F8; Mon, 2 Nov 2015 04:24:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-io0-x233.google.com (mail-io0-x233.google.com [IPv6:2607:f8b0:4001:c06::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9AD31083; Mon, 2 Nov 2015 04:24:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by ioll68 with SMTP id l68so133703419iol.3; Sun, 01 Nov 2015 20:24:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=HXef/vAqYyEP8rOS2fDxnvcTVckqdDsj028hCRfmv+U=; b=H/+f2QpYPWJd4+3YEvuzsg3cj5SCc6772jrNHZSxVbypxHayJv7xOTmQBPWaeIHxPu S2v2g64bWWbH7B9cjYYc3m1GII/7uWSV6miRTWGm+0+pG3vY5FHXNmjgjPPIJiXzM9we VAktXRJGKijgRCEnwMLFimjC6aUC8kqL/tiCHF1G74uSkilUy7nGLHPvqd3JRu4uZiQC mAEzPLIhDhDEpgYe3kpzKJj51Jz9R9mDm1TXSxBsnzYUGxBD/+HH5OInE3PzhBtWGczn /+qpdnxahlBC97Q0tRaNdIkg4fQ4iaHPX1QqJ3wIGNqVG9J2Ldr9TNdmffO6kmIj9Kox 4/BQ== MIME-Version: 1.0 X-Received: by 10.107.3.72 with SMTP id 69mr20016396iod.75.1446438243199; Sun, 01 Nov 2015 20:24:03 -0800 (PST) Received: by 10.36.46.66 with HTTP; Sun, 1 Nov 2015 20:24:03 -0800 (PST) In-Reply-To: <11056C8B-1E41-4132-BBDB-AFA37B2A104B@gmail.com> References: <201510140210.t9E2A79H056595@repo.freebsd.org> <11056C8B-1E41-4132-BBDB-AFA37B2A104B@gmail.com> Date: Sun, 1 Nov 2015 20:24:03 -0800 Message-ID: Subject: Re: svn commit: r289279 - in head/sys: kern vm From: Adrian Chadd To: NGie Cooper Cc: Jeff Roberson , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2015 04:24:04 -0000 On 1 November 2015 at 20:20, NGie Cooper wrote: > >> On Nov 1, 2015, at 20:15, Adrian Chadd wrote: >> >> well, there's one cpu, nbuf=3D128, so lofreebuffers will be >> MIN(nbuf/25+20, 128); nbuf=3D128, so it'll be 25. >> hifreebuffers will be .. (3*25)/2, so 37. > > The values calculated via the old formulas were 12 and 24, BTW. What=E2= =80=99s your maxbufspace set to? This is running with the patch reverted: root@:~ # sysctl vfs | grep buf | grep space vfs.runningbufspace: 0 vfs.bufspace: 424960 vfs.bufkvaspace: 1081344 vfs.maxbufspace: 2097152 vfs.bufmallocspace: 0 vfs.maxmallocbufspace: 78643 vfs.lobufspace: 1507328 vfs.hibufspace: 1572864 -adrian