diff options
author | Dust Li <[email protected]> | 2021-08-20 13:37:52 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2021-10-07 19:52:58 +0200 |
commit | 2232642ec3fb4aad6ae4da1e109f55a0e7f2d204 (patch) | |
tree | 23d4ce8562232628c0f5b385d1c20515890d9f3d /tools/perf/scripts/python/compaction-times.py | |
parent | c514fbb6231483b05c97eb22587188d4c453b28e (diff) |
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:
https://www.spinics.net/lists/lvs-devel/msg05426.html
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 protected]>
Signed-off-by: Dust Li <[email protected]>
Acked-by: Julian Anastasov <[email protected]>
Acked-by: Simon Horman <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions