Playing with Xena traffic generator was found a bug with custom systcl params defined via VyOS CLI. As an example, gc_threshX will be recovered to default values when we apply performance throughput
Reproducing steps:
set system sysctl custom net.ipv4.neigh.default.gc_thresh1 value '131072' set system sysctl custom net.ipv4.neigh.default.gc_thresh2 value '262000' set system sysctl custom net.ipv4.neigh.default.gc_thresh3 value '524000' commit
Check params
vyos@vyos# sudo sysctl net.ipv4.neigh.default.gc_thresh1 net.ipv4.neigh.default.gc_thresh1 = 131072
Set performance
set system option performance throughput commit
Check values again
vyos@vyos# sudo sysctl net.ipv4.neigh.default.gc_thresh1 net.ipv4.neigh.default.gc_thresh1 = 1024