One note on swap
From: NASA Jeff
Date: Sun Nov 01 2020 - 11:51:37 EST
Pages in active areas shouldn’t be swapped out only those in inactive
areas. So it’s a bit like seminary rock.
Networking may also have scheduling type issues.
My script works well on single/duel CPU systems, for systems with
larger numbers of CPUs I found checking /proc/stat for overall system
load before adjusting the scheduling provided a good solution.