From owner-freebsd-bugs@FreeBSD.ORG Fri Jul 22 02:54:30 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E8E416A438; Fri, 22 Jul 2005 02:54:30 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15A0643D98; Fri, 22 Jul 2005 02:54:16 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from freefall.freebsd.org (rwatson@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6M2s62G040915; Fri, 22 Jul 2005 02:54:06 GMT (envelope-from rwatson@freefall.freebsd.org) Received: (from rwatson@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6M2s6Cq040911; Fri, 22 Jul 2005 02:54:06 GMT (envelope-from rwatson) Date: Fri, 22 Jul 2005 02:54:06 GMT From: Robert Watson Message-Id: <200507220254.j6M2s6Cq040911@freefall.freebsd.org> To: justin@erenkrantz.com, rwatson@FreeBSD.org, freebsd-bugs@FreeBSD.org, rwatson@FreeBSD.org Cc: Subject: Re: kern/75277: netstat -m 'mbufs in use' output appears to be incorrect X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 02:54:30 -0000 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