config_defaults.hpp
1 
6 #pragma once
7 
8 #include <string>
9 #include <unordered_map>
10 
11 namespace rapidsmpf::config {
12 
27 inline const std::unordered_map<std::string, std::string> DEFAULTS{
28  {"statistics", "false"},
29  {"pinned_memory", "false"},
30  {"pinned_initial_pool_size", "0%"},
31  {"pinned_max_pool_size", "80%"},
32  {"spill_device_limit", "80%"},
33  {"periodic_spill_check", "1ms"},
34  {"num_streams", "16"},
35  {"num_streaming_threads", "1"},
36  {"memory_reserve_timeout", "100ms"},
37  {"allow_overbooking_by_default", "true"},
38  {"log", "WARN"},
39  {"ucxx_progress_mode", "thread-blocking"},
40 };
41 
42 } // namespace rapidsmpf::config
const std::unordered_map< std::string, std::string > DEFAULTS
String-form default values for config options.