From owner-freebsd-current@FreeBSD.ORG Sat Nov 15 16:04:58 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E6750C9E for ; Sat, 15 Nov 2014 16:04:58 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7A45790A for ; Sat, 15 Nov 2014 16:04:58 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id ex7so5375486wid.0 for ; Sat, 15 Nov 2014 08:04:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Po47zY48VhNTAq555hXZPxisHMeIuf4BX+DT2pt4Qh0=; b=aTaFOPLN3LeA//KMr3WY6gKOanL/FAl+sP6cnGvL+ZBVFl6BzayY8qUakOeyJUMGXV LDLHH6DHWVGiLZi5uTzP+WTpDEavgRuknmmr6aQFei2D75VcMA5EvC6cWxygsrw9qFo1 SrV0a+8zUTjM18LA2y9M3WbsWCxl92u1MpEkkyShU6yvV8DycnsxCAZR7pqo3v3yRU1c YAHFtehY2AFM4puApqkWSddIiAac6k1K/NrnPTg0iVaR/MMkkJuSjyVxHVTgvJglVlgq UH5y/Z4DU+pDJGmAO4sWO3rmNPLvNLF1J5HgPBljF72dBnfSL84yKpRPYNDVqy0OmECq 5rkA== MIME-Version: 1.0 X-Received: by 10.180.211.239 with SMTP id nf15mr13522382wic.9.1416067496817; Sat, 15 Nov 2014 08:04:56 -0800 (PST) Received: by 10.216.213.9 with HTTP; Sat, 15 Nov 2014 08:04:56 -0800 (PST) Date: Sat, 15 Nov 2014 17:04:56 +0100 Message-ID: Subject: [PATCH] gstat on SSD From: "Ranjan1018 ." <214748mv@gmail.com> To: FreeBSD CURRENT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Nov 2014 16:04:59 -0000 I am running a pair of servers with SSD. In gstat the default display of operation/ms is only one digit after the comma and there are a lot of R/W operation displayed with the 0.1 value. This simple patch displays the operation/ms with two decimal digit. What=E2=80=99s next ? After testing this patch for a day, recording the val= ues in a log file, I have found that some write operation are only 0.02 ms short, on a OCZ Vertex SSD. Probably the next patch is to display micro seconds instead of milli seconds. Maurizio FreeBSD 11 gstat.c.patch