All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brandon Schwartz <schwartz.xn@gmail.com>
To: fio@vger.kernel.org
Subject: NCQ Priority Support and FIO
Date: Thu, 2 Feb 2017 15:29:26 -0700	[thread overview]
Message-ID: <CADAGN7VvUH5nQcBK40-x-sizZDchG_kYWH2KvWY0Vt8QxoPU2g@mail.gmail.com> (raw)

Hi,

In the latest kernel 4.10 there has been support added for NCQ
Priority commands.  I can test this functionality by using the option
prioclass=1 as in the following FIO script (100% RR) and I can see
that the prio bit is set on the 8k RR commands, but not the 64k RR
(expected).

[global]
direct=1
filename=/dev/sdb
runtime=2m
ioengine=libaio
norandommap

[High-Prio-8kRR-q8]
prioclass=1
iodepth=8
rw=randread
bs=8k

[Low-Prio-64kRR-q8]
prioclass=0
iodepth=8
rw=randread
bs=64k

Would it be possible to add something in FIO that would give finer
control over the split of high priority commands to low priority?
Ideally I would like to be able to test something like:

60% RandomRead / 40% RandomWrite but of those reads, have 15% be high priority

Or is there a way to get this sort of priority testing done with
current FIO?

Regards,
Brandon

             reply	other threads:[~2017-02-02 22:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-02 22:29 Brandon Schwartz [this message]
2017-02-02 22:36 ` NCQ Priority Support and FIO Sitsofe Wheeler
2017-02-04  0:03   ` Brandon Schwartz
2017-02-04  7:37     ` Sitsofe Wheeler
2017-04-08  9:06       ` Sitsofe Wheeler
2017-09-05 18:45         ` Brandon Schwartz
2017-09-08  6:20           ` Sitsofe Wheeler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADAGN7VvUH5nQcBK40-x-sizZDchG_kYWH2KvWY0Vt8QxoPU2g@mail.gmail.com \
    --to=schwartz.xn@gmail.com \
    --cc=fio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.