On April 22, 2014 at 7:33:38 AM, Neelakantam Gaddam (neelugad...@gmail.com) 
wrote:
> 
> I am using openvswitch-1.10.0.
>  
> We are running openvswitch on MIPS based platform.
> While sending the traffic with 10K flows, I see lot of lost statistics in
> the dpctl command. I see not more than 1500 flows in the datapath.
>  
> From my understanding, lost count is the number of packets destined to
> userspace via upcall but subsequently dropped before reaching userspace.
> Is my understanding correct?

Yes.

> If these stats are lost upcall packets, what are the reasons for dropping
> upcall packets ? How can we debug these issues ?

Packets are being sent to userspace faster than they can be processed.  This is 
usually because the packets have varying headers (e.g., a port scan) that cause 
misses in the exact-match flow cache in the kernel.  Version 1.11 introduced 
megaflows, which provides a wildcarded flow cache.  Version 2.0 introduced 
multithreading in the userspace.  I'd try a newer version to see if that helps.

--Justin



_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to