Hello Prabhu, 

Thanks for your detailed reply.

I have understood your points and will try to work in that direction.

Can you just let me know how can I manage the buffer size using Linux tc 
utility, as I tried to understand Linux tc but was not able to figure out the 
way for managing the buffer size for each queue configured for each port of the 
switch.

I read somewhere that txqueuelen can be used for reducing the size of the queue 
for each port which is 1000 by default, but could not verify it.

I am able to shape the traffic as per the bandwidth requirements by using 
minimum and maximum rates using tc linux and htb, but I am not able to figure 
out the way for buffer size.

I appreciate your time and cooperation for my research.

Regards,
Ankur  

From: Prabhu
Sent: Sunday, November 19, 2017 12:03 PM
To: ANKUR SHETH; Ben Pfaff; ryu-devel@lists.sourceforge.net; 
ovs-disc...@openvswitch.org; la...@vger.kernel.org
Subject: Re: Regarding Buffer size

Hello Ankur,
Buffer Size management is out of scope for Openvswitch and RYU SDN Controller. 
I have been investigating on several approaches to use queue based solutions 
for one of the problem that I was looking to solve. 
>From my understanding, 
1. You should be use tc linux utility to define queue size (or) buffer size 
with limits such as no.of.packets it can buffer and associate it with the port
2. Openvswitch do not have direct control over the property that you are 
looking for (manipulating buffer properties which can be done using tc).
3. RYU SDN controller does not have API complex queue management

Also, you should be aware that OVS process packets in two modes fast path and 
slow path. You may have to decide where to place the buffer and depending on 
that you may have to either modify kernel or you can completely achieve you 
goal with performance tradeoff.


NOTE: The above given description is based on my understanding, please correct 
it in case of being wrong.





Thanks,
Prabhu

On 11/19/2017 01:38 AM, ANKUR SHETH wrote:
    
Hello all, 

I actually intend to control the buffer size for the ingress as well
as egress traffic from the  openvswitch.

I know that ovs internally uses linux tc utility to control the
traffic, but even after referring to tc command manual I am not able
to figure out how to manage the queue size of the buffers.

I am excited about working on queue management on ovs switches using
RYU SDN controller, but I am unable to find the correct direction even
after understanding linux tc.

Could you please suggest on how I can achieve it or guide me to some
documentation. Any help is appreciated.

Regards,
Ankur


------------------------------------------------------------------------------
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

Reply via email to