Know your disk
Last updated
Last updated
EthStorage node requires the reading IOPS be higher than 160k. See the reason in official document:
We can use the fio
tool to test the read speed.
Install fio
If your server only has one disk, then just run this command to test the reading speed.
If your server has more than one disks, you need to determine which disk you need to check first.
Run the first command to find out the disk you want to test, for example: /dev/nvme0n1p2
.
Then add --filename=/dev/nvme0n1p2
to the end of the second command.
Run this command to check the PCIe address for your NVMe disk. NVM stands for "Non-Volatile Memory".
You will get an address, such as the "0c:00.0" in the first screenshot. If you get more than one returns, record all of them and check them one by one in next step.
Run this command to check the LnkCap speed for your NVMe disk. You need to replace the address "0c:00.0" with the address you get in the first step.
If the Speed is 16GT/s, it indicates a PCIe 4.0 interface, meaning you are utilizing NVMe version 4.
If the Speed is 8GT/s, it indicates a PCIe 3.0 interface, meaning you are utilizing NVMe version 3.