]> git.proxmox.com Git - mirror_frr.git/commit - lib/vrf.c
lib: vrf_bitmap_groups increased from 8 to 1024
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 4 Jan 2018 13:30:28 +0000 (14:30 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 22 Jan 2018 12:52:23 +0000 (13:52 +0100)
commit3bd74754c9200f5aa7f5bf5a93c621ee04f1e0a3
treedcb301cbb0e8504edff7ea3c8d4e3875ed23b238
parenta9ff90c41b0a95195d19d451ee83eb460e1599d0
lib: vrf_bitmap_groups increased from 8 to 1024

The number of vrf bitmap groups is increased so as to avoid consuming
too much memory. This fix is related to a fork memory that occured when
running pimd as daemon.
A check on memory consumed shows that the memory consumed goes from
33480ko to 46888ko with that change. This is less compared to if the
value of the bitmap groups is increased to 16 ( 852776ko).

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/vrf.c