====== Tuning ====== ===== Network ===== ==== Test performance ==== * Install iperf on client and host machinesudo apt install iperf3 iotop * Open firewall on hostufw allow 5201 * Test network from client to hostiperf3 -s # on host iperf3 -c # on client * Test disk accessiotop ==== 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 priorityionice -c scheduling_class -n priority_nice_value command ionice -c 3 cp /home/user/largefile /Backups ==== Links ==== * [[https://www.maketecheasier.com/manage-priority-io-processes-linux/|How to Manage the Priority of I/O Processes in Linux]] * [[http://manpages.ubuntu.com/manpages/bionic/man1/ionice.1.html|ionice]] * [[https://bugs.gentoo.org/show_bug.cgi?id=287840|Make samba run ioniced]] * [[https://serverfault.com/questions/55560/nice-rsync-on-remote-machine|Nice rsync on remote machine]] * [[https://www.ittsystems.com/network-throughput/|What is Network Throughput and How to Measure & Monitor it!]] * [[https://software.es.net/iperf/invoking.html|Invoking iperf3]]