[quagga-dev 11255] Re: [quagga-dev, 7410] ospfd: replace route_nodes with a list

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon May 5 08:13:58 BST 2014

Feng Lu <lu.feng at 6wind.com> wrote on 2014/05/05 04:47:46:
> Hi Joakim,
>  From my point of view, I prefer the current route_table for the 
> for the following reasons:
> a) route_table may consume a little bit more memories, while take a
>     little bit less time. Today, I think the time issue would be more
>     important than memory.

When there are just a few entries(most common as this is nbrs per I/F) 
will be slower too as it has a higher initial cost.

> b) the current neighbors table has been used for a long time and seems
>     stable enough. It might introduce hidden problems if change to use
>     a list.

Right, this is an optimization and I don't think it will apply anymore. I 
am not
going to regenerate it either as I do not have the patience to wait a few 
before it gets mainlined.


> Best regards,
> Feng Lu
> On 11/26/2009 05:50 PM, Joakim Tjernlund wrote:
> > It is wasteful to use route nodes for something
> > as simple as a neighbor list.
> > Replace with a list.
> >
> > ---
> > V2: - fix bug ospf_neighbor_delete()
> >       - Clenups too.

More information about the Quagga-dev mailing list