On Sun, Mar 20, 2016 at 01:06:57PM +0800, Peng He wrote: > Hi, Ben, > You're correct. I think the principle is to cache as few bits as > possible. In fact to > differentiate two prefixes, you just need 1 more bits in positions [16,24].
That's close. The principle is for megaflows to match as few bits as possible while still distinguishing all of the OpenFlow flows. > We are currently doing some research to accelerate the performance of OVS. > Since the prefix mask is not contiguous, if there are too many megaflow > tuples, > you cannot use tries to prune these tuples, (similar to tuple space search in > ofproto) > and do further acceleration. We're always excited to improve the performance of OVS, so I hope you will pass along your results. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev