Created
May 22, 2020 12:40
-
-
Save azat/095b0f48f8e3525df76dd2b36deae75e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/programs/benchmark/Benchmark.cpp b/programs/benchmark/Benchmark.cpp | |
index 91c43160e0..fed4823369 100644 | |
--- a/programs/benchmark/Benchmark.cpp | |
+++ b/programs/benchmark/Benchmark.cpp | |
@@ -521,6 +521,11 @@ int mainEntryClickHouseBenchmark(int argc, char ** argv) | |
{ | |
using boost::program_options::value; | |
+ const char *val = nullptr; | |
+ size_t size = sizeof(val); | |
+ assert(!mallctl("opt.percpu_arena", &val, &size, nullptr, 0)); | |
+ std::cerr << "opt.percpu_arena: " << val << '\n'; | |
+ | |
boost::program_options::options_description desc = createOptionsDescription("Allowed options", getTerminalWidth()); | |
desc.add_options() | |
("help", "produce help message") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment