tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NPF tuning



Egerváry Gergely <gergely%egervary.hu@localhost> wrote:
>  > Turns out to be a proplib limitation:
>  > https://nxr.netbsd.org/xref/src/common/lib/libprop/prop_kern.c#410
>  > Christos bumped it in -current.
> 
> 128kB instead of 64kB... so... it will support ~240 rules instead of
> ~120 or will my ruleset with ~500 rules fit in?
> 
> 64kB is a lot of space for only 120 rules. About 546 bytes for each
> rule.
> 

Yes, proplib is a awful [1].. I think there are quite a few developers
who would like to replace it with something more sensible.

[1] https://mail-index.netbsd.org/tech-kern/2014/01/28/msg016489.html

-- 
Mindaugas


Home | Main Index | Thread Index | Old Index