0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Flock lower memory settings

This commit is contained in:
Maria Matejka 2024-10-01 10:59:07 +02:00
parent 41e2b8ac0c
commit eba15c08d3

View File

@ -165,6 +165,10 @@ main(int argc, char **argv, char **argh UNUSED)
birdloop_init();
struct global_runtime gr = *atomic_load_explicit(&global_runtime, memory_order_relaxed);
gr.alloc.keep_mem_max_global = BIRD_ALIGN(65536, page_size);
gr.alloc.keep_mem_max_local = BIRD_ALIGN(16384, page_size);
gr.alloc.at_once = BIRD_ALIGN(4096, page_size);
// gr.latency_debug = ~0;
switch_runtime(&gr);