ipvs: add sysctl_run_estimation to support disable estimation
estimation_timer will iterate the est_list to do estimation
for each ipvs stats. When there are lots of services, the
list can be very large.
We found that estimation_timer() run for more then 200ms on a
machine with 104 CPU and 50K services.
yunhong-cgl jiang report the same phenomenon before:
In some cases(for example a large K8S cluster with many ipvs services),
ipvs estimation may not be needed. So adding a sysctl blob to allow
users to disable this completely.
Default is: 1 (enable)
Cc: yunhong-cgl jiang <email@example.com>
Signed-off-by: Dust Li <firstname.lastname@example.org>
Acked-by: Julian Anastasov <email@example.com>
Acked-by: Simon Horman <firstname.lastname@example.org>
Signed-off-by: Pablo Neira Ayuso <email@example.com>
4 files changed