Eric Dumazet <[email protected]> wrote: > > Let me know -- I can go with a separate MIB, its no problem, I just want > > to avoid going down the wrong path. > > There are about 40 counters. > > Space for that will be per netns : num_possible_cpus * 40 * 8 bytes > > The cost of folding all the values will make nstat slower even if MPTCP is > not used.
Ok, so 'same proc file' would be fine but 'increase pcpu mem cost unconditionally' isn't. > Maybe find a way to not having to fold the MPTCP percpu counters if MPTCP is > not loaded ? MPTCP is builtin (bool). However, we might be able to delay allocation until first mptcp socket is requested, I will see if this can be done somehow. Thanks Eric!
