Comment 1 for bug 1372262

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