[TriLUG] AMD Rizen

Dwain Sims via TriLUG trilug at trilug.org
Tue Apr 18 13:03:55 EDT 2017


Jeff:

Be a little careful it reading too much into performance data you might be
getting out of hdparm.  Determining read performance of SSDs can be tricky
at times when trying to do a benchmark.  You can wind up reading data that
is not really there, and you will get higher performance readings than you
would really expect to see in real life. (which could be happening on the
SATA device)  Many devices are smart enough to determine that you are
trying to read "empty" blocks, and will just return zeros or random garbage
and not actually bother reading the actual blocks.

Give "fio" (the flexible io tester) a try.  And make sure you set up a file
or partition and pre-condition it first, by writing random data all over
the test file or partition before you try to read it back.

https://github.com/axboe/fio

hdparm may not be that sophisticated when dealing with SSDs.

This is not to say that you are not having a NVMe performance issue.  But
you might not!

You might also want to check and see if Samsung has specific drivers for
this NVMe device.  Sometimes the in-box drivers are not as good as what the
manufacturer releases for a specific device.  The in-box drivers are
getting better, but there are still some exceptions.

Dwain


More information about the TriLUG mailing list