Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1598366

Re: nvme, allocation failures, and aborted commands

From Thomas Fjellstrom <thomas@fjellstrom.ca>
Newsgroups linux.kernel
Subject Re: nvme, allocation failures, and aborted commands
Date 2017-03-11 17:40 +0100
Message-ID <tjSdI-5ov-5@gated-at.bofh.it> (permalink)
References <tgYyZ-3Rj-1@gated-at.bofh.it> <tjepY-2Qt-7@gated-at.bofh.it> <tjfcl-3bj-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thursday, March 9, 2017 6:03:34 PM MST Keith Busch wrote:
> On Thu, Mar 09, 2017 at 03:01:27PM -0700, Thomas Fjellstrom wrote:
> > On Monday, March 6, 2017 5:46:33 PM MST Keith Busch wrote:
> > > 
> > >   echo 128 > /sys/block/nvme0n1/queue/max_hw_sectors_kb
> > >   echo 128 > /sys/block/nvme0n1/queue/max_nr_requests
> > > 
> > 
> > First off, theres no max_nr_requests, and echoing into max_hw_sectors_kb 
gets
> > me a permission denied even as root no matter the value I tried.
> 
> What I meant to say was "max_sectors_kb" and "nr_request".
> 

That seems to have quieted any errors. Performance hasn't suffered any.

I had also tried a test with the mq-deadline scheduler instead of none, and it 
helped as well but did eventually show some command aborted errors.

I'm just wondering why this is something that can happen. Shouldn't the 
default be "just work"? Is there no way to query the device for some sane 
defaults?

I understand the Samsung 960 Evo m.2 (I have the 256GB model) isn't the 
highest end device out there, but it should be quite popular and should "just 
work" or a lot of people will complain or decide linux is broken.

-- 
Thomas Fjellstrom
thomas@fjellstrom.ca

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: nvme, allocation failures, and aborted commands Keith Busch <keith.busch@intel.com> - 2017-03-06 23:50 +0100
  Re: nvme, allocation failures, and aborted commands Thomas Fjellstrom <thomas@fjellstrom.ca> - 2017-03-09 23:10 +0100
    Re: nvme, allocation failures, and aborted commands Keith Busch <keith.busch@intel.com> - 2017-03-10 00:00 +0100
      Re: nvme, allocation failures, and aborted commands Thomas Fjellstrom <thomas@fjellstrom.ca> - 2017-03-11 17:40 +0100

csiph-web