[ovs-discuss] DPDK in userspace has exact cache?

2014-09-26 Thread Masoud Moshref Javadi
Hi I saw that OVS DPDK runs in userspace. Does that mean that it doesn't use the exact flow cache anymore? If it doesn't use how only the slow-path classifier can keep up with the high packet rate of 10Gbps links? If it uses the exact cache, can you point me to the code that runs the exact flo

[ovs-discuss] Netflow update forces slow path?

2014-09-26 Thread Masoud Moshref Javadi
Hi, Does NetFlow requires packets to go through the userspace (slow-path)? If no, how NetFlow records are updated in kernel? Thanks ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

[ovs-discuss] Is there any controller that can use multiple tables in Open vSwitch?

2013-10-09 Thread Masoud Moshref Javadi
Is there any controller that can use multiple tables in Open vSwitch? I think this is in OpenFlow 1.1 . ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] Tripled flow setup performance

2012-12-13 Thread Masoud Moshref Javadi
Hi Justin, Can you give me a hint for discussions or reference in the code about this flow governor. Masoud Moshref Javadi Computer Engineering PhD Student Ming Hsieh Department of Electrical Engineering University of Southern California On 12/13/2012 10:11 AM, Justin Pettit wrote: General

[ovs-discuss] Tripled flow setup performance

2012-12-13 Thread Masoud Moshref Javadi
I want to know where has been changed to triple the performance? I checked the classifier.c file and it seems that the general algorithm (going linearly through hashsets created by wildcards) is the same as before. -- Masoud Moshref Javadi Computer Engineering PhD Student Ming Hsieh

[ovs-discuss] rate-control implementation

2012-05-11 Thread Masoud Moshref Javadi
I read that there are two ways to implement rate-control in OVS: ingress and egress using QoS queues. Can these queues use HW queues? When a packet comes for these queues, will it be handled completely in kernel space? or it needs to go to userspace too. Is there any limit for the number of QoS

Re: [ovs-discuss] in-kernel flow table in the datapath

2012-04-11 Thread Masoud Moshref Javadi
Is there any parameter to set the size of this queue? On 4/6/2012 3:22 PM, Jesse Gross wrote: On Fri, Apr 6, 2012 at 2:25 PM, Masoud Moshref Javadi wrote: On 4/6/2012 9:20 AM, Jesse Gross wrote: On Thu, Apr 5, 2012 at 7:16 PM, Masoud Moshref Javadi wrote: I have the following

Re: [ovs-discuss] get ovs-dpctl stat remotely

2012-04-06 Thread Masoud Moshref Javadi
you've defined. ovs-ofctl can work remotely, as described in the man page. If you just want visibility into the traffic flowing through your switch, you may want to look at the built in NetFlow or sFlow support. --Justin On Apr 5, 2012, at 5:22 PM, Masoud Moshref Javadi w

Re: [ovs-discuss] in-kernel flow table in the datapath

2012-04-06 Thread Masoud Moshref Javadi
On 4/6/2012 9:20 AM, Jesse Gross wrote: On Thu, Apr 5, 2012 at 7:16 PM, Masoud Moshref Javadi wrote: I have the following experiment and whenever I check ovs-dpctl dump-flows, it gives me less than 7k entries: There are three machines A,B, and C. B runs openvswitch and connect the other two

[ovs-discuss] get ovs-dpctl stat remotely

2012-04-05 Thread Masoud Moshref Javadi
in advance -- Masoud Moshref Javadi Computer Engineering PhD Student Ming Hsieh Department of Electrical Engineering University of Southern California ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] in-kernel flow table in the datapath

2012-04-05 Thread Masoud Moshref Javadi
d all entries. suppose 100k new flows (however, because of the previously mentioned claim, it does not matter). On 4/5/2012 5:41 PM, Jesse Gross wrote: On Thu, Apr 5, 2012 at 5:26 PM, Masoud Moshref Javadi wrote: What is the maximum size of the kernel table? There's no hard limit but the

[ovs-discuss] in-kernel flow table in the datapath

2012-04-05 Thread Masoud Moshref Javadi
What is the maximum size of the kernel table? What will happen if I have 100k flows per second, will they be dropped? queued? ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] Multipath routing

2012-03-19 Thread Masoud Moshref Javadi
reasonable choice. You can use "resubmit" along with a special OpenFlow table to map this value to a destination. On Mon, Mar 19, 2012 at 03:29:21PM -0700, Masoud Moshref Javadi wrote: Hum, thanks I have not read that in detail. OK, still I have question: We store the output of multipath al

Re: [ovs-discuss] Multipath routing

2012-03-19 Thread Masoud Moshref Javadi
nicira-ext.h? On Mon, Mar 19, 2012 at 03:08:37PM -0700, Masoud Moshref Javadi wrote: I just want an example that fills the action part in the following rule: ovs-ofctl add-flow br0 nw_src=10.0.0.1/32,nw_dst=10.0.0.1/32,action=? The manual page says: multipath(fields, basis, algorithm

Re: [ovs-discuss] Multipath routing

2012-03-19 Thread Masoud Moshref Javadi
faff wrote: On Sat, Mar 17, 2012 at 10:41:05AM -0700, Masoud Moshref Javadi wrote: Would anyone give an example for a multipath action in openvswitch? How does the rule look like in ovs-ofctl command? What are the per-requisites? It's all documented. Which part is troublesomee

[ovs-discuss] Multipath routing

2012-03-17 Thread Masoud Moshref Javadi
Would anyone give an example for a multipath action in openvswitch? How does the rule look like in ovs-ofctl command? What are the per-requisites? Thanks -- Masoud Moshref Javadi Computer Engineering PhD Student Ming Hsieh Department of Electrical Engineering University of Southern California

[ovs-discuss] Multipath routing

2012-03-17 Thread Masoud Moshref Javadi
Would anyone give an example for a multipath action in openvswitch? How does the rule look like? What are the per-requisites? Thanks -- Masoud Moshref Javadi Computer Engineering PhD Student Ming Hsieh Department of Electrical Engineering University of Southern California

Re: [ovs-discuss] OpenVSwitch flow forwarding

2012-02-07 Thread Masoud Moshref Javadi
ifier zeros the wildcards bits for the flow and uses the hashmap to find the rule. Now, the code makes sense to me. Thank you for you clarification Masoud On 2/7/2012 1:21 PM, Jesse Gross wrote: On Mon, Feb 6, 2012 at 9:25 PM, Masoud Moshref Javadi wrote: Thanks, It seems that the bottle

Re: [ovs-discuss] OpenVSwitch flow forwarding

2012-02-06 Thread Masoud Moshref Javadi
Thanks, It seems that the bottleneck can be the lookup in these userspace when we have lots of new flows. My question is how many table we can have in the userspace? How many entry the kernel table can have? Why did you use one table for each wildcards set, and not use tree based data structure

Re: [ovs-discuss] Arbitrary ranges

2011-08-17 Thread Masoud Moshref Javadi
=drop priority=1000,nw_src=10.0.0.0/24,action=normal --Justin On Aug 17, 2011, at 10:38 AM, Masoud Moshref Javadi wrote: Thank you for your answer. Suppose that we have two rules: first, permits packet from 10.0.0.0/24 and the other denies packets from 10.0.0.10 (with higher priority

Re: [ovs-discuss] Arbitrary ranges

2011-08-17 Thread Masoud Moshref Javadi
ave thoughts on the subject, please respond to that thread. --Justin On Aug 17, 2011, at 6:04 AM, Masoud Moshref Javadi wrote: Is there any support for arbitrary ranges for rules, for IP addresses or port/protocol numbers. I mean something like 10.0.0.0 to 10.0.0.10. If no, is there

[ovs-discuss] Arbitrary ranges

2011-08-17 Thread Masoud Moshref Javadi
Is there any support for arbitrary ranges for rules, for IP addresses or port/protocol numbers. I mean something like 10.0.0.0 to 10.0.0.10. If no, is there any plan for it? ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman

[ovs-discuss] Classifier maximum number of entries

2011-08-12 Thread Masoud Moshref Javadi
I am using OpenVSwitch implementation which is distributed with MiniNet image file. I want to change the maximum number of entries in the flow table. It seems that statistics that are created in response of table stat request are created in ofproto/ofproto.c in line: ots->max_entries = htonl(