From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 5 21:26:50 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FF0D1065670; Tue, 5 Oct 2010 21:26:50 +0000 (UTC) (envelope-from arundel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 71D7C8FC1F; Tue, 5 Oct 2010 21:26:50 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o95LQoFT050495; Tue, 5 Oct 2010 21:26:50 GMT (envelope-from arundel@freefall.freebsd.org) Received: (from arundel@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o95LQnnj050491; Tue, 5 Oct 2010 21:26:49 GMT (envelope-from arundel) Date: Tue, 5 Oct 2010 21:26:49 GMT Message-Id: <201010052126.o95LQnnj050491@freefall.freebsd.org> To: elias@pro.via-rs.com.br, arundel@FreeBSD.org, freebsd-bugs@FreeBSD.org From: arundel@FreeBSD.org Cc: Subject: Re: bin/18114: iostat(8): msps from iostat is wrong 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: Tue, 05 Oct 2010 21:26:50 -0000 Synopsis: iostat(8): msps from iostat is wrong State-Changed-From-To: suspended->feedback State-Changed-By: arundel State-Changed-When: Tue Oct 5 21:05:01 UTC 2010 State-Changed-Why: After some research in connection with this PR I believe it can be closed. Revision r81134 (from Aug 2001) switched from compute_stats(3) to devstat_compute_statistics(3). With this change a lot of 'real' kernel stats could be accessed from within iostat(8). One of these stats is: " DSM_MS_PER_TRANSACTION_FREE type: long double * The average duration of transactions of the specified type between the acquisi- tion of previous and current. " This means that 'msps' is now being derived from actual kernel stats and no longer from 'tps'. Since this is such an old PR and I'm not 100% sure I got this right, I'm keeping it in feedback state until somebody can verify or falsify my assumption. Cheers. Alex http://www.freebsd.org/cgi/query-pr.cgi?pr=18114