From: Maria Matejka Date: Wed, 8 Sep 2021 09:29:49 +0000 (+0200) Subject: Multipage allocation X-Git-Tag: 3.0-alpha0~128 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6cd37713781a3092f8166b2178fae35cbfec1e28;p=thirdparty%2Fbird.git Multipage allocation We can also quite simply allocate bigger blocks. Anyway, we need these blocks to be aligned to their size which needs one mmap() two times bigger and then two munmap()s returning the unaligned parts. The user can specify -B on startup when is the exponent of 2, setting the block size to 2^N. On most systems, N is 12, anyway if you know that your configuration is going to eat gigabytes of RAM, you are almost forced to raise your block size as you may easily get into memory fragmentation issues or you have to raise your maximum mapping count, e.g. "sysctl vm.max_map_count=(number)". --- diff --git a/doc/bird.sgml b/doc/bird.sgml index 39dadaf20..ddad4d98e 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -145,6 +145,13 @@ BIRD executable by configuring out routing protocols you don't use, and

You can pass several command-line options to bird: +