kern/75277: netstat -m 'mbufs in use' output appears to be
incorrect
Kris Kennaway
kris at obsecurity.org
Thu Mar 3 01:20:17 GMT 2005
The following reply was made to PR kern/75277; it has been noted by GNATS.
From: Kris Kennaway <kris at obsecurity.org>
To: Martin Matuska <matuska at firma.zoznam.sk>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: kern/75277: netstat -m 'mbufs in use' output appears to be incorrect
Date: Wed, 2 Mar 2005 17:15:03 -0800
On Wed, Mar 02, 2005 at 04:40:24PM +0000, Martin Matuska wrote:
> The following reply was made to PR kern/75277; it has been noted by GNATS.
>
> From: Martin Matuska <matuska at firma.zoznam.sk>
> To: freebsd-gnats-submit at FreeBSD.org
> Cc:
> Subject: Re: kern/75277: netstat -m 'mbufs in use' output appears to be incorrect
> Date: Wed, 02 Mar 2005 17:38:31 +0100
>
> We encounter the same problem on latest 5-STABLE, on Sun Fire V65x (dual Xeon SMP machine w 4G of RAM)
>
> This system is under moderate network load - an average about 2000 tcp connections, ~350 permanent running processes
>
> FreeBSD 5.4-PRERELEASE i386, kernel built from sources: Sat Feb 26 18:19:57 CET 2005
>
> # netstat -m
> 4294886151 mbufs in use
> 4294959052/25600 mbuf clusters in use (current/max)
> 0/3/6656 sfbufs in use (current/peak/max)
> 4157529 KBytes allocated to network
> 0 requests for sfbufs denied
> 0 requests for sfbufs delayed
> 0 requests for I/O initiated by sendfile
> 2 calls to protocol drain routines
This is documented in the release errata. The stats are incorrect on
SMP, and making them correct would impose a performance penalty.
Kris
More information about the freebsd-bugs
mailing list