Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2005 02:54:06 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        justin@erenkrantz.com, rwatson@FreeBSD.org, freebsd-bugs@FreeBSD.org, rwatson@FreeBSD.org
Subject:   Re: kern/75277: netstat -m 'mbufs in use' output appears to be incorrect
Message-ID:  <200507220254.j6M2s6Cq040911@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
Synopsis: netstat -m 'mbufs in use' output appears to be incorrect

State-Changed-From-To: feedback->patched
State-Changed-By: rwatson
State-Changed-When: Fri Jul 22 02:53:11 GMT 2005
State-Changed-Why: 
This problem was introduced with the move to using UMA for mbuf
allocation, as the mbuf allocation stats were no longer properly
synchronized as of that time.  As a result, busy SMP systems could
see stat drived.

This problem is believed to be fixed in 7-CURRENT via the introduction
of libmemstat(3), as well as changes to uma(9) and malloc(9) statistics
gathering.  An MFC to 6.x for 6.0 is planned in the near future.  MFC
to 5.x is being considered, but will require some additional work as
there have been a number of significant changes in memory allocation
between 5.x and 6.x.  It would be helpful to confirm that the 6.x
statistics now render properly, etc.  Leaving this PR open until MFC's
take place.



Responsible-Changed-From-To: freebsd-bugs->rwatson
Responsible-Changed-By: rwatson
Responsible-Changed-When: Fri Jul 22 02:53:11 GMT 2005
Responsible-Changed-Why: 
This problem was introduced with the move to using UMA for mbuf
allocation, as the mbuf allocation stats were no longer properly
synchronized as of that time.  As a result, busy SMP systems could
see stat drived.

This problem is believed to be fixed in 7-CURRENT via the introduction
of libmemstat(3), as well as changes to uma(9) and malloc(9) statistics
gathering.  An MFC to 6.x for 6.0 is planned in the near future.  MFC
to 5.x is being considered, but will require some additional work as
there have been a number of significant changes in memory allocation
between 5.x and 6.x.  It would be helpful to confirm that the 6.x
statistics now render properly, etc.  Leaving this PR open until MFC's
take place.


http://www.freebsd.org/cgi/query-pr.cgi?pr=75277



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507220254.j6M2s6Cq040911>