Flexible I/O Tester development
 help / color / mirror / Atom feed
* [PATCH] Added 99.95 and 99.99 default percentiles.
@ 2012-03-16 23:47 Steven Lang
  2012-03-17 12:16 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Lang @ 2012-03-16 23:47 UTC (permalink / raw)
  To: fio

Since there are 20 slots for percentiles, but not all used by default,
I figure it doesn't hurt to add a couple extra percentiles to the
default for tail latency capture.

---
 init.c |   32 +++++++++++++++++---------------
 1 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/init.c b/init.c
index 6c74ea6..69ed30c 100644
--- a/init.c
+++ b/init.c
@@ -74,21 +74,23 @@ static char cmd_optstr[256];
 static int did_arg;

 const fio_fp64_t def_percentile_list[FIO_IO_U_LIST_MAX_LEN] = {
-	{ .u.f	=  1.0 },
-	{ .u.f	=  5.0 },
-	{ .u.f	= 10.0 },
-	{ .u.f	= 20.0 },
-	{ .u.f	= 30.0 },
-	{ .u.f	= 40.0 },
-	{ .u.f	= 50.0 },
-	{ .u.f	= 60.0 },
-	{ .u.f	= 70.0 },
-	{ .u.f	= 80.0 },
-	{ .u.f	= 90.0 },
-	{ .u.f	= 95.0 },
-	{ .u.f	= 99.0 },
-	{ .u.f	= 99.5 },
-	{ .u.f	= 99.9 },
+	{ .u.f	=  1.00 },
+	{ .u.f	=  5.00 },
+	{ .u.f	= 10.00 },
+	{ .u.f	= 20.00 },
+	{ .u.f	= 30.00 },
+	{ .u.f	= 40.00 },
+	{ .u.f	= 50.00 },
+	{ .u.f	= 60.00 },
+	{ .u.f	= 70.00 },
+	{ .u.f	= 80.00 },
+	{ .u.f	= 90.00 },
+	{ .u.f	= 95.00 },
+	{ .u.f	= 99.00 },
+	{ .u.f	= 99.50 },
+	{ .u.f	= 99.90 },
+	{ .u.f	= 99.95 },
+	{ .u.f	= 99.99 },
 };

 #define FIO_CLIENT_FLAG		(1 << 16)
-- 
1.7.7.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Added 99.95 and 99.99 default percentiles.
  2012-03-16 23:47 [PATCH] Added 99.95 and 99.99 default percentiles Steven Lang
@ 2012-03-17 12:16 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2012-03-17 12:16 UTC (permalink / raw)
  To: Steven Lang; +Cc: fio

On 2012-03-17 00:47, Steven Lang wrote:
> Since there are 20 slots for percentiles, but not all used by default,
> I figure it doesn't hurt to add a couple extra percentiles to the
> default for tail latency capture.

Sure, why not! Added.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-17 12:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 23:47 [PATCH] Added 99.95 and 99.99 default percentiles Steven Lang
2012-03-17 12:16 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox