From fad86e6ab31c7607825e7c3ba9a28db7e69245ff Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 14 Oct 2005 10:39:05 +0200 Subject: [PATCH] [PATCH] fio: rate granularity from 250msec to 100msec --- fio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fio.c b/fio.c index e4cd6ed..41def26 100644 --- a/fio.c +++ b/fio.c @@ -321,7 +321,7 @@ void rate_throttle(struct thread_data *td, unsigned long time_spent) unsigned long s = td->rate_usec_cycle - time_spent; td->rate_pending_usleep += s; - if (td->rate_pending_usleep >= 250000) { + if (td->rate_pending_usleep >= 100000) { usec_sleep(td->rate_pending_usleep); td->rate_pending_usleep = 0; } -- 2.25.1