Hello,

I have developed a custom netdev provider and running OVS-1.10.0 in
userspace mode. it works fine but the packet processing rate is quite slow.
Packet transmission rate is about 500packets/sec but OVS is only able to
forward 1/5th of this.

The arrival of incoming packet at the switch is indicated by a call back
function, and this call back works fine for the actual packet transmission
rate i.e. 500p/s.

What I understand is the problem in use of poll_block() which is called in
the main loop. Currently I use poll_immediate_wake to signal the polling
thread to stop as soon as a packet is received in my call back function,
however I see that multiple packets arrive before a single packet is
received by the netdev-provider.

Is this the best way to do this, or can signalling be done by any other
way. I would appreciate if somebody can point me in the right direction.

Thanks,
-- 
*Junaid Zulfiqar*
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to