Jump to content

Hello friends,

 

I am hoping someone can give any suggestions on how to troubleshoot slow write speeds with some Samsung Pro NVMe SSDs, the operating system is CentOS 7 and they are in software raid 1. At first they worked good, what you would expect for 970 pros... 1500MB/s+ write speed., but now after a few months I can only get 300MB/s~ write speed it, nothing on the OS has changed since, just time has gone by. Read speed is still normal, hdparm results in 2700MB/s - 3400MB/s read speed but write speed with any dd /dev/zero command to test results in between 280MB/s to 400MB/s write, no more than that.

I am not sure how to troubleshoot it since it is only write speed that is slow.

Link to comment
https://linustechtips.com/topic/1110781-samsung-nvme-write-issue/
Share on other sites

Link to post
Share on other sites

3 minutes ago, Raf6969 said:

I am not sure how to troubleshoot it since it is only write speed that is slow

Enable discard, ie. TRIM, and then do fstrim /path/to/your/filesystem

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to post
Share on other sites

4 minutes ago, Raf6969 said:

will fstrim cause any problems with existing data? I tried previously but it said it wasn't a directory or something similar.

No, it won't. Also, you need to point it to the mounted filesystem, not the devices in /dev.

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×