Re: Some performance measurements on the FreeBSD network stack

From: Bjoern A. Zeeb <bz_at_freebsd.org>
Date: Wed, 25 Apr 2012 18:53:36 +0000
On 25. Apr 2012, at 15:45 , K. Macy wrote:

> a) Where is the possible leak in the legacy path?

It's been somewhere in ip_output() in one of the possible combinations
go through the code flow.  I'd probably need to apply a patch to a tree
to get there again.  It's been more than 6 months for me as well.  I think
it was related to the flowtable path but I could completely misremember.


> b) Where were the panics in v6?

Again completely quoting from memory.
I think the problem was that the INVARIANTS check in what's currently
nd6_output_lle() was hit given both the rtentry and llentry were passed in
but no *chain.  Fixing this seems trivial even when trying to keep the
current invariants checked.
However the bigger problem then was that the cached value was never updated
as the *ro passed down had been lost on the way.  Whatever came then, is
again off my head without the patch in front of me.

Btw. you don't need more than two machines connected, virtual or not, worst
two vnet instances on a lab machine, to enable and do IPv6. No need for
global connectivity at all, as would not be required for IPv4 either.


If you can get the patch updated to apply to a modern HEAD and compile (even
if as-is) I'll try to help solving those to my best (though limited)
availability to help you to get that thing in.


/bz

-- 
Bjoern A. Zeeb                                 You have to have visions!
   It does not matter how good you are. It matters what good you do!
Received on Wed Apr 25 2012 - 16:53:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:26 UTC