Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
deb13:tuning [2026/08/16 14:02] – created Bernard Condraudeb13:tuning [2026/08/16 14:10] (current) Bernard Condrau
Line 4: Line 4:
   * Save the file, then:<code>sudo sysctl --system   * Save the file, then:<code>sudo sysctl --system
 cat /proc/sys/vm/swappiness</code> cat /proc/sys/vm/swappiness</code>
 +
 +===== Network =====
 +==== Test performance ====
 +  * Install iperf on client and host machine<code>sudo apt install iperf3 iotop</code>
 +  * Open firewall on host<code>ufw allow 5201</code>
 +  * Test network from client to host<code>iperf3 -s # on host
 +iperf3 -c <host> # on client</code>
 +  * Test disk access<code>iotop</code>
 +
 +==== Speedtest ====
 +  * Remove speedtest-cli if you have previously installed it:<code>sudo apt remove speedtest-cli</code> 
 +  * Install python-pip on Python v3:<code>sudo apt install python3-pip</code>
 +  * Install and run speedtest:<code>sudo pip3 install speedtest_cli
 +speedtest-cli</code>
 +
 +==== CPU and IO priorities ====
 +  * IO priority<code>ionice -c scheduling_class -n priority_nice_value command
 +ionice -c 3 cp /home/user/largefile /Backups</code>
 +
 +==== 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]]