Flexible I/O Tester development
 help / color / mirror / Atom feed
* [PATCH 0/3] fio: fix eta
@ 2026-09-03 17:20 Keith Busch
  2026-09-03 17:20 ` [PATCH 1/3] eta: don't estimate runtime from an unset job epoch Keith Busch
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Keith Busch @ 2026-09-03 17:20 UTC (permalink / raw)
  To: fio; +Cc: axboe, vincentfu, Keith Busch

From: Keith Busch <kbusch@kernel.org>

When jobs are overlapping or serialized by the stonewall, the eta
calculation messes up by restarting back to the original calculated
time. Here's a simple example of running multiple 5 second jobs with the
stonewall to serialize them:

  $ fio --eta-newline=1 --name=global --ioengine=io_uring --rw=randread \
      --filename=/dev/zero --time_based --runtime=5 --size=10T --stonewall \
      --name=a --name=b --name=c --name=d --name=e
  ...
  Jobs: 1 (f=1): [r(1),P(4)][15.4%][r=837MiB/s][r=214k IOPS][eta 00m:22s]
  Jobs: 1 (f=1): [r(1),P(4)][19.2%][r=737MiB/s][r=189k IOPS][eta 00m:21s]
  Jobs: 1 (f=1): [_(1),r(1),P(3)][25.0%][r=1569MiB/s][r=402k IOPS][eta 00m:24s]
  Jobs: 1 (f=1): [_(1),r(1),P(3)][31.2%][r=2045MiB/s][r=523k IOPS][eta 00m:22s]
  Jobs: 1 (f=1): [_(1),r(1),P(3)][37.5%][r=1722MiB/s][r=441k IOPS][eta 00m:20s]
  Jobs: 1 (f=1): [_(2),r(1),P(2)][35.1%][r=374MiB/s][r=95.6k IOPS][eta 00m:24s]
  Jobs: 1 (f=1): [_(2),r(1),P(2)][40.5%][r=2193MiB/s][r=561k IOPS][eta 00m:22s]

Literally unplayable! ;)

This series gets the eta reporting the correct value.

Keith Busch (3):
  eta: don't estimate runtime from an unset job epoch
  eta: cap the ETA at the job's own remaining runtime
  eta: remove now unused done_secs

 backend.c |  2 --
 eta.c     | 39 +++++++++++++++++++++++++++++----------
 fio.h     |  1 -
 libfio.c  |  1 -
 4 files changed, 29 insertions(+), 14 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2026-09-09 20:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-03 17:20 [PATCH 0/3] fio: fix eta Keith Busch
2026-09-03 17:20 ` [PATCH 1/3] eta: don't estimate runtime from an unset job epoch Keith Busch
2026-09-09 17:01   ` Vincent Fu
2026-09-09 20:15     ` Keith Busch
2026-09-03 17:21 ` [PATCH 2/3] eta: cap the ETA at the job's own remaining runtime Keith Busch
2026-09-03 17:21 ` [PATCH 3/3] eta: remove now unused done_secs Keith Busch
2026-09-03 20:01 ` [PATCH 0/3] fio: fix eta fiotestbot

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