Questions tagged [nvme]

93 questions
32
votes
5 answers

How to increase AWS EBS NVME size

I have upgraded an EC2 instance from m4 to m5, and now want to increase the size of the attached EBS storage volume. I am using an solid-state (SSD) EBS volume mounted as an NVMe drive. After some research, I performed this command: growpart…
5
votes
1 answer

AWS NVME mounted to different directory after reboot

I'm trying to mount a few volumes to my instance and they are all NVME. I read that NVME volumes don't keeping their mapping the same, each time they are given serialized numbers randomly. The point is I need to keep the mapping consistent, it's for…
dor272
  • 550
  • 1
  • 6
  • 26
4
votes
1 answer

Can I get the UUID of an EBS drive from terraform?

Here's my problem - I'm using Hashicorp terraform to programmatically set up an Amazon c5 EC2 instance that has a couple of attached EBS drives. The c5 instances use nvme and end up remapping the names I assign in terraform (e.g. /dev/sdf) to nvme…
Dave DeCaprio
  • 2,051
  • 17
  • 31
3
votes
2 answers

NVMe SSD read speed drops after multiple GBs read

I have a Seagate FireCuda 530 4TB SSD (M.2 NVMe), whose specs say its sequential read is up to 7.3 GB/s, and its IOPS is 1M. I'm trying to write a program that achieves anything close to the claimed speed. The OS is Ubuntu 22.04, AMD CPU (Ryzen…
Serge Rogatch
  • 13,865
  • 7
  • 86
  • 158
3
votes
1 answer

How to monitor the IO queue depth

I am benchmarking databases above a NVMe SSD. I want to monitor the number of I/O request in the queue in this figure over time to see if the databases fully take advantage of the queues. I have tried tools like iostat, but the avgqu-sz field is…
Tim He
  • 350
  • 2
  • 13
3
votes
0 answers

How to reach 10GB/s writes in C/C++ to NVMe disks under Linux

I am looking at designing an application in C/C++ that is running under Linux, currently Ubuntu 20.04. The application should be able to store data at rates around 1-10GB/s continuously, preferably on a filesystem but that is not mandatory. For this…
duper
  • 39
  • 3
3
votes
1 answer

Instance Store and EBS - Which is used by default?

I understand the differences between instance storage and EBS. However, if I used an m5d.4xlarge instance which is backed by nvme instance store and I also attach some EBS to it, which type of storage is used by default? Is there a process to…
3
votes
1 answer

How to remove an existing namespace in a nvme and break it into two smaller namespaces?

I have a NVME SSD. There is an existent namespace on it as below. # nvme list Node SN Model Namespace Usage Format FW Rev ----------------…
codexplorer
  • 541
  • 5
  • 21
3
votes
4 answers

How to setup SR-IOV with Samsung PM1733/1735 NVMe SSD

The Samsung PM1733/1735 NVMe SSDs declare the SR-IOV supports. And I hope to set up a NVMe SR-IOV environment with a PM1735 SSD. The dev description of my SSD is /dev/nvme1. However, I tried with commands like echo 4 >…
michael.peng
  • 33
  • 1
  • 3
3
votes
1 answer

Where are NVMe commands located inside the PCIe BAR?

According to the NVMe specification, the BAR has tail and head fields for each queue. For example: Submission Queue y Tail Doorbell (SQyTDBL): Start: 1000h + (2y * (4 << CAP.DSTRD)) End: 1003h + (2y * (4 << CAP.DSTRD)) Submission Queue y Head…
tweak
  • 43
  • 7
3
votes
0 answers

Can't mount EBS volumes (shown as NVME) in c5 AWS EC2 instance

People seem to have alot of issues with the newer instance type NVME volumes because of name mappings. That I can handle. For me, the issue is simple and worse: mounting doesn't have an effect: ubuntu@ip-10-0-0-60:~$ lsblk NAME MAJ:MIN RM…
3
votes
1 answer

difference between core.c and pci.c in Linux nvme driver

I want to learn how nvme driver works in Linux, So I look into nvme driver source code here what confuses me is that there are two source file containing "module_init()" core.c module_init(nvme_core_init); and pci.c module_init(nvme_init); I know…
user3094631
  • 425
  • 3
  • 13
2
votes
0 answers

how to fetch HDD serial number of SSD type NVME in non-admin mode

I have tried multiple way to fetch correct HDD serial number which we are getting from admin mode by using smart interface and while installing drivers in laptop but none of the them are able to fetch the actual HDD serial number. Actual serial…
2
votes
1 answer

What is the purpose of the function "blk_rq_map_user" in the NVME disk driver?

I am trying to understand the nvme linux drivers. I am now tackling the function nvme_user_submit_cmd, which I report partially here: static int nvme_submit_user_cmd(struct request_queue *q, struct nvme_command *cmd, void __user *ubuffer, …
Fra93
  • 1,992
  • 1
  • 9
  • 18
2
votes
0 answers

Can I perform compute on an NVMe storage device?

I'll start by saying this is not something I am doing in a production system, just a personal project and just writing coding to learn and try and find challenging tasks. So NVMe drives are used in computers for storing information and they have…
user802599
  • 787
  • 2
  • 12
  • 35
1
2 3 4 5 6 7