Tuning

Network

Test performance

  • Install iperf on client and host machine
    sudo apt install iperf3 iotop
  • Open firewall on host
    ufw allow 5201
  • Test network from client to host
    iperf3 -s # on host
    iperf3 -c <host> # on client
  • Test disk access
    iotop

Speedtest

  • Remove speedtest-cli if you have previously installed it:
    sudo apt remove speedtest-cli
  • Install python-pip on Python v3:
    sudo apt install python3-pip
  • Install and run speedtest:
    sudo pip3 install speedtest_cli
    speedtest-cli

CPU and IO priorities

  • IO priority
    ionice -c scheduling_class -n priority_nice_value command
    ionice -c 3 cp /home/user/largefile /Backups