diff options
author | 2021-10-28 14:26:32 -0400 | |
---|---|---|
committer | 2021-10-28 13:26:32 -0500 | |
commit | 2d10d2b533fa50cc77afcb10472aef5eb02ca0f2 (patch) | |
tree | 28e404f88b53776ac5e5ba8a421e16dcb6e7d197 | |
parent | 42934572e88a0831eac03173eceefd54ab974edf (diff) |
Increasing Envoy per-CPU memory (#6682)
* Increasing Envoy per-CPU memory
Signed-off-by: Adi Suissa-Peleg <adip@google.com>
-rwxr-xr-x | projects/envoy/build.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/projects/envoy/build.sh b/projects/envoy/build.sh index 6c188fc4..c9f29ae6 100755 --- a/projects/envoy/build.sh +++ b/projects/envoy/build.sh @@ -93,11 +93,13 @@ fi )" -# Benchmark about 3 GB per CPU (10 threads for 28.8 GB RAM) +# Asssuming we have ~32 cores and ~28.8 GiB RAM. By limiting the +# number of CPUs (--local_cpu_resources) we limit the per-CPU mem-usage. +# Benchmark about 3.6 GB per CPU (8 threads for 28.8 GB RAM) # TODO(asraa): Remove deprecation warnings when Envoy and deps moves to C++17 bazel build --verbose_failures --dynamic_mode=off ${DI} \ --spawn_strategy=standalone --genrule_strategy=standalone \ - --local_cpu_resources=HOST_CPUS*0.32 \ + --local_cpu_resources=HOST_CPUS*0.256 \ --//source/extensions/wasm_runtime/v8:enabled=false \ --build_tag_filters=-no_asan --config=oss-fuzz \ ${EXTRA_BAZEL_FLAGS} \ |