How much RAM for Full Internet tables
Hello, Is anyone here know, how much RAM needed for BIRD to receive all full routes Internet table? My bird consumes around 20G of RAM for just 1 full routes 800k total used free shared buff/cache available Mem: 31G 20G 9.4G 1.2M 1.6G 27G Is this as expected ? or we can fine-tuning Bird ?
I wonder if your bird (or other program) is leaking memory. Here's my bird receiving v4 and v6 near-full table and doing some filtering: bird> show route table global_v4 count 806364 of 806364 routes for 806364 networks in table global_v4 bird> show route table global_v6 count 89509 of 89509 routes for 89509 networks in table global_v6 This is a 1G RAM VPS, bird virtual memory usage is <400M. # free -wh total used free shared buffers cache available Mem: 987Mi 612Mi 181Mi 11Mi 36Mi 156Mi 226Mi Swap: 4.0Gi 190Mi 3.8Gi On Mon, Sep 7, 2020, at 08:45, Mehdi Rukmawan wrote:
Hello,
Is anyone here know, how much RAM needed for BIRD to receive all full routes Internet table?
My bird consumes around 20G of RAM for just 1 full routes 800k
total used free shared buff/cache available Mem: 31G 20G 9.4G 1.2M 1.6G 27G
Is this as expected ? or we can fine-tuning Bird ?
Hello, What OS dan Bird version did you use? Currently, I'm using Ubuntu 18.04 regards On Mon, Sep 7, 2020 at 8:46 AM James Swineson <bird-users@public.swineson.me> wrote:
I wonder if your bird (or other program) is leaking memory. Here's my bird receiving v4 and v6 near-full table and doing some filtering:
bird> show route table global_v4 count 806364 of 806364 routes for 806364 networks in table global_v4 bird> show route table global_v6 count 89509 of 89509 routes for 89509 networks in table global_v6
This is a 1G RAM VPS, bird virtual memory usage is <400M.
# free -wh total used free shared buffers cache available Mem: 987Mi 612Mi 181Mi 11Mi 36Mi 156Mi 226Mi Swap: 4.0Gi 190Mi 3.8Gi
On Mon, Sep 7, 2020, at 08:45, Mehdi Rukmawan wrote:
Hello,
Is anyone here know, how much RAM needed for BIRD to receive all full routes Internet table?
My bird consumes around 20G of RAM for just 1 full routes 800k
total used free shared buff/cache available Mem: 31G 20G 9.4G 1.2M 1.6G 27G
Is this as expected ? or we can fine-tuning Bird ?
Debian 10, Bird 2.0.7. I've had similar results on Bird v1. On Mon, Sep 7, 2020, at 10:35, Mehdi Rukmawan wrote:
Hello,
What OS dan Bird version did you use? Currently, I'm using Ubuntu 18.04
regards
On Mon, Sep 7, 2020 at 8:46 AM James Swineson <bird-users@public.swineson.me> wrote:
I wonder if your bird (or other program) is leaking memory. Here's my bird receiving v4 and v6 near-full table and doing some filtering:
bird> show route table global_v4 count 806364 of 806364 routes for 806364 networks in table global_v4 bird> show route table global_v6 count 89509 of 89509 routes for 89509 networks in table global_v6
This is a 1G RAM VPS, bird virtual memory usage is <400M.
# free -wh total used free shared buffers cache available Mem: 987Mi 612Mi 181Mi 11Mi 36Mi 156Mi 226Mi Swap: 4.0Gi 190Mi 3.8Gi
On Mon, Sep 7, 2020, at 08:45, Mehdi Rukmawan wrote:
Hello,
Is anyone here know, how much RAM needed for BIRD to receive all full routes Internet table?
My bird consumes around 20G of RAM for just 1 full routes 800k
total used free shared buff/cache available Mem: 31G 20G 9.4G 1.2M 1.6G 27G
birdc -v Is this as expected ? or we can fine-tuning Bird ?
Thanks James, Looks like I found the issue. this machine is also running alice-lg and birdwatcher. they consuming a lot of memory when bird-lg and alice-lg+birdwatcher all running. so i test to disable them birdc show route table master count BIRD 1.6.3 ready. 822957 of 822957 routes for 819943 networks free -h total used free shared buff/cache available Mem: 31G 478M 30G 1.1M 772M 30G regards, On Mon, Sep 7, 2020 at 9:43 AM James Swineson <bird-users@public.swineson.me> wrote:
Debian 10, Bird 2.0.7.
I've had similar results on Bird v1.
On Mon, Sep 7, 2020, at 10:35, Mehdi Rukmawan wrote:
Hello,
What OS dan Bird version did you use? Currently, I'm using Ubuntu 18.04
regards
On Mon, Sep 7, 2020 at 8:46 AM James Swineson <bird-users@public.swineson.me> wrote:
I wonder if your bird (or other program) is leaking memory. Here's my bird receiving v4 and v6 near-full table and doing some filtering:
bird> show route table global_v4 count 806364 of 806364 routes for 806364 networks in table global_v4 bird> show route table global_v6 count 89509 of 89509 routes for 89509 networks in table global_v6
This is a 1G RAM VPS, bird virtual memory usage is <400M.
# free -wh total used free shared buffers cache available Mem: 987Mi 612Mi 181Mi 11Mi 36Mi 156Mi 226Mi Swap: 4.0Gi 190Mi 3.8Gi
On Mon, Sep 7, 2020, at 08:45, Mehdi Rukmawan wrote:
Hello,
Is anyone here know, how much RAM needed for BIRD to receive all full routes Internet table?
My bird consumes around 20G of RAM for just 1 full routes 800k
total used free shared buff/cache available Mem: 31G 20G 9.4G 1.2M 1.6G
27G
birdc -v
Is this as expected ? or we can fine-tuning Bird ?
Hi, I thought that I should give my few cents. Maybe try Hyperglass (https://hyperglass.io/) for a LG, as it should be way less memory hungry. On 07/09/2020 6.07, Mehdi Rukmawan wrote:
Thanks James,
Looks like I found the issue.
this machine is also running alice-lg and birdwatcher. they consuming a lot of memory when bird-lg and alice-lg+birdwatcher all running.
so i test to disable them
birdc show route table master count BIRD 1.6.3 ready. 822957 of 822957 routes for 819943 networks
free -h total used free shared buff/cache available Mem: 31G 478M 30G 1.1M 772M 30G
regards,
On Mon, Sep 7, 2020 at 9:43 AM James Swineson <bird-users@public.swineson.me <mailto:bird-users@public.swineson.me>> wrote:
Debian 10, Bird 2.0.7.
I've had similar results on Bird v1.
On Mon, Sep 7, 2020, at 10:35, Mehdi Rukmawan wrote: > Hello, > > What OS dan Bird version did you use? > Currently, I'm using Ubuntu 18.04 > > regards > > On Mon, Sep 7, 2020 at 8:46 AM James Swineson > <bird-users@public.swineson.me <mailto:bird-users@public.swineson.me>> wrote: > > I wonder if your bird (or other program) is leaking memory. Here's my bird receiving v4 and v6 near-full table and doing some filtering: > > > > bird> show route table global_v4 count > > 806364 of 806364 routes for 806364 networks in table global_v4 > > bird> show route table global_v6 count > > 89509 of 89509 routes for 89509 networks in table global_v6 > > > > This is a 1G RAM VPS, bird virtual memory usage is <400M. > > > > # free -wh > > total used free shared buffers cache available > > Mem: 987Mi 612Mi 181Mi 11Mi 36Mi 156Mi 226Mi > > Swap: 4.0Gi 190Mi 3.8Gi > > > > On Mon, Sep 7, 2020, at 08:45, Mehdi Rukmawan wrote: > > > Hello, > > > > > > Is anyone here know, how much RAM needed for BIRD to receive all full > > > routes Internet table? > > > > > > My bird consumes around 20G of RAM for just 1 full routes 800k > > > > > > total used free shared > > > buff/cache available > > > Mem: 31G 20G 9.4G 1.2M 1.6G > > > 27G > > > > > > birdc -v Is this as expected ? or we can fine-tuning Bird ?
Hi Mehdi, Our setup consists of five full table routers (IPv6 as well) with multiple upstream transit peers. Memory used: 728 MiB. (We're still on 2.0.4 and yes we should upgrade.) I guess it makes sense to check what processes are using this huge amount of RAM. Maybe it's not BIRD but another process. Regards, Kees On 07-09-2020 02:45, Mehdi Rukmawan wrote:
Hello,
Is anyone here know, how much RAM needed for BIRD to receive all full routes Internet table?
My bird consumes around 20G of RAM for just 1 full routes 800k
total used free shared buff/cache available Mem: 31G 20G 9.4G 1.2M 1.6G 27G
Is this as expected ? or we can fine-tuning Bird ?
participants (4)
-
James Swineson -
Kees Meijs | Nefos -
Mehdi Rukmawan -
Skyler Mäntysaari