Request for information on using NVMe under linux
Hello, I am experiencing an abnormal performance issue with my Samsung SSD 970 EVO Plus 1TB (2B2QEXM7) on my Ubuntu 24.04 LTS system. My setup includes a 12th Gen Intel Core i7-12700 x 20 processor, and the SSD is connected to an M.2 M-key, type-2280 slot (PCIe Gen.3 x4 interface) that supports NVMe on the motherboard. Specifically, I have noticed a significantly low write speed of around 700MB/s on my Ubuntu system. After some research, it appears that many users face similar issues when using NVMe drives on Linux. In contrast, when I tested the same SSD on the same motherboard using a portable Windows OS, the write speed was approximately 3GB/s. Could you provide any methods to optimize the performance of my NVMe drive on Linux? Additionally, how can I update the NVMe driver on Linux using "nvme-cli"? Any advice or recommendations you have to address this issue would be greatly appreciated. Thank you for your assistance. Best regards, Jamaledd
I suggest you start by checking the kernel version, ubuntu is kinda like debian, it may be an "old" one (relatively) especially LTS ... . big chances that updating your kernel will be more than sufficient . Le 03/07/2024 à 10:20, Jamaleddine AMGHAR a écrit :
Hello,
I am experiencing an abnormal performance issue with my Samsung SSD 970 EVO Plus 1TB (2B2QEXM7) on my Ubuntu 24.04 LTS system. My setup includes a 12th Gen Intel Core i7-12700 x 20 processor, and the SSD is connected to an M.2 M-key, type-2280 slot (PCIe Gen.3 x4 interface) that supports NVMe on the motherboard.
Specifically, I have noticed a significantly low write speed of around 700MB/s on my Ubuntu system. After some research, it appears that many users face similar issues when using NVMe drives on Linux. In contrast, when I tested the same SSD on the same motherboard using a portable Windows OS, the write speed was approximately 3GB/s.
Could you provide any methods to optimize the performance of my NVMe drive on Linux? Additionally, how can I update the NVMe driver on Linux using "nvme-cli"? Any advice or recommendations you have to address this issue would be greatly appreciated.
Thank you for your assistance.
Best regards,
Jamaledd
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Wed, Jul 3, 2024 at 4:21 AM Jamaleddine AMGHAR <je.amghar@gmail.com> wrote:
I am experiencing an abnormal performance issue with my Samsung SSD 970 EVO Plus 1TB (2B2QEXM7) on my Ubuntu 24.04 LTS system. My setup includes a 12th Gen Intel Core i7-12700 x 20 processor, and the SSD is connected to an M.2 M-key, type-2280 slot (PCIe Gen.3 x4 interface) that supports NVMe on the motherboard.
Specifically, I have noticed a significantly low write speed of around 700MB/s on my Ubuntu system. After some research, it appears that many users face similar issues when using NVMe drives on Linux. In contrast, when I tested the same SSD on the same motherboard using a portable Windows OS, the write speed was approximately 3GB/s.
Could you provide any methods to optimize the performance of my NVMe drive on Linux? Additionally, how can I update the NVMe driver on Linux using "nvme-cli"? Any advice or recommendations you have to address this issue would be greatly appreciated.
To help with the second question, see <https://www.samsung.com/ca/support/memory-storage/update-the-firmware-of-you...>. I used Windows on a thumb drive to update the firmware of several Samsung SSDs used in my Linux machines. For one of the drives, I seem to recall the program said it could not find a Samsung SSD though it was installed. I assumed it was a counterfeit drive from Amazon. (I use the same WIndows thumb drive to update BIOS and UEFI, too). Jeff
hoping not to spam: fwupd can't flash drives ? it could be safer for you . ( https://github.com/fwupd/fwupd ) Le 03/07/2024 à 12:24, Jeffrey Walton a écrit :
On Wed, Jul 3, 2024 at 4:21 AM Jamaleddine AMGHAR <je.amghar@gmail.com> wrote:
I am experiencing an abnormal performance issue with my Samsung SSD 970 EVO Plus 1TB (2B2QEXM7) on my Ubuntu 24.04 LTS system. My setup includes a 12th Gen Intel Core i7-12700 x 20 processor, and the SSD is connected to an M.2 M-key, type-2280 slot (PCIe Gen.3 x4 interface) that supports NVMe on the motherboard.
Specifically, I have noticed a significantly low write speed of around 700MB/s on my Ubuntu system. After some research, it appears that many users face similar issues when using NVMe drives on Linux. In contrast, when I tested the same SSD on the same motherboard using a portable Windows OS, the write speed was approximately 3GB/s.
Could you provide any methods to optimize the performance of my NVMe drive on Linux? Additionally, how can I update the NVMe driver on Linux using "nvme-cli"? Any advice or recommendations you have to address this issue would be greatly appreciated.
To help with the second question, see <https://www.samsung.com/ca/support/memory-storage/update-the-firmware-of-you...>. I used Windows on a thumb drive to update the firmware of several Samsung SSDs used in my Linux machines.
For one of the drives, I seem to recall the program said it could not find a Samsung SSD though it was installed. I assumed it was a counterfeit drive from Amazon.
(I use the same WIndows thumb drive to update BIOS and UEFI, too).
Jeff
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (4)
-
Jamaleddine AMGHAR -
Jeffrey Walton -
Richard -
Rémi ESSAISSI