Re: Error while enabling io_poll for NVMe SSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux