Re: [ovs-dev] [RFC 3/4] dpif-netdev: Use way-associative cache

2018-02-26 Thread Wang, Yipeng1
tel.com> >Subject: RE: [ovs-dev] [RFC 3/4] dpif-netdev: Use way-associative cache > >Hi Yipeng, > >Thanks for the patch. Some high level questions/comments. > >(1) Am I right in understanding that this patch *only* introduces a new cache >approach in to DFC to redu

Re: [ovs-dev] [RFC 3/4] dpif-netdev: Use way-associative cache

2018-02-23 Thread Bodireddy, Bhanuprakash
Hi Yipeng, Thanks for the patch. Some high level questions/comments. (1) Am I right in understanding that this patch *only* introduces a new cache approach in to DFC to reduce the collisions? (2) Why the number of entries per Bucket is set to '8'? With this each dfc_bucket size is 80

[ovs-dev] [RFC 3/4] dpif-netdev: Use way-associative cache

2018-01-18 Thread Yipeng Wang
This commit uses a way-associative cache (CD) rather than a simple single entry hash table for DFC. Experiments show that this design generally has much higher hit rate. Since miss is much costly than hit, a CD-like structure that improves hit rate should help in general. Signed-off-by: Yipeng