Re: [Ryu-devel] openflow table capacity

2017-02-20 Thread Moh'd Reza Abbasi
Thank you Tulio and Iwase for your answers.

On Fri, Feb 17, 2017 at 1:09 PM, Iwase Yusuke 
wrote:

> Hi,
>
> Thanks Abbasi and Túlio!
> I miss-understood that.
>
>
> > Is *total_capacity = n_table * max_entries* correct?
>
> I guess it is right.
> but as Túlio said, it is highly depending on the implementation of your
> switch.
>
> When I tested a hardware switch before, the throughput of that switch
> declined significantly
> around the number of n_table * max_entries.
>
>
> Thanks,
> Iwase
>
> On 2017年02月15日 22:40, Túlio Pascoal wrote:
> > Hi Abbasi,
> >
> > Actually If you are working with openvswitch It has unlimited flow limit.
> >
> > If you are working with a hardware-based SDN switch you have to estimate
> the limite by getting its TCAM size (usually in MB) and check the size
> field of your installed flows. So that you can divide these numbers and
> have a ideia of how many flow rules your switch can support.
> >
> > By the way, are you working mainly about flow rule limitations? If so,
> please contact me by e-mail If you desire as it is part of my master thesis.
> >
> >
> > Best Regards,
> >
> >
> > Túlio Pascoal
> >
> > Em 15 de fev de 2017 10:01, "Moh'd Reza Abbasi"  > escreveu:
> >
> > Thank you Tulio andIwase, I appreciate your responses
> > Yes Tulio, you are right. I like to know about the total flow-table
> capacity, the maximum entries that can be inserted into the switch.
> >
> > I came to an understanding that openflow "ofp_switch_features"
> returns the number of tables (n_tables), and
> > "OFPMP_TABLE_FEATURES" returns the maximum entries that can be
> inserted into that particular table (max_entries). but how to know the
> total flow table capacity?
> >
> > Is *total_capacity = n_table * max_entries* correct?
> >
> >
> >
> >
> > 
> --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> >
> >
> >
> > ___
> > Ryu-devel mailing list
> > Ryu-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ryu-devel
> >
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] openflow table capacity

2017-02-16 Thread Iwase Yusuke
Hi,

Thanks Abbasi and Túlio!
I miss-understood that.


> Is *total_capacity = n_table * max_entries* correct?

I guess it is right.
but as Túlio said, it is highly depending on the implementation of your switch.

When I tested a hardware switch before, the throughput of that switch declined 
significantly
around the number of n_table * max_entries.


Thanks,
Iwase

On 2017年02月15日 22:40, Túlio Pascoal wrote:
> Hi Abbasi,
> 
> Actually If you are working with openvswitch It has unlimited flow limit.
> 
> If you are working with a hardware-based SDN switch you have to estimate the 
> limite by getting its TCAM size (usually in MB) and check the size field of 
> your installed flows. So that you can divide these numbers and have a ideia 
> of how many flow rules your switch can support.
> 
> By the way, are you working mainly about flow rule limitations? If so, please 
> contact me by e-mail If you desire as it is part of my master thesis.
> 
> 
> Best Regards,
> 
> 
> Túlio Pascoal
> 
> Em 15 de fev de 2017 10:01, "Moh'd Reza Abbasi"  > escreveu:
> 
> Thank you Tulio andIwase, I appreciate your responses
> Yes Tulio, you are right. I like to know about the total flow-table 
> capacity, the maximum entries that can be inserted into the switch.
> 
> I came to an understanding that openflow "ofp_switch_features" returns 
> the number of tables (n_tables), and
> "OFPMP_TABLE_FEATURES" returns the maximum entries that can be inserted 
> into that particular table (max_entries). but how to know the total flow 
> table capacity?
> 
> Is *total_capacity = n_table * max_entries* correct?
> 
> 
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> 
> 
> 
> ___
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] openflow table capacity

2017-02-15 Thread Túlio Pascoal
Hi Abbasi,

Actually If you are working with openvswitch It has unlimited flow limit.

If you are working with a hardware-based SDN switch you have to estimate
the limite by getting its TCAM size (usually in MB) and check the size
field of your installed flows. So that you can divide these numbers and
have a ideia of how many flow rules your switch can support.

By the way, are you working mainly about flow rule limitations? If so,
please contact me by e-mail If you desire as it is part of my master thesis.


Best Regards,


Túlio Pascoal

Em 15 de fev de 2017 10:01, "Moh'd Reza Abbasi" 
escreveu:

> Thank you Tulio and Iwase, I appreciate your responses
> Yes Tulio, you are right. I like to know about the total flow-table
> capacity, the maximum entries that can be inserted into the switch.
>
> I came to an understanding that openflow "ofp_switch_features" returns
> the number of tables (n_tables), and
> "OFPMP_TABLE_FEATURES" returns the maximum entries that can be inserted
> into that particular table (max_entries). but how to know the total flow
> table capacity?
>
> Is *total_capacity = n_table * max_entries* correct?
>
>
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] openflow table capacity

2017-02-15 Thread Moh'd Reza Abbasi
Thank you Tulio and Iwase, I appreciate your responses
Yes Tulio, you are right. I like to know about the total flow-table
capacity, the maximum entries that can be inserted into the switch.

I came to an understanding that openflow "ofp_switch_features" returns the
number of tables (n_tables), and
"OFPMP_TABLE_FEATURES" returns the maximum entries that can be inserted
into that particular table (max_entries). but how to know the total flow
table capacity?

Is *total_capacity = n_table * max_entries* correct?
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] openflow table capacity

2017-02-15 Thread Túlio Pascoal
Hello Iwase,

I think he meant maximum number of entries in a flow rule table instead of
maximum number of flow tables (256 - 0 to 255).

Best Regards,

Túlio Pascoal

Em 15 de fev de 2017 00:49, "Iwase Yusuke" 
escreveu:

> Hi,
>
> Please refer to "n_tables" field in OFPSwitchFeatures message.
>   https://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#
> ryu.ofproto.ofproto_v1_3_parser.OFPSwitchFeatures
>
> Thanks,
> Iwase
>
>
> On 2017年02月14日 21:56, Moh'd Reza Abbasi wrote:
> > Hello,
> > I would like to know how can I  get information regarding the  openflow
> table capacity such as maximum entries, no. of entries installed etc.
> >
> > The max_entries field mentioned here (https://ryu.readthedocs.io/
> en/latest/app/ofctl_rest.html#get-table-stats) is for one particular
> table in the switch or it is the total capacity
> >
> >
> > Thank you for your time.
> >
> >
> > 
> --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> >
> >
> >
> > ___
> > Ryu-devel mailing list
> > Ryu-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ryu-devel
> >
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


Re: [Ryu-devel] openflow table capacity

2017-02-14 Thread Iwase Yusuke
Hi,

Please refer to "n_tables" field in OFPSwitchFeatures message.
  
https://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPSwitchFeatures

Thanks,
Iwase


On 2017年02月14日 21:56, Moh'd Reza Abbasi wrote:
> Hello,
> I would like to know how can I  get information regarding the  openflow table 
> capacity such as maximum entries, no. of entries installed etc.
> 
> The max_entries field mentioned here 
> (https://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#get-table-stats) is 
> for one particular table in the switch or it is the total capacity
> 
> 
> Thank you for your time.
> 
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> 
> 
> 
> ___
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
> 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


[Ryu-devel] openflow table capacity

2017-02-14 Thread Moh'd Reza Abbasi
Hello,
I would like to know how can I  get information regarding the  openflow
table capacity such as maximum entries, no. of entries installed etc.

The max_entries field mentioned here (
https://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#get-table-stats)
is for one particular table in the switch or it is the total capacity


Thank you for your time.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot___
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel