Re: Request for information on using NVMe under linux

2024-07-03 Thread Rémi ESSAISSI

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  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
.
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


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Request for information on using NVMe under linux

2024-07-03 Thread Jeffrey Walton
On Wed, Jul 3, 2024 at 4:21 AM Jamaleddine AMGHAR  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
.
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


Re: Request for information on using NVMe under linux

2024-07-03 Thread Richard

There are those ubuntu hwe kernels, those might help

-- Richard

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Request for information on using NVMe under linux

2024-07-03 Thread Rémi ESSAISSI

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


___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Request for information on using NVMe under linux

2024-07-03 Thread Jamaleddine AMGHAR
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