Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2012 18:53:36 +0000
From:      "Bjoern A. Zeeb" <bz@freebsd.org>
To:        K. Macy <kmacy@freebsd.org>
Cc:        current@freebsd.org, net@freebsd.org
Subject:   Re: Some performance measurements on the FreeBSD network stack
Message-ID:  <F39D57D6-A48B-4F4F-B6C7-308BE9557578@freebsd.org>
In-Reply-To: <CAHM0Q_Nrqy9%2BAcGjVQsr%2BK2Pu2L6WbjPcinRYfYoYydrB=ATKQ@mail.gmail.com>
References:  <20120419133018.GA91364@onelab2.iet.unipi.it> <4F907011.9080602@freebsd.org> <20120419204622.GA94904@onelab2.iet.unipi.it> <B143A8975061C446AD5E29742C531723C7C16A@pwsvl-excmbx-05.internal.cacheflow.com> <20120424163423.GA59530@onelab2.iet.unipi.it> <CAHM0Q_MLRVX09_jeSXmCY0=z5D%2BpfZgwqt1UGM%2BhVRU-=-Bbbw@mail.gmail.com> <5C2FC09E-1873-4A97-8980-07B336D3DC44@netasq.com> <B143A8975061C446AD5E29742C531723C7CA6A@pwsvl-excmbx-05.internal.cacheflow.com> <7FC5708C-429D-4077-9A3C-6272AB1316D9@FreeBSD.org> <CAHM0Q_Nrqy9%2BAcGjVQsr%2BK2Pu2L6WbjPcinRYfYoYydrB=ATKQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F39D57D6-A48B-4F4F-B6C7-308BE9557578>