All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Ley Foon Tan <lftan.linux@gmail.com>, fio@vger.kernel.org
Subject: Re: fio with polling mode
Date: Tue, 15 Mar 2016 11:58:00 -0700	[thread overview]
Message-ID: <56E85B38.9010904@kernel.dk> (raw)
In-Reply-To: <CAFiDJ59S0zhHDNbbron+Q1X06kBZ2i24VXYzHrSbrr0ujAR74w@mail.gmail.com>

On 03/15/2016 04:20 AM, Ley Foon Tan wrote:
> Hi
>
> In the kernel v4.4 above, we can use polling mode for the NVMe data
> transfer with command below:
>
> echo 1 > /sys/block/nvme0n1/queue/io_poll
>
> We can see NVMe throughput increase with polling mode with dd command.
> Can we run fio with polling mode as well? If yes, what are the correct
> fio parameters/arguments should we use?

direct=1, and use one of the sync IO engines (psync would be a good 
one). And enable io_poll like you did above, then fio should be in 
polled mode.

-- 
Jens Axboe



  reply	other threads:[~2016-03-15 18:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-15 11:20 fio with polling mode Ley Foon Tan
2016-03-15 18:58 ` Jens Axboe [this message]
2016-03-16 11:18   ` Ley Foon Tan
2016-03-16 16:25     ` Jens Axboe
2016-03-17  9:39       ` Ley Foon Tan
2016-03-17 16:18         ` Jens Axboe
2016-03-18  7:09           ` Ley Foon Tan

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=56E85B38.9010904@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=lftan.linux@gmail.com \
    /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.