kern/75277: netstat -m 'mbufs in use' output appears to be incorrect

Robert Watson rwatson at FreeBSD.org
Fri Jul 22 02:54:30 GMT 2005


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


More information about the freebsd-bugs mailing list