Hi Yi-Shou, The NetFPGA OF implementation doesn't support queuing. Alternatively you can use the NetFPGA as a standard NIC and run the reference OF switch in userspace. tc and dpctl add-queue should work then.
Thanks, Yiannis On Wed, Mar 16, 2011 at 11:59 AM, Yi-Shou < [email protected]> wrote: > Hi Yiannis, > > Thank you for your help! > I don't have to use cbq, that's cause tc can not control bandwidth, so I > just try it. > Oh sorry, I didn't no describe clearly. I am using NetFPGA-based OF switch, > > and tc can not control the four ports belong to the NetFPGA. > > Thank you for your explain, now I understand more clearly. > So, if I want to use tc to control flow bandwidth, can it do the thing in > the NetFPGA-based OF switch? Or can it just modify the queue that created by > ./dpctl add-queue? > > Yi-Shou > > > 2011/3/17 Yiannis Yiakoumis <[email protected]> > >> Hi Yi-Shou, >> >> Why do you use cbq? What OpenFlow switch to you use? Is this NetFPGA-based >> OF switch or the reference implementation? >> >> Have you looked at the Slicing wikipage? ( >> http://www.openflow.org/wk/index.php/Slicing) >> It describes how to setup a test using 3 hosts, and 1 switch with the >> reference 1.0 implementation. >> >> there is dpctl add-queue commands that lets you add queues, and therefore >> you shouldn't run tc commands on your own. >> >> The only case where you have to run a "tc" command is in order to create >> an "artificial" bottleneck. This is also documented at the wikipage. >> >> Hope this helps, >> Yiannis >> >> >> On Wed, Mar 16, 2011 at 7:52 AM, Yi-Shou < >> [email protected]> wrote: >> >>> Hi, >>> >>> I have bandwidth control problem that detail is like the following: >>> >>> https://mailman.stanford.edu/pipermail/openflow-discuss/2011-March/001980.html >>> >>> I already trace many issues about bandwidth control, like the following: >>> "rate limit with tc" >>> https://mailman.stanford.edu/pipermail/openflow-discuss/2010-August/001314.html >>> "[openflow-discuss] Help! About bandwidth slicing" >>> https://mailman.stanford.edu/pipermail/openflow-discuss/2010-November/001480.html >>> etc... >>> But I can not solve the problem until now, So now I have a guess for the >>> problem, >>> does it no support bandwidth controll tools include tc, cbq or htb? >>> >>> But I still can not sure, because I find somebody was success in the >>> issue, like the following: >>> >>> https://mailman.stanford.edu/pipermail/openflow-discuss/2010-June/001088.html >>> >>> And the web page also teach how to control bandwidth by tc tool >>> http://www.openflow.org/wk/index.php/Slicing#Testing_without_FlowVisor >>> >>> So, can somebody can tell me how to solve this problem? >>> Any suggest will be helpful, thank you! >>> >>> Yi-Shou >>> >>> _______________________________________________ >>> openflow-discuss mailing list >>> [email protected] >>> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss >>> >>> >> >> >> -- >> Yiannis . >> > >
_______________________________________________ openflow-discuss mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
