From owner-freebsd-questions Thu Oct 14 13:38:36 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns3.perceptionpub.com (ns3.perceptionpub.com [208.218.82.136]) by hub.freebsd.org (Postfix) with ESMTP id 9324A151A2 for ; Thu, 14 Oct 1999 13:38:26 -0700 (PDT) (envelope-from dhummel@rtheory.com) Received: from rtheory.com (dave@localhost [127.0.0.1]) by ns3.perceptionpub.com (8.8.8/8.8.8) with ESMTP id QAA05056; Thu, 14 Oct 1999 16:38:24 -0400 (EDT) (envelope-from dhummel@rtheory.com) Message-ID: <38063F40.1F302DD9@rtheory.com> Date: Thu, 14 Oct 1999 16:38:24 -0400 From: Dave Hummel X-Mailer: Mozilla 4.61 [en] (X11; I; FreeBSD 2.2.8-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: nmbclusters and netstat -m Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Searched the mailing list, but I just don't get it: How do I interpret the output of netstat -m? The following example makes it confusing (all from 3.3 Stable) nmbclusters is supposed to equal 512+MAXUSERSx16, so the first example actually reduces nmbclusters from the default : Example: maxusers=256, nmbclusters set to 4096 %netstat -m 68/416 mbufs in use: 65 mbufs allocated to data 3 mbufs allocated to packet headers 64/182/4096 mbuf clusters in use (current/peak/max) 416 Kbytes allocated to network (32% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines Same Machine: maxusers=512, nmbclusters not explicitly set %netstat -m 68/128 mbufs in use: 65 mbufs allocated to data 3 mbufs allocated to packet headers 64/68/8704 mbuf clusters in use (current/peak/max) 152 Kbytes allocated to network (89% in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines I will stick with this one example because it is very representative of what I have found. With the exception of max mbuf clusters in use my my numbers are lower when I would expect them to be higher: 68/128 mbufs in use: <- I would expect this to mean 68 in use out of 128 total, but this can't be right. 152 Kbytes allocated to network (89% in use) <- Why fewer? What does this really mean? Thanks, Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message