X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=HOWTO;h=1853f56ad78ae89a7cc263724bd739cc40c14f27;hb=a48f0cc700a6fec0cda476dd3bd562348f7ca19a;hp=8b7d4957f42770a456c89ae9345dc44cd692a22e;hpb=12f9d54ae2e171b0a0f31b8d255f818420e0dbbe;p=fio.git diff --git a/HOWTO b/HOWTO index 8b7d4957..1853f56a 100644 --- a/HOWTO +++ b/HOWTO @@ -2175,23 +2175,38 @@ with the caveat that when used on the command line, they must come after the .. option:: cmdprio_class=int[,int] : [io_uring] [libaio] Set the I/O priority class to use for I/Os that must be issued with - a priority when :option:`cmdprio_percentage` is set. If not specified - when :option:`cmdprio_percentage` is set, this defaults to the highest - priority class. A single value applies to reads and writes. - Comma-separated values may be specified for reads and writes. See - :manpage:`ionice(1)`. See also the :option:`prioclass` option. + a priority when :option:`cmdprio_percentage` or + :option:`cmdprio_bssplit` is set. If not specified when + :option:`cmdprio_percentage` or :option:`cmdprio_bssplit` is set, + this defaults to the highest priority class. A single value applies + to reads and writes. Comma-separated values may be specified for + reads and writes. See :manpage:`ionice(1)`. See also the + :option:`prioclass` option. .. option:: cmdprio=int[,int] : [io_uring] [libaio] Set the I/O priority value to use for I/Os that must be issued with - a priority when :option:`cmdprio_percentage` is set. If not specified - when :option:`cmdprio_percentage` is set, this defaults to 0. + a priority when :option:`cmdprio_percentage` or + :option:`cmdprio_bssplit` is set. If not specified when + :option:`cmdprio_percentage` or :option:`cmdprio_bssplit` is set, + this defaults to 0. Linux limits us to a positive value between 0 and 7, with 0 being the highest. A single value applies to reads and writes. Comma-separated values may be specified for reads and writes. See :manpage:`ionice(1)`. Refer to an appropriate manpage for other operating systems since meaning of priority may differ. See also the :option:`prio` option. +.. option:: cmdprio_bssplit=str[,str] : [io_uring] [libaio] + To get a finer control over I/O priority, this option allows + specifying the percentage of IOs that must have a priority set + depending on the block size of the IO. This option is useful only + when used together with the :option:`bssplit` option, that is, + multiple different block sizes are used for reads and writes. + The format for this option is the same as the format of the + :option:`bssplit` option, with the exception that values for + trim IOs are ignored. This option is mutually exclusive with the + :option:`cmdprio_percentage` option. + .. option:: fixedbufs : [io_uring] If fio is asked to do direct IO, then Linux will map pages for each