Hi David,


Le 06/04/2017 à 16:14, David Ahern a écrit :
On 4/6/17 10:12 AM, Donald Sharp wrote:
I'm not sure I would call it 'waste'.  The solution, as I understand
There is no waste.

it, allocates the appopriate amount of memory to handle the # of
labels handed to it with a *limit* of 4k bytes to the size that is
alloc'ed internally to the kernel.  This way they are keeping the data
structure limit to the maximum size of a page on some platforms at
worse case.
exactly.
So, if I correctly understand, this means that we could manage for example 136 segment paths of 30 labels each, 256 segment paths of 16 labels each, 1024 segment paths of 4 labels, ... In other words, the sum of all label stacks of all segment paths must fit under the 4k bytes limit. I understand that we must put a limit, but 4k bytes is short. Very short. At the maximum it only authorizes 4k connexions with only one label i.e. only 4K LDP, RSVP-TE or MP-BGP paths.

So, is there a possibility to request another chunk of 4k bytes to increase the number of managed paths ? or this limit is hard coded at the compilation ?

Regards

Olivier