mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-09 20:58:44 +00:00
6cd3771378
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 <N> on startup when <N> 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)". |
||
---|---|---|
.. | ||
old | ||
sbase | ||
slides | ||
slt2001 | ||
tex | ||
bird.conf.example | ||
bird.conf.example2 | ||
bird.sgml | ||
kernel-doc | ||
Makefile | ||
prog-foot.sgml | ||
prog-head.sgml | ||
prog-intro.sgml | ||
prog-root | ||
prog-spell.sed | ||
reply_codes |