The request-response performance on Vhost interface is low

Bug #1372262 reported by Divakar Dharanalakota
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Undecided
Divakar Dharanalakota

Bug Description

Due to Link local feature changes on Vhost interface, the erequest response performance has come down drastically. This needs to be improved.

Tags: vrouter
tags: added: vrouter
Changed in juniperopenstack:
assignee: nobody → Divakar Dharanalakota (ddivakar)
information type: Proprietary → Public
Revision history for this message
Divakar Dharanalakota (ddivakar) wrote :

The link local service is achieved by adding a flow entry on Vhost interface. When a non link local packet is received on Fabric interfaces, these packets hit Receive NH with relaxed policy and end up in flow lookup. As there is no flow entry available for these packets, flow look up fails. As every packet has a flow miss, performance is drastically down when over flow table is searched which is a linear search.
To avoid this, every time, a new link local flow is added, Vrouter caches the ports corresponding to these flows in different DB. When a packet hits Reeive NH with relaxed policy, this DB is searched before doing flow lookup.
With this performance increased from 3k request/responses per sec to 16k.
-Divakar

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/3432
Committed: http://github.org/Juniper/contrail-controller/commit/a36d6134fe5f8a463507fd2ae76305d93230e98f
Submitter: Zuul
Branch: master

commit a36d6134fe5f8a463507fd2ae76305d93230e98f
Author: Divakar <email address hidden>
Date: Sat Oct 4 03:29:50 2014 -0700

Bug:#1372262. Marking the link local in Vrouter with a flag for kernel to maintain its own link local db

Change-Id: I57a1746fe05d583887fed64d1060155ea8b4e66a

Changed in juniperopenstack:
status: New → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/3542
Committed: http://github.org/Juniper/contrail-controller/commit/9ad9bac6ede441bf0152ba9b857839c895d78385
Submitter: Zuul
Branch: R1.10

commit 9ad9bac6ede441bf0152ba9b857839c895d78385
Author: Divakar <email address hidden>
Date: Sat Oct 4 03:29:50 2014 -0700

Bug:#1372262. Marking the link local in Vrouter with a flag for kernel to maintain its own link local db

Change-Id: I57a1746fe05d583887fed64d1060155ea8b4e66a
(cherry picked from commit a36d6134fe5f8a463507fd2ae76305d93230e98f)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.