Re: [Ryu-devel] Count of number of Packet_in messages

2020-01-20 Thread Nisha Ahuja
Hi yusuke I have implemented the counter but i m unable to understand that what are the packet_in messages other than the one between src and destination. But i dont understand what are they Can anybody throw light on the total number of packet in messages when communicating between two hosts.

Re: [Ryu-devel] Count of number of Packet_in messages

2020-01-20 Thread Modhawi Alotaibi
Yes, you are right. Thank you. On Mon, Jan 20, 2020 at 5:36 PM Yusuke Iwase wrote: > Hmmm... I guess it is difficult to measure the maximum capacity because it > is depending on your environment, such as CPU, memory, network bandwidth, > load average... etc. > I think implementing OF1.3 ver of c

Re: [Ryu-devel] Count of number of Packet_in messages

2020-01-20 Thread Yusuke Iwase
Hmmm... I guess it is difficult to measure the maximum capacity because it is depending on your environment, such as CPU, memory, network bandwidth, load average... etc. I think implementing OF1.3 ver of cbench.py is one of the best ways. 2020年1月21日(火) 7:20 Modhawi Alotaibi : > I’m working on loa

Re: [Ryu-devel] Count of number of Packet_in messages

2020-01-20 Thread Modhawi Alotaibi
I’m working on load balancing, so the maximum capacity is very important to measure response time. And I checked cbench but of course it wasn’t helpful since since I use OF 1.3 On Mon, Jan 20, 2020 at 4:51 PM Yusuke Iwase wrote: > Well, why you need the maximum number of packet-in messages? Eval

Re: [Ryu-devel] Count of number of Packet_in messages

2020-01-20 Thread Modhawi Alotaibi
Yes I did that, but I couldn’t find the maximum number of flows that Ryu can handle per second. I’d be grateful if you help me in this matter. On Mon, Jan 20, 2020 at 4:34 PM Yusuke Iwase wrote: > Hi Nisha and Thanks Modhawi, > > To count the packet-in messages, you need to implement some codes

Re: [Ryu-devel] Count of number of Packet_in messages

2020-01-20 Thread Yusuke Iwase
Well, why you need the maximum number of packet-in messages? Evaluating Ryu’s performance? If you are evaluating performance if controller, other application like cbench.py (this app only works with OpenFlow 1.0 though) is more proper I guess. 2020年1月21日(火) 6:39 Modhawi Alotaibi : > Yes I did tha

Re: [Ryu-devel] Count of number of Packet_in messages

2020-01-20 Thread Yusuke Iwase
Hi Nisha and Thanks Modhawi, To count the packet-in messages, you need to implement some codes into your application. (simple_switch_13.py doesn’t count it.) Just an idea, how about defining a counter variable in your app and incrementing it in “ _packet_in_handler” handler? Regards, Iwase 2020年

Re: [Ryu-devel] Count of number of Packet_in messages

2020-01-20 Thread Nisha Ahuja
I am simple_switch_l3 application On Mon 20 Jan, 2020, 8:17 PM Yusuke Iwase, wrote: > Hi, > > Which application are you running? simple_switch_xx.py? > If so, there can be many waste packets because that application is just an > example application and not designed to work with many switches. >

Re: [Ryu-devel] Count of number of Packet_in messages

2020-01-20 Thread Modhawi Alotaibi
In light of Nisha’s question, how can we see the number of packet-ins processed by Ryu in one second? What’s its capacity in term of number of packets per second? On Mon, Jan 20, 2020 at 9:48 AM Yusuke Iwase wrote: > Hi, > > Which application are you running? simple_switch_xx.py? > If so, there

Re: [Ryu-devel] Count of number of Packet_in messages

2020-01-20 Thread Yusuke Iwase
Hi, Which application are you running? simple_switch_xx.py? If so, there can be many waste packets because that application is just an example application and not designed to work with many switches. Regards, Iwase 2020年1月20日(月) 20:51 Nisha Ahuja : > Dear All, > > I am new to Mninet and learnin

[Ryu-devel] Count of number of Packet_in messages

2020-01-20 Thread Nisha Ahuja
Dear All, I am new to Mninet and learning SDN, I have a custom topology in which there are 15 hosts and 9 switches. All of them are connected in the following fashion as attached below. I am just sending ping message between two of the hosts(H1,H2), and trying to count the number of total packet_i