From owner-freebsd-current Wed Aug 28 20:06:52 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA07073 for current-outgoing; Wed, 28 Aug 1996 20:06:52 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA07057; Wed, 28 Aug 1996 20:06:49 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id UAA20774; Wed, 28 Aug 1996 20:06:38 -0700 (PDT) Message-Id: <199608290306.UAA20774@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: "Jonathan M. Bresler" cc: current@freefall.freebsd.org Subject: Re: [Q] mbuf 128 vs 1k bytes ?? In-reply-to: Your message of "Wed, 28 Aug 1996 19:42:28 PDT." <199608290242.TAA04661@freefall.freebsd.org> From: David Greenman Reply-To: dg@root.com Date: Wed, 28 Aug 1996 20:06:38 -0700 Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >an mbuf is 128 bytes. mbuf clusters are 2k. per my reading of >/sys/i386/include/param.h Yes, that is correct. >why does "vmstat -m" report mbufs as being 1k in -current ?? are Because mbufs are no longer allocated out of the malloc pool. The 1K entry that you are seeing is just some malloc() in the kernel that (probably bogusly) specified the M_MBUF type. I only have 1 of them on my machine: Type InUse MemUse HighUse Limit Requests Limit Limit Size(s) mbuf 1 1K 1K 19661K 1 0 0 1K ...anyway, this is all much to do about nothing. To find out how many network buffers are in-use, use netstat -m. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project