AnyNodes
TwitterTelegram
  • Instruction
    • VPS
    • Dedicated Server
  • Bitcoin
    • Atomicals
      • atomicals-electrumx
      • electrumx-proxy
      • Use custom proxy
  • Mainnet
    • Massa
      • Run massa node as a service
      • AutoBuyRolls
      • Terms
    • Fusion
    • Nym
      • Setup nym-node
      • Run nym-node as a service
      • Bonding
    • HOPR
      • Node upgrade
      • Node migration
  • Testnet
    • SwanChain
    • EthStorage
      • Hardware Recommendations for Optimal Mining Power
      • Know your disk
      • Monitoring bot
    • SHDW
    • Dusk
    • Shardeum
    • HOPR
    • Massa
    • Nibiru
    • 0G.ai
  • Continuous Integration
    • GitHub Actions
  • Arbitrage
    • CEX/DEX
Powered by GitBook
On this page
  • How to check read speed
  • How to check NVMe version
  1. Testnet
  2. EthStorage

Know your disk

PreviousHardware Recommendations for Optimal Mining PowerNextMonitoring bot

Last updated 1 year ago

How to check read speed

EthStorage node requires the reading IOPS be higher than 160k. See the reason in official document:

We can use the fiotool to test the read speed.

  1. Install fio

sudo apt update
sudo apt install fio
  1. If your server only has one disk, then just run this command to test the reading speed.

fio \
  --name=random-read \
  --ioengine=libaio \
  --direct=1 \
  --rw=randread \
  --bs=4k \
  --size=128g \
  --numjobs=1 \
  --iodepth=1024
  1. If your server has more than one disks, you need to determine which disk you need to check first.

    1. Run the first command to find out the disk you want to test, for example: /dev/nvme0n1p2.

    2. Then add --filename=/dev/nvme0n1p2 to the end of the second command.

df -h
fio \
  --name=random-read \
  --ioengine=libaio \
  --direct=1 \
  --rw=randread \
  --bs=4k \
  --size=128g \
  --numjobs=1 \
  --iodepth=1024 \
  --filename=/dev/nvme0n1p2

How to check NVMe version

  1. Run this command to check the PCIe address for your NVMe disk. NVM stands for "Non-Volatile Memory".

lspci | grep "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.

  1. 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.

lspci -vvv -s 0c:00.0 | grep LnkCap

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.

LnkCap for a PCIe address
Storage Provider FAQ | EthStorage
Logo