All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/11] Improve io_uring and libaio IO priority support
@ 2021-09-03 15:20 Niklas Cassel
  2021-09-03 15:20 ` [PATCH v2 01/11] manpage: fix formatting Niklas Cassel
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Niklas Cassel @ 2021-09-03 15:20 UTC (permalink / raw)
  To: axboe; +Cc: fio, Damien Le Moal, Niklas Cassel

From: Niklas Cassel <niklas.cassel@wdc.com>

This series improves io_uring/libaio engine support for IO priority,
adding options to allow for mixed priority workloads to be specified
more easily and to match the kernel supported IO priority features.

This series is based on Damien's V1 series which can be found here:
https://www.spinics.net/lists/fio/msg09614.html

Major changes since v1:

- Rename new options:
aioprio -> cmdprio
aioprioclass -> cmdprio_class
aioprio_bssplit -> cmdprio_bssplit.
Since these options are all related to cmdprio_percentage, it makes sense
to keep the cmdprio prefix for these new options.
Renaming also makes it more clear that these are not libaio specifc options.

- Added io_uring support for these new options.
All these new options works for ioengine=libaio and ioengine=io_uring

- Added a new helper file: engines/cmdprio.h and moved as much common code
that I could share between io_uring and libaio in there.

Kept Damien's authorship as I feel that I haven't changed the original code
sufficiently to warrant an authorship change.


Comments are welcome!

Kind regards,
Niklas

Damien Le Moal (11):
  manpage: fix formatting
  manpage: fix definition of prio and prioclass options
  tools: fiograph: do not overwrite input script file
  os: introduce ioprio_value() helper
  options: make parsing functions available to ioengines
  libaio,io_uring: improve cmdprio_percentage option
  libaio,io_uring: introduce cmdprio_class and cmdprio options
  libaio,io_uring: introduce cmdprio_bssplit
  libaio,io_uring: relax cmdprio_percentage constraints
  fio: Introduce the log_prio option
  examples: add examples for cmdprio_* IO priority options

 HOWTO                           |  59 ++++++++++---
 backend.c                       |   1 +
 cconv.c                         |   2 +
 client.c                        |   2 +
 engines/cmdprio.h               | 144 ++++++++++++++++++++++++++++++
 engines/filecreate.c            |   2 +-
 engines/filedelete.c            |   2 +-
 engines/filestat.c              |   2 +-
 engines/io_uring.c              | 152 +++++++++++++++++++++++++-------
 engines/libaio.c                | 125 ++++++++++++++++++++++----
 eta.c                           |   2 +-
 examples/cmdprio-bssplit.fio    |  17 ++++
 examples/cmdprio-bssplit.png    | Bin 0 -> 45606 bytes
 examples/cmdprio-percentage.fio |  17 ++++
 examples/cmdprio-percentage.png | Bin 0 -> 46271 bytes
 fio.1                           |  73 +++++++++++----
 fio.h                           |   5 ++
 init.c                          |   4 +
 io_u.c                          |  14 ++-
 io_u.h                          |  10 ++-
 iolog.c                         |  45 +++++++---
 iolog.h                         |  16 +++-
 options.c                       |  50 ++++++-----
 os/os-android.h                 |  20 +++--
 os/os-dragonfly.h               |   1 +
 os/os-linux.h                   |  20 +++--
 os/os.h                         |   4 +
 server.h                        |   3 +-
 stat.c                          |  75 ++++++++--------
 stat.h                          |   9 +-
 thread_options.h                |  19 ++++
 tools/fiograph/fiograph.conf    |   4 +-
 tools/fiograph/fiograph.py      |   4 +-
 33 files changed, 724 insertions(+), 179 deletions(-)
 create mode 100644 engines/cmdprio.h
 create mode 100644 examples/cmdprio-bssplit.fio
 create mode 100644 examples/cmdprio-bssplit.png
 create mode 100644 examples/cmdprio-percentage.fio
 create mode 100644 examples/cmdprio-percentage.png

-- 
2.31.1


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

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

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-03 15:20 [PATCH v2 00/11] Improve io_uring and libaio IO priority support Niklas Cassel
2021-09-03 15:20 ` [PATCH v2 01/11] manpage: fix formatting Niklas Cassel
2021-09-03 15:20 ` [PATCH v2 02/11] manpage: fix definition of prio and prioclass options Niklas Cassel
2021-09-03 15:20 ` [PATCH v2 03/11] tools: fiograph: do not overwrite input script file Niklas Cassel
2021-09-03 15:20 ` [PATCH v2 04/11] os: introduce ioprio_value() helper Niklas Cassel
2021-09-03 15:20 ` [PATCH v2 05/11] options: make parsing functions available to ioengines Niklas Cassel
2021-09-03 15:20 ` [PATCH v2 07/11] libaio,io_uring: introduce cmdprio_class and cmdprio options Niklas Cassel
2021-09-03 15:20 ` [PATCH v2 06/11] libaio,io_uring: improve cmdprio_percentage option Niklas Cassel
2021-09-03 15:20 ` [PATCH v2 08/11] libaio,io_uring: introduce cmdprio_bssplit Niklas Cassel
2021-09-03 15:20 ` [PATCH v2 09/11] libaio,io_uring: relax cmdprio_percentage constraints Niklas Cassel
2021-09-03 15:20 ` [PATCH v2 10/11] fio: Introduce the log_prio option Niklas Cassel
2021-09-03 15:20 ` [PATCH v2 11/11] examples: add examples for cmdprio_* IO priority options Niklas Cassel
2021-09-03 16:12 ` [PATCH v2 00/11] Improve io_uring and libaio IO priority support Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.