@cryptotaxi247 / netdata-1 / commits / 17a0348d1

4 malloc arenas for parents, not IoT (#19711)

Costa Tsaousis committed Feb 26, 2025 at 09:21 UTC 17a0348d1cabd399408d1c1f6643b591f362fa6c
1 file changed +2 -2
src/daemon/config/netdata-conf-profile.c
+2 -2
@@ -101,7 +101,7 @@ void nd_profile_setup(void) {
101 if(netdata_conf_is_iot()) {
102 nd_profile.storage_tiers = 3; // MUST BE 1
103 nd_profile.update_every = 1; // MUST BE 2
104 - nd_profile.malloc_arenas = 4;
104 + nd_profile.malloc_arenas = 1;
105 nd_profile.malloc_trim = 32 * 1024;
106 nd_profile.stream_sender_compression = ND_COMPRESSION_FASTEST;
107 // web server threads = 6
@@ -117,7 +117,7 @@ void nd_profile_setup(void) {
117 else if(netdata_conf_is_parent()) {
118 nd_profile.storage_tiers = 3;
119 nd_profile.update_every = 1;
120 - nd_profile.malloc_arenas = 1;
120 + nd_profile.malloc_arenas = 4;
121 nd_profile.malloc_trim = 128 * 1024;
122 nd_profile.stream_sender_compression = ND_COMPRESSION_FASTEST;
123 // web server threads = dynamic