Ubuntu – Having a bunch of issues with Ubuntu 16.04 on WD Black NVMe drive

dual-bootnvmeperformance

I'm still new to Ubuntu. Would appreciate any help with this, thank you.

Here are my specs. I'm using a laptop Clevo P7xxTM1 with

  • i7 8700
  • 32GB RAM
  • gtx 1070 GPU

I dual boot Windows 10 and Ubuntu 16.04 and 2 other drives for storage, one for each OS. Recently I upgraded my hardware from a samsung 850evo to WD Black M.2 NVMe for my Linux OS expecting performance gains. Since then I have had nothing but problems. The major concern for me is the performance. I was expecting near instant boot, shut down, and software loading. What I got is almost the opposite. Sometimes when I shutdown the system takes a good 5 min to reboot/shut down. Boot time is much faster, but sometimes it hangs and system freezes at the login screen and right after logging in. Some programs can take a while to load. Sometimes just browsing in file explorer will cause random pauses or freezes. Not sure if this is related, but when I play .mkv files and try to browse through the video it can cause the entire system to lock up.

Here's what my screen looks like after I hit ctrl+alt+F1

ctrl+alt+F1

Is this a known problem for Linux on nvme drives or was there something I had to do extra besides install it?

edit:
Here's a picture of a recent attempt of trying to shutdown and the message I get on screen.

shut down

Best Answer

This looks similar to the issue reported here (EXT4-fs error after Ubuntu 17.04 upgrade), which appears to have been resolved by partially or fully disabling the APST (Autonomous Power Saving Transition) features on the drive. Try adding nvme_core.default_ps_max_latency_us=5500 to your kernel command-line parameters and see if that helps.

Related Question