Questions tagged [nvme]

93 questions
0
votes
1 answer

How can operating system detect live resize of disk capacity?

I saw the following discussion and had some questions: live resize of a NVMe drive If the physical capacity of the nvme device changes (e.g., from 10GB to 20GB), how the operating system detect it without rebooting? In the above link, re-scanning…
0
votes
0 answers

NVMe device on Linux takes a lot time to appear

I am using a Linux host (SLES 15 SP2 with kernel version 5.3.18-24.78-default) in a SAN environment supporting NVMe devices, and so can dynamically add/remove the devices. I noticed that when I have configured 4000+ NVMe devices to my linux host,…
Smash
  • 839
  • 1
  • 9
  • 10
0
votes
0 answers

Fastest way to read Millions of lines with a script

i need to make a script to fetch data after filtering them. The problem is that the total file size should be about 50GB. And i want to filter the data as FAST as possible I thought of two solutions: -MySQL Database -Memory Database MySQL Should be…
xPyth
  • 33
  • 1
  • 4
0
votes
0 answers

EBS volume attached with boto3 has no NVMe block device

I need to create multiple EBS volumes and put some data there using python+boto3. Overall my flow is: Create volumes. Wait their available state. Attach one volume. Wait its attached state. List NVMe devices, detect the volume's one. <-- The issue…
skozlovf
  • 241
  • 1
  • 3
  • 13
0
votes
1 answer

will "dd" for nvme use mmio or dma?

Recently I'm try to debug a nvme timeout issue: # dd if=/dev/urandom of=/dev/nvme0n1 bs=4k count=1024000 nvme nvme0: controller is down; will reset: CSTS=0x3, PCI_STATUS=0x2010 nvme nvme0: Shutdown timeout set to 8 seconds nvme nvme0: 1/0/0…
Chen Li
  • 4,824
  • 3
  • 28
  • 55
0
votes
2 answers

NVMeOF/RDMA sync file modifications

I just set up the NVMeOF/RDMA environment to play around. I have a target node which NVMe SSD is accessed by some client nodes. However, when I delete a file say test on one client node, the rest nodes cannot see this operation and can still read…
0
votes
0 answers

Raspberry Pi CM4 UBoot NVME-access

Does anyone have a working UBoot config for accessing an NVME drive from UBoot running on a Raspberry Pi CM4? I've compiled everything and UBoot is detecting my NVME correctly: pci_bind_bus_devices: bus 1/pci_0:0.0: found device 0, function 0: find…
Daniel P.
  • 809
  • 8
  • 15
0
votes
1 answer

How to invoke pcie functions with nvme linux driver installed in device

I am new to linux device drivers.I am familiar with linux driver code for pcie and nvme. I have loaded linux nvme driver and able to send read, write command through nvme cli. With nvme driver loaded, is there a way to send pcie commads( change…
Sam
  • 1,298
  • 6
  • 30
  • 65
0
votes
1 answer

Do we have a way to read NVMe driver's completion queue entry via nvmecli?

Do we have a way to read NVMe device's completion queue entry using nvme cli ? Here are steps done using nvme cli, version 1.6 & 1.9 shell> sudo nvme id-ctrl /dev/nvme0 ... ... This provides the nvme identify ctrl information for the selected device…
Vijay
  • 35
  • 7
0
votes
1 answer

Writing IO at max_sectors_kb

on Linux (using 5.9) if my NVMe disk has a max_sectors_kb == 2048 but logical_block_size == 512, does that still mean that if i submit a write of 2048KB that either... the entire operation will fail if the drive's kernel write queue is saturated…
Gukki5
  • 497
  • 6
  • 22
0
votes
1 answer

NVMe SSD's bandwidth decreases when increasing the number of I/O queues

As far as I have learned from all the relevant articles about NVMe SSDs, one of NVMe SSDs' benefits is multiple queues. Leveraging multiple NVMe I/O queues, NVMe bandwidth can be greatly utilized. However, what I have found from my own experiment…
0
votes
1 answer

AWS Terraform automation of multiple nvme

I need to use c5 instance type in AWS and found this breaks my terraform automation. Unlike the t2 instances where each boot sequence provides consistent device names under /dev. resource "aws_volume_attachment" "ebs_att" { device_name =…
New2Python
  • 325
  • 1
  • 4
  • 17
0
votes
0 answers

Running .NET on persistent RAM?

I have large indexes in memory for quick search in a huge dataset. It takes forever to build the indexes and it likewise take a long time to just deserialize a snapshot of them from disk to memory. And they use up a lot of precious/expensive RAM. I…
Andreas Zita
  • 7,232
  • 6
  • 54
  • 115
0
votes
2 answers

PCI/PCIe Software Development Kits from Broadcom installation on Linux Kernel 5.3

It is regarding the PLXsdk from https://www.broadcom.com/products/pcie-switches-bridges/software-dev-kits I have some NVMe SSD connected to PCI, I am trying to read and write the BAR register for that NVMe Drive in Linux Kernel 5.3 usig=ng the…
0
votes
0 answers

What is the cmd field of the request structure in block layer replaced with?

I was going through the new kernel code and it looks like the cmd field in the request structure (defined in linux/blkdev.h) doesn't exist anymore. Here is what it looked it in earlier versions. I am using that field to send a specific request…
Basim Sahaf
  • 33
  • 1
  • 7