You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a intel 900P installed in a Ubuntu 16.04 machine (with nvme 1.0 kernel module loaded by default)
Some of the system information: (it's recognized as 2700... not 900P, I am not sure it's critical or not..)
lifeng@1wk300(x-pheonix:2):~/Workspace/x-phoenix/build$lspci |tail -1
04:00.0 Non-Volatile memory controller: Intel Corporation Device 2700
Linux 1wk300 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I saw the output of the fdisk saying it has 512 byte sector size and i/o size:
Is there any way to reformat the nvme to 4k sector size? I am assuming I will achieving better performance instead of using 512 block size.
I have tried the newest release of nvme-format(from the nvme-cli) . using the default configurations(nvme-format + device name) gives the same blocks/sector size. I also tried to delete the default namespaces(nvme detach-ns + nvme delete-ns) and create a new namespace of 4k size (create-ns), but it failed .. some of the output(the operation code sent by nvme-cli somehow is not correct..):
If this did support that format, there should have been an 'lbaf' with an 'lbads:12', and then you can select that with an "nvme format /dev/nvmeX -l '. I'm not sure if this one supports 4k or not. The optanes I have do support that, but they're slightly different than the 900P.
In any case, if you align IO and partitions to 4k, you should get the same performance out of this as if it were formatted to 4k physical sectors.
"If this did support that format, there should have been an 'lbaf' with an 'lbads:12"
I know there is only one lbaf value in my id-ns output: lbaf 0 : ms:0 lbads:9 rp:0x2 (in use) How can I know what are the other supported formats of my device?(other than format 0)
the man page says LBA Format: This field specifies the LBA format to apply to the NVM media. This corresponds to the LBA formats indicated in the Identify Namespace command.
later I found my id-ns says nlbaf=0, does this suggests only one format(lbaf=0) is supported?
this review of 900P also mentioned 900P only supports 512 sector..
Could you explain more on how to align I/O to 4k?
Are there specific tools I can use to change the I/O size?(I won't make any partitions in the nvme0n1)
At least this didn't work -_-: