From: Keith Busch <kbusch@kernel.org>
To: Nikhil Sambhus <nikhilsambhus@gmail.com>
Cc: linux-block@vger.kernel.org
Subject: Re: Error while enabling io_poll for NVMe SSD
Date: Mon, 18 Mar 2019 16:21:34 -0600 [thread overview]
Message-ID: <20190318222133.GA24176@localhost.localdomain> (raw)
In-Reply-To: <CAFQ9A4Zc8Fc4bDyAsiduTw4kTpxR=dVZr7LUdqUkvQSu1CaGpg@mail.gmail.com>
On Mon, Mar 18, 2019 at 06:14:01PM -0400, Nikhil Sambhus wrote:
> Hi,
>
> On a Linux Kernel 5.0.0+ machine (Ubuntu 16.04) I am using the
> following command as a root user to enable polling for a NVMe SSD
> device.
>
> # echo 1 > /sys/block/nvme2n1/queue/io_poll
>
> I get the following error:
>
> bash: echo: write error: Invalid argument
>
> The current value of io_poll is 0.
Be sure to turn on the polling queues in the nvme driver. There are none
by default. The kernel parameter to that enable them is:
nvme.poll_queues=X
Where 'X' is the number of polling queues. I'd recommend at least 1 per
CPU socket, but more is better.
next prev parent reply other threads:[~2019-03-18 22:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-18 22:14 Error while enabling io_poll for NVMe SSD Nikhil Sambhus
2019-03-18 22:21 ` Keith Busch [this message]
2019-03-19 14:36 ` Nikhil Sambhus
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=20190318222133.GA24176@localhost.localdomain \
--to=kbusch@kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=nikhilsambhus@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.