-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Calico/VPP NSM integration] Use abstract sockets in memif #370
Comments
@edwarnicke @denis-tingaikin
Request with 3 passthrough and patches takes more than 2 minutes. Forwarder logs in general are almost the same except Probably we should start thinking of another solutions of solving #357 and #361? |
@Bolodya1997 Where is the bulk of the time going? If you set NSM_LOG_LEVEL=debug you should get 'duration' for most calls... I'll bet you find its in 'up' we are leaking out time. Also... this is without directmemif, correct? |
@edwarnicke
Yes, both
It is just the same NSE Composition test as we have running on CI, except of I have tested it with 2 passthrough NSE instead of 3, to get Request time less than 2 minutes. So it have directmemif in Forwarder in the following implementation:
Even if all of these steps are probably non-needed in case of directmemif (we can just pass NSE socket to the NSC : #373) we won't have directmemif for the abstract socket case. So for the abstract socket case it looks as following:
And we again start wasting lot of time in |
@edwarnicke
Without fixing these 2 issues we cannot get any memif tests working with Calico. |
@edwarnicke @denis-tingaikin
|
@edwarnicke i retested integration with calico on equinix, that Vlad made, everything seems to work fine |
It looks like all PRs have merged. So closing. |
Description
Latest VPP changes adds possibility of abstract sockets usage for memif - it is very helpful, because it allows us to share sockets from application pod with VPP pod just by passing netns file.
Parent issue
networkservicemesh/integration-k8s-kind#325
Fixes issues
memif
andmemifproxy
files should be shared with VPP pod #357memif
socket ID generation is wrong for the single VPP scenario #361Changes needs to be done
govpp
Add VPP patches:
refs/changes/77/33177/3 # vppinfra: add abstract socket & netns fns
- already merged to the VPP masterrefs/changes/68/33268/2 # vppinfra: fix sock init netns
- already merged to the VPP masterrefs/changes/71/32271/6 # memif: add support for ns abstract sockets
api
Add memif mechanism parameters:
Namespace = common.InodeURL
: stringAbstract
: bool (if we want to support both abstract and FS-based sockets).sdk-vpp
Abstract
mechanism parameter and selection done on the client side.The text was updated successfully, but these errors were encountered: