Recent changes (master)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following changes since commit 53b5fa1ea4f821899440637ab632ce0e1687c916:

  t/io_uring: don't append 'K' to IOPS if we don't divide by 1000 (2021-10-13 06:17:44 -0600)

are available in the Git repository at:

  git://git.kernel.dk/fio.git master

for you to fetch changes up to 246054544cc74b56b063640ecb538893ea613936:

  Merge branch 'evelu-typo' of https://github.com/ErwanAliasr1/fio (2021-10-14 15:01:30 -0600)

----------------------------------------------------------------
Erwan Velu (1):
      t/io_uring: Fixing typo

Jens Axboe (2):
      t/io_uring: include a maximum IOPS seen when exiting
      Merge branch 'evelu-typo' of https://github.com/ErwanAliasr1/fio

 t/io_uring.c | 6 ++++++
 1 file changed, 6 insertions(+)

---

Diff of recent changes:

diff --git a/t/io_uring.c b/t/io_uring.c
index 1b729ebf..5a80e074 100644
--- a/t/io_uring.c
+++ b/t/io_uring.c
@@ -103,6 +103,7 @@ struct submitter {
 static struct submitter *submitter;
 static volatile int finish;
 static int stats_running;
+static unsigned long max_iops;
 
 static int depth = DEPTH;
 static int batch_submit = BATCH_SUBMIT;
@@ -882,6 +883,10 @@ static void do_finish(const char *reason)
 		struct submitter *s = get_submitter(j);
 		s->finish = 1;
 	}
+	if (max_iops > 100000)
+		printf("Maximum IOPS=%luK\n", max_iops / 1000);
+	else if (max_iops)
+		printf("Maximum IOPS=%lu\n", max_iops);
 	finish = 1;
 }
 
@@ -1362,6 +1367,7 @@ int main(int argc, char *argv[])
 			printf("IOPS=%luK, ", iops / 1000);
 		else
 			printf("IOPS=%lu, ", iops);
+		max_iops = max(max_iops, iops);
 		if (!do_nop)
 			printf("BW=%luMiB/s, ", bw);
 		printf("IOS/call=%ld/%ld, inflight=(%s)\n", rpc, ipc, fdepths);



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux