oracle / bpftune

bpftune uses BPF to auto-tune Linux systems
Other
659 stars 56 forks source link

add support for optional tunables #30

Closed alan-maguire closed 1 year ago

alan-maguire commented 1 year ago

sometimes tunables may not be present or accessible, e.g. when

net.ipv6.conf.all.disable_ipv6 = 1

mark such tunables as optional so tuner will not fail to load if for example v6 tunables are not available. Also add test for this (neigh_table_v4only_test) which disables IPv6 while verifying the v4 aspects of the tuner still work.