[Bro-Dev] IP6 addresses
robin at icir.org
Tue Jun 21 18:07:39 PDT 2011
On Tue, Jun 21, 2011 at 12:54 -0700, you wrote:
Hmm ... Ok, I didn't remember it to be *that* bad.
> Therefore, I would opt for using some "clever scheme" that stores less
> bytes for IPv4. If we are going to use a class for manipulating IP
> addresses, then this alone is going to cause CPU overhead. I don't think
> that the additional overhead of implementing the scheme to save bytes
> for IPv4-only addresses is going to be significant.
> OTOH, using such an IPAddr class is already going to increase the memory
> footprint (now we have to allocate a class) significantly. Possibly more
> overhead then just enabling IPv6 (*)
This is all hard to predict and also depends on how we implement it
(using a class by itself doesn't necessarily mean more CPU and/or
memory; it may though). So seems we indeed need measurements with
different appraoches here.
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL * Fax +1 (510) 666-2956 * www.icir.org
More information about the bro-dev