Yoshifuji Hideaki <[EMAIL PROTECTED]> wrote on 09/11/2007 01:50:53 
AM:

> Dave, we've been supporting per-interface stats for IPv6, and
> you seem to remove them.  Please keep them.  Thank you.

        The reason I didn't for ICMPMsgStats is the size. The RFC requires
in & out counters for all types, whether or not they are known by the OS,
so that's 512 stats.

Because the MIB variables in the existing infrastructure are not 
dynamically
allocated, that's:

512 * numInterfaces * numCPUs * 2protos

That seems like a lot of mostly-zero memory. Changing them to be run-time
allocated (and re-allocated when new types are seen) is another 
alternative,
but more significant changes.

"Memory is Cheap."
        -- Doug Comer

So maybe it's not so bad -- I'll roll another per-interface version
to see.

                                                        +-DLS

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to