Skip to content

Instantly share code, notes, and snippets.

@pierric
Last active March 7, 2018 04:12
Show Gist options
  • Save pierric/75cd92f93b686b70580a45a080dca958 to your computer and use it in GitHub Desktop.
Save pierric/75cd92f93b686b70580a45a080dca958 to your computer and use it in GitHub Desktop.
some troubleshooting when install linux with nvme ssd

turn off journal of ext4

sudo tune2fs -O ^has_journal $SSD_DRIVE

enable periodical trim

cp /usr/share/doc/util-linux/examples/fstrim.{service,timer} /etc/systemd/system
systemctl enable fstrim.timer

disable APTS (too buggy)

/etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvme_core.default_ps_max_latency_us=0"

disable sleep on lid close

  • install gnome-tweak-tool
  • there is a option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment