在Linux使用nvme

1
2
# 获取nvme模块相关信息
$ modinfo nvme
1
sudo apt install nvme-cli
1
2
3
4
5
6
7
sudo apt-get install build-essential libncurses5-dev

git clone https://github.com/linux-nvme/nvme-cli.git

cd nvme-git
make
make install
1
2
# nvme 测速
sudo hdparm -Tt --direct /dev/nvme0n1