From owner-freebsd-current@FreeBSD.ORG Sat Nov 15 21:36:02 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A662558; Sat, 15 Nov 2014 21:36:02 +0000 (UTC) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (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 61AE2AD9; Sat, 15 Nov 2014 21:36:02 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id eu11so19707839pac.37 for ; Sat, 15 Nov 2014 13:36:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=DXuBLeIDmmKYHscqgacJX9cqJcCbr4B7aCZ5zMiwHsQ=; b=z/8uHCKJY8lBHW7fkmXJPBM9khjydRkwLdxNAUfAQO/6rAGXxoDvcjHss3QseIsDqt 5TktdDH9CFwRMoVwq5fx2AwUuQ/Cb+ZPZLaJwKBooynYfVlh+Lx9lYbierGzU2LpX2S7 e3LbnafqjqsTCR8P9SrOVGzKi9b/IeDW9cXYenmqfF1Hy4a7sGcO4+Co7LWB+nS3k4rc SImCt8xbEK+z2FtJie5KM2zRtvIuSfyYH59H+WVwOIi+samelOneUn1NWUxiDfRUEcG4 Y4bDnwyzcA4WoWF24s1Zi8i7YRe1WzgkM9itUfdFF58fxObPkl4R2Mkfu5/sQm4J/0Vt KKjA== X-Received: by 10.70.38.232 with SMTP id j8mr2335692pdk.44.1416087361953; Sat, 15 Nov 2014 13:36:01 -0800 (PST) Received: from [192.168.20.5] (c-98-247-240-204.hsd1.wa.comcast.net. [98.247.240.204]) by mx.google.com with ESMTPSA id s5sm8430237pdc.52.2014.11.15.13.36.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 15 Nov 2014 13:36:01 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_C47CA824-7345-4114-9584-37C626F3A3F1"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [PATCH] gstat on SSD From: Garrett Cooper In-Reply-To: Date: Sat, 15 Nov 2014 13:35:59 -0800 Message-Id: <1263A474-E3B8-4942-A0AA-6692F509138F@gmail.com> References: To: "Ranjan1018 ." <214748mv@gmail.com> X-Mailer: Apple Mail (2.1878.6) Cc: Alexander Motin , FreeBSD CURRENT 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 21:36:02 -0000 --Apple-Mail=_C47CA824-7345-4114-9584-37C626F3A3F1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Nov 15, 2014, at 8:04, Ranjan1018 . <214748mv@gmail.com> wrote: > 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. >=20 > What=92s next ? After testing this patch for a day, recording the = values 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. >=20 > Maurizio >=20 > FreeBSD 11 gstat.c.patch LGTM, but I don=92t have hardware capable of that precision so I can=92t = verify the patch other than build test it and run it for what existing = cases I have. What do you think Alexander? --Apple-Mail=_C47CA824-7345-4114-9584-37C626F3A3F1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUZ8c/AAoJEMZr5QU6S73e7ygH/1MScC4Ql3klFi3dpFETgXNR //yqTpjSig2sO/9c4MlWedq/pslApFekC2VgmpUQmJngzqnNpFU+iaR1Bw70y06H cX0MwlF8wFko6toRvG4oa9xPnY0gudSu2Fug+iajcVUUrzMRL0DCeNo2ORLpqEAU oi7FLs4oDElPKhEv4CSiV3EtRClYuZ038vor3wGeb4XHh31abFWlj+55A5F9ojYC sJWPa7MkYbhGaUNF7KtwykXsTpbQtMcwziAnq1kbMtYWO2L/Z2aJ4Nl6jjctF57A mpGUKMGtPHRDun2rYq7p076gGIpnpSWWTvxtf6CFY0F7szXOOPbm/JDTrA/pSEU= =la1x -----END PGP SIGNATURE----- --Apple-Mail=_C47CA824-7345-4114-9584-37C626F3A3F1--