I am using a 970 EVO 1TB NVME SSD (2500MB/s SLC-Cached (1200MB/s TLC)) and a MX300 SATA SSD in my system.
After running some benchmarks I realized that the NVME SSD is not as fast as I hoped it would be.
According to the gnome disk benchmark I get and avg. write speed of 620 MB/s on my NVME and 499 MB/s on my SATA SSD. I get the same results when copying files manually.
Does NVME SSDs have to be configured specially in Linux?
I installed Windows and copied a 12 GB file on both systems. Under Windows I have about twice the performance as under Linux.
I found a thread with a similar issue https://askubuntu.com/a/1271465/961371 but without a solution.
EDIT: Testing different Kernels
On the latest Ubuntu live USB stick, I get bad speed, but on a Linux Mint 18.2 (Kernel 4.8.0.-53) live USB stick I get good speeds (see second image).
cat /sys/block/nvme0n1/queue/scheduler
4.8.0.-53 = none
newer kernel = [none] mq-deadline kyber