From owner-svn-src-all@FreeBSD.ORG Sun Nov 18 14:05:34 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A889F131 for ; Sun, 18 Nov 2012 14:05:34 +0000 (UTC) (envelope-from andrey@zonov.org) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 070288FC19 for ; Sun, 18 Nov 2012 14:05:33 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id j13so3871425lah.13 for ; Sun, 18 Nov 2012 06:05:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :x-gm-message-state; bh=8m/5JBYF0TM+VlylNfNys6NkdKDS647qgLfr7oZTOBs=; b=nKWC2WuOWQsmAMbV+uCX6KdRcPMXj8eJoVMiCDWM1czmYOBzHcHjklzR/d/BMShZwG ADJOuWlBxqPflEsIojxrZ3v1Ta4p02jvgsWll/W9fLKcTMI5F1O+jbLu34odHdc+rLaS JOFSn2OcoLQTGGnvt3x4cgZKfwWjVCo8pGTg+/gSGkSXMZxIUbgL2FfpIVA2zJkjdceH e/mrnVzsIqSCKUKzHOw1bBQraYtpO31Dqums5pH31w2Ic6TTj4RrQgIMZ77jnX1WLStf /9Iq0buwD9o9rxaGxQXkj+XDGC4k5FiLOnrpcDkanqXn8vmBWIB8vIc3DXPwjuNsHIoU PHBQ== Received: by 10.112.25.168 with SMTP id d8mr4001990lbg.61.1353247532575; Sun, 18 Nov 2012 06:05:32 -0800 (PST) Received: from zont-osx.local (ppp95-165-129-155.pppoe.spdop.ru. [95.165.129.155]) by mx.google.com with ESMTPS id g5sm2543164lbk.7.2012.11.18.06.05.30 (version=SSLv3 cipher=OTHER); Sun, 18 Nov 2012 06:05:31 -0800 (PST) Sender: Andrey Zonov Message-ID: <50A8EB3E.6060807@FreeBSD.org> Date: Sun, 18 Nov 2012 18:05:50 +0400 From: Andrey Zonov User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andre Oppermann Subject: Re: svn commit: r242847 - in head/sys: i386/include kern References: <201211100208.qAA28e0v004842@svn.freebsd.org> <509DC25E.5030306@mu.org> <509E3162.5020702@FreeBSD.org> <509E7E7C.9000104@mu.org> <509E830D.5080006@mu.org> <509E847E.30509@mu.org> <509E8930.50800@mu.org> <509EA869.6030407@freebsd.org> <509ED439.8090607@mu.org> <509EDD93.3020001@freebsd.org> In-Reply-To: <509EDD93.3020001@freebsd.org> X-Enigmail-Version: 1.4.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5432546BFB618862B9771CC5" X-Gm-Message-State: ALoCoQnHk+2g1XLjyXmHMwLhxUXBXZnkmcyMHzFu6OhUW+yPMgNSszGBThyuutSXGYQlcQygkHrt Cc: src-committers@freebsd.org, Eitan Adler , Peter Wemm , Alfred Perlstein , svn-src-all@freebsd.org, Alfred Perlstein , svn-src-head@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2012 14:05:34 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5432546BFB618862B9771CC5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/11/12 3:04 AM, Andre Oppermann wrote: > On 10.11.2012 23:24, Alfred Perlstein wrote: >> On 11/10/12 11:18 AM, Andre Oppermann wrote: >>> On 10.11.2012 19:04, Peter Wemm wrote: >>>> This is complicated but we need a simple user visible view of it. I= t >>>> really needs to be something like "nmbclusters defaults to 6% of >>>> physical ram, with machine dependent limits". The MD limits are bad= >>>> enough, and using bogo-units like "maxusers" just makes it worse. >>> >>> Yes, that would be optimal. >>> >> No it would not. >> >> I used to be able to tell people "hey just try increasing maxusers" >> and they would and suddenly the >> box would be OK. >> >> Now I'll have to remember 3,4,5,10,20x tunable to increase? >=20 > No. The whole mbuf and cluster stuff isn't allocated or reserved > at boot time. We simply need a limit to prevent it from exhausting > all available kvm / physical memory whichever is less. >=20 For now, we have limit which does not allow to run even one igb(4) NIC in 9k jumbo configuration. > Other than that there is no relation to maxusers except historic > behavior. >=20 > So the ideal mbuf limit is just short of keeling the kernel over > no matter what maxusers says. There also isn't much to tune then > as the only fix would be to add more physical ram. >=20 --=20 Andrey Zonov --------------enig5432546BFB618862B9771CC5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJQqOtBAAoJEBWLemxX/CvTiZgIALl+03GzL3LGauhLb9x5QpBr F+XHMonHE9AqggQtpy9BWzrq88NkLYaHi9rF6iCpd/lvPan6RUs5EuO25ZPkYlhO 0OTQ3KEDvAJ0ylwmER9kr2uuu7m9aj8JhX+N4Xb9PDKdeVt/m2kNGW6xbeEbtf1z gCec2E2i2NPuI0xGYILABY4RZTYOBYnd0/OQrpDMtCMyUfBHXx0VoI1HGA8hlgQn hus9qm+4BORFG3UJuX4NS0483Rn+41YT/Pf/tZ2HT8MVQ7buSV8yGYBsWDy/nf+B AOfWEcNBjiKpH9s+gxSdM1n0DGEowDEPJaLdoi5Y3hPOrGnBfftOT/vOlrSLC6s= =jwZO -----END PGP SIGNATURE----- --------------enig5432546BFB618862B9771CC5--